ChangeLog 42 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200
  1. 2008-07-06 Gert Driesen <[email protected]>
  2. * SqlException.cs: Modified HResult/ErrorCode to match MS. Removed
  3. unused FromTdsInternalException overload. Removed unnecessary check
  4. for Errors.Count. Minor code formatting.
  5. 2008-07-03 Rodrigo Kumpera <[email protected]>
  6. * SqlConnection.cs: Remove connStringParameters as nobody uses it.
  7. 2008-07-01 Rodrigo Kumpera <[email protected]>
  8. * SqlDataReader.cs: Do all column accesses with int indexes.
  9. 2008-07-01 Rodrigo Kumpera <[email protected]>
  10. * SqlDataReader.cs (GetSchemaTable): All column index are constants,
  11. extract them.
  12. 2008-07-01 Rodrigo Kumpera <[email protected]>
  13. * SqlDataReader.cs (GetSchemaTable): Calculate column indexes
  14. outside of the row loop.
  15. 2008-07-01 Marek Habersack <[email protected]>
  16. * SqlDataReader.cs: use named properties in TdsDataColumn for the
  17. 2.0 profile.
  18. 2008-06-30 Zoltan Varga <[email protected]>
  19. * SqlDataReader.cs: Allocate 'schemaTable' lazily.
  20. (GetSchemaValue): Avoid some hash table lookups
  21. 2008-06-27 Zoltan Varga <[email protected]>
  22. * SqlDataReader.cs (ConstructSchemaTable): Avoid unneccessary reflection calls.
  23. 2008-06-23 Veerapuram Varadhan <[email protected]>
  24. * SqlDependency.cs: New
  25. 2008-06-12 Veerapuram Varadhan <[email protected]>
  26. Patch by Christian Hergert <[email protected]>
  27. * SqlConnection.cs (Open): Do not reset the connection as it is already
  28. done in the TdsConnectionPool itself.
  29. 2008-06-12 Marek Habersack <[email protected]>
  30. * SqlParameterCollection.cs: this [int] must check the range and
  31. throw an exception if necessary.
  32. * SqlCommand.cs: throw IOEX when stored procedure is not found in
  33. DeriveParameters. All procedures in MS SQL will report at least
  34. one parameter - the return value.
  35. 2008-06-10 Veerapuram Varadhan <[email protected]>
  36. * SqlConnection.cs: TdsConnectionPool.GetConnectionPool() now returns
  37. IDictionary<TKey, TValue>.
  38. 2008-06-09 Ankit Jain <[email protected]>
  39. * SqlCommand.cs: Use Tds instead of ITds now.
  40. * SqlConnection.cs: Likewise.
  41. 2008-05-27 Gert Driesen <[email protected]>
  42. * SqlConnection.cs: Added support for '.' as alias for localhost.
  43. Improve exception message when TCP/IP protocol is not enabled.
  44. 2008-05-17 Gert Driesen <[email protected]>
  45. * SqlDataReader.cs (GetInt64): Removed workaround for TDS 7.0 handling
  46. of bigint column type as this is handled in Mono.Data.Tds.
  47. 2008-05-14 Marek Habersack <[email protected]>
  48. * SqlConnection.cs: added support for USER INSTANCE keyword in the
  49. connection string.
  50. 2008-04-22 Veerapuram Varadhan <[email protected]>
  51. ** Fixes Bug#381151
  52. * SqlCommand.cs: Handle exceptions sanely and do not close
  53. connection on TdsTimeoutException.
  54. 2008-04-21 Gert Driesen <[email protected]>
  55. * SqlBulkCopyColumnMappingCollection.cs: Changed argument names to
  56. match MS. Code formatting.
  57. * SqlCommand.cs: Changed argument names to match MS. Code formatting.
  58. Do not include explicit IDbCommand implementation on 2.0 profile.
  59. * SqlCommandBuilder.cs: Changed argument names to match MS. Code
  60. formatting.
  61. * SqlDataReader.cs: Changed argument names to match MS. Code
  62. formatting.
  63. * SqlParameterCollection.cs: Do not include IList, ICollection and
  64. IDataParameterCollection explicit interface implementation on 2.0
  65. profile. Code formatting.
  66. * SqlConnection.cs: Changed argument names to match MS.
  67. * SqlDataAdapter.cs: Changed argument names to match MS.
  68. * SqlTransaction.cs: Do not include explicit interface implementation
  69. of IDbTransaction.Connection on 2.0 profile. Code formatting.
  70. 2008-04-19 Robert Jordan <[email protected]>
  71. * SqlParameterCollection.cs (AddRange(SqlParameter[])):
  72. Fix endless recursion.
  73. 2008-04-08 Marek Habersack <[email protected]>
  74. * SqlConnection.cs: TCP port discovery via UDP port 1434 should
  75. honor the timeout specified in the connection string (or the
  76. default one). In some environments 100 microseconds might not be
  77. enough to discover the port.
  78. 2008-04-01 Marek Habersack <[email protected]>
  79. * SqlParameter.cs: ConvertToFrameworkType must handle empty
  80. strings gracefully - a DBNull.Value must be returned in this
  81. case.
  82. * SqlCommand.cs: DeriveParameters should split the stored
  83. procedure name into the schema name and procedure name before
  84. querying its parameters.
  85. 2008-03-03 Ankit Jain <[email protected]>
  86. * SqlClientMetaDataCollectionNames.cs: Set the field values.
  87. 2007-10-21 Gert Driesen <[email protected]>
  88. * SqlCommand.cs: Use ExceptionHelper.CheckEnumValue for enum checks.
  89. 2007-10-20 Gert Driesen <[email protected]>
  90. * SqlCommand.cs: Added constant for default CommandTimeout, instead
  91. of using a magic number. Avoid unnecessary initialization. Fixed
  92. default value for DesignTimeVisible. Return zero-length string if
  93. CommandText is null. Use ExceptionHelper.InvalidEnumValueException
  94. to avoid code duplication. Spaces to tabs and code formatting.
  95. * SqlConnection.cs: Use different default package size on 2.0 profile.
  96. Added constants for default values, instead of using magic numbers.
  97. Avoid unnecessary initialization. In PacketSize, return default or
  98. configured packet size when connection is not open. Use
  99. ExceptionHelper.ConnectionClosed instead of local method. Removed
  100. use of some hardcoded values in SetDefaultConnectionParameters, and
  101. use Environment.MachineName as default WorkstationId instead of
  102. DNS host name. Code formatting.
  103. * SqlDataAdapter.cs: In default ctor, set SelectCommand to null.
  104. Avoid unnecessary initializations. Use direct assignment in
  105. IDbDataAdapter implementation. Fixed exception message for negative
  106. UpdateBatchSize. In Dispose override, make sure to invoke base
  107. method.
  108. 2007-10-19 Gert Driesen <[email protected]>
  109. * SqlTransaction.cs: Clear connection in commit. In IsolationLevel,
  110. throw IOE if transaction is no longer open.
  111. 2007-10-19 Gert Driesen <[email protected]>
  112. * SqlTransaction.cs: Avoid unnecessary initialization. Remove
  113. isRolledBack since its essentially the same as isOpen. Use
  114. ExceptionHelper.TransactionNotUsable instead of duplicating code.
  115. On 2.0 profile, ignore call to Rollback when transaction was already
  116. disposed.
  117. 2007-10-18 Gert Driesen <[email protected]>
  118. * SqlConnection.cs: Avoid unnecessary initialization. Use string.Empty
  119. for assigning zero-length string, and use String.Length to check for
  120. zero-length string. Added support for IsolationLevel.Snapshot.
  121. Added StructuredTypeMembers schema collection and restrictions. Fixed
  122. table name for MetaDataCollections collection. Implemented
  123. DataSourceInformation collection. Added missing data types (probably
  124. introduced in 2.0 SP1). In GetSchema, throw InvalidOperationException
  125. if connection is closed and throw NotImplementedException for
  126. StructuredTypeMembers collection.
  127. 2007-10-18 Gert Driesen <[email protected]>
  128. * SqlConnection.cs: On 1.0 profile, IsolationLevel.Unspecified is
  129. not valid. On 2.0 profile, when IsolationLevel.Unspecified is passed
  130. make sure to also set SqlTransaction.IsolationLevel to
  131. ReadCommitted. Modified exceptions to match MS.
  132. 2007-10-17 Nagappan <[email protected]>
  133. * SqlParameter.cs (ConvertToFrameworkType): Added SqlDbType.Image.
  134. 2007-10-17 Nagappan <[email protected]>
  135. * SqlConnection.cs: BeginTransaction does not handle
  136. IsolationLevel.Unspecified, so the default is set as ReadCommited.
  137. Thanks to Jerome Haltom <[email protected]> for this patch. Fixes
  138. bug # 333082.
  139. * SqlTransaction.cs: If transaction count is greater then 0 then roll back.
  140. Thanks to Jerome Haltom <[email protected]> for this patch. Fixes
  141. bug # 331953.
  142. 2007-10-15 Gert Driesen <[email protected]>
  143. * SqlException.cs: Do not hide Message on 2.0 profile. Fixes bug
  144. #333901.
  145. 2007-10-08 Marek Safar <[email protected]>
  146. * SqlParameterCollection.cs (SetParameter): Fixed missing cast.
  147. 2007-09-27 Nagappan A <[email protected]>
  148. * SqlConnection.cs: Added MonoTODO appropriately.
  149. 2007-09-26 Nagappan A <[email protected]>
  150. * SqlCommandBuilder.cs: Code alignment.
  151. 2007-09-25 Nagappan A <[email protected]>
  152. * SqlInitialCatalogConverter.cs, SqlDataSourceConverter.cs:
  153. NetworkLibraryConverter.cs: Added new files.
  154. * SqlParameter.cs: 2.0 attribute changes.
  155. * SqlDataAdapter.cs: 2.0 attribute changes.
  156. * SqlConnectionStringBuilder.cs: 2.0 attribute changes.
  157. * SqlConnection.cs (ClearAllPools, ClearPool): Implemented 2.0
  158. APIs, other 2.0 attribute changes.
  159. * SqlCommandBuilder.cs (GetSchemaTable, InitializeCommand):
  160. Implemented 2.0 APIs, other 2.0 attribute changes.
  161. * SqlBulkCopyColumnMappingCollection.cs: Added constructor, 2.0
  162. API compatibility changes.
  163. * SqlException.cs: 2.0 attribute changes.
  164. 2007-08-13 Nagappan A <[email protected]>
  165. * SqlConnection.cs (ConnectionString): 2.0 compatibility changes.
  166. * SqlDataReader.cs (IsCommandBehavior): Fixed spelling mistake of
  167. the method name.
  168. (Dispose): 2.0 compatibility changes.
  169. * SqlBulkCopy.cs (SqlRowsCopied): Fixed spelling mistake of the
  170. event name.
  171. (RowsCopied): Generates event when NotifyAfter is set.
  172. * SqlCommandBuilder.cs (Dispose, RefreshSchema): 2.0 compatibility
  173. changes.
  174. * SqlClientFactory.cs (CreateDataSourceEnumerator): Removed bogus
  175. TODO.
  176. * SqlException.cs (Message): 2.0 compatibility changes.
  177. 2007-08-06 Nagappan A <[email protected]>
  178. * SqlCommand.cs, SqlDataReader.cs, SqlConnection.cs: When the
  179. server resets the connection, now the client code also disconnects
  180. the session and remove the instance from pool. Fixes bug # 81933.
  181. 2007-07-31 Nagappan A <[email protected]>
  182. * SqlCommand.cs (Transaction, Connection): IDbCommand Transaction
  183. and Connection can be set to null. Fixes bug 82189.
  184. 2007-07-23 Nagappan A <[email protected]>
  185. * SqlCommandBuilder.cs (ApplyParameterInfo, GetParameterName):
  186. (GetParameterPlaceholder): Implemented 2.0 missing APIs.
  187. 2007-07-22 Nagappan A <[email protected]>
  188. * SqlBulkCopy.cs (NotifyAfter): Implemented 2.0 property.
  189. (GetColumnMetaData, GenerateColumnMetaData):
  190. (ValidateColumnMapping): Implemented private method's to generate
  191. and validate SqlBulkCopy headers.
  192. (BulkCopyToServer): Private method to actually do the bulk copy
  193. processing.
  194. (WriteToServer): Implemented 2.0 missing overloaded methods.
  195. (IDisposable.Dispose): Implemented 2.0 missing method.
  196. * SqlBulkCopyColumnMappingCollection.cs (Add, CopyTo): Implemented
  197. missing API.
  198. (Item): Implemented missing property.
  199. * SqlBulkCopyColumnMapping.cs: Modified the implementation of
  200. Constructors to use property.
  201. * SqlDataReader.cs (GetSqlXml, IsCommandBehaviour): Added 2.0
  202. missing method.
  203. (Connection): Added missing property.
  204. * SqlParameter.cs (SetSqlDbType, ConvertToFrameworkType): Modified
  205. method as internal from private.
  206. * SqlConnection.cs: Fixed 2.0 missing feature.
  207. * SqlException.cs: Fixed 2.0 missing feature.
  208. * SqlClientPermission.cs: Fixed 2.0 missing feature.
  209. 2007-07-01 Gert Driesen <[email protected]>
  210. * ISqlNotificationReceiver.cs: Removed.
  211. * SqlClientFactory.cs: Use SqlDataSourceEnumerator from S.D.Sql and
  212. marked method todo. Avoid unnessary casts. Code formatting.
  213. * SqlCommand.cs: Explicit interface implementation of IDbCommand not
  214. necessary on 2.0 profile. Fixes API mismatches. Avoid unnecessary
  215. casts. Code formatting.
  216. * SqlConnection.cs: Also use RecommendAsConfigurable instead of
  217. SettingBindableAttribute on 2.0. Use StateChange event from base class
  218. on 2.0. Only explicitly implement IDbConnection methods on 1.0, since
  219. these are implemented by base class on 2.0 profile. Removed extra
  220. explicit implementation of IDisposable since the base class implements
  221. this. Code formatting.
  222. * SqlDataAdapter.cs: Dispose (bool) override not necessary on 2.0
  223. profile. Stubbed ICloneable.Clone. Fixes API mismatches.
  224. * SqlDataReader.cs: On 2.0, IDisposable.Dispose is implemented by
  225. DbDataReader. Only 1.0 profile, explicitly implemented IEnumerable
  226. GetEnumerator. Code formatting.
  227. * SqlDataSourceEnumerator.cs: Removed.
  228. * SQLDebugging.cs: Marked sealed on 2.0. Code formatting.
  229. * SqlNotificationAuthType.cs: Removed.
  230. * SqlNotificationInfo.cs: Added missing fields. Code formatting.
  231. * SqlNotificationSource.cs: Added missing fields. Code formatting.
  232. * SqlNotificationTransports.cs: Removed.
  233. * SqlNotificationType.cs: Added missing Unknown field. Code formatting.
  234. * SqlParameter.cs: Removed Browsable and EditorBrowsable attributes
  235. from Precision and Scale. Fixes API mismatches. Code formatting fixes.
  236. * SqlTransaction.cs: On 2.0 profile, Dispose method is exposed by
  237. base class. Fixes API mismatches. Code formatting fixes.
  238. 2007-06-21 Nagappan A <[email protected]>
  239. * SqlConnection.cs: Fixed compiler warning.
  240. 2007-06-11 Nagappan A <[email protected]>
  241. * SqlConnection.cs (ParseDataSource): Adds tcp support in
  242. connection string. Fixes bug # 80975.
  243. * SqlCommand.cs (Dispose): On disposing the command object, don't
  244. dispose connection and transaction.
  245. 2007-06-06 Nagappan A <[email protected]>
  246. * SqlCommand.cs, SqlConnectionStringBuilder.cs, SqlConnection.cs:
  247. Fixed 1.0 and 2.0 extras, errors as stated in class status page.
  248. * SqlDataAdapter.cs, SqlParameter.cs:Fixed 1.0 and 2.0 extras,
  249. errors as stated in class status page.
  250. * SqlBulkCopyColumnMappingCollection.cs: Fixed 1.0 and 2.0 extras,
  251. errors as stated in class status page.
  252. 2007-05-30 Nagappan A <[email protected]>
  253. * SqlParameter.cs (SqlParameter): Updated constructor to use the
  254. new TDS RPC implementation.
  255. Fixed missing attributes.
  256. (SetDbType): Added new case for sql_variant type.
  257. (ConvertToFrameworkType): Implemented new private method to
  258. convert the data type to framework type.
  259. * SqlParameterCollection.cs: Fixed missing attributes and
  260. implemented missing methods.
  261. * SqlConnection.cs: Fixed missing attributes.
  262. * SqlConnectionStringBuilder.cs: Certain attributes are missing or
  263. its value or they are not appropriate. Fixed them.
  264. * SqlDataReader.cs (GetData): Method is available only under 1.0
  265. profile.
  266. * SqlCommandBuilder.cs: Certain attributes are available only
  267. under 2.0 profile, so moved them inside ifdef.
  268. * SqlCommand.cs: Certain attributes are available only under 2.0
  269. profile, so moved them inside ifdef.
  270. * SqlBulkCopy.cs: Added new stubs.
  271. * SqlBulkCopyColumnMappingCollection.cs: Added new stubs.
  272. 2007-05-29 Nagappan A <[email protected]>
  273. * SqlCommand.cs (Dispose): Command.Dispose closing
  274. connection. Fixes bug # 81710. Thanks to AMC <[email protected]>
  275. for the fix.
  276. 2007-05-10 Nagappan A <[email protected]>
  277. * SqlClientMetaDataCollectionNames.cs: Fixed incorrect constructor
  278. type.
  279. * SqlConnectionStringBuilder.cs: Fixed missing attributes.
  280. 2007-05-09 Igor Zelmanovich <[email protected]>
  281. * SqlConnectionStringBuilder.cs: added MonoNotSupported attribute.
  282. 2007-04-03 Amit Biswas <[email protected]>
  283. * SqlDataReader.cs (GetSqlBytes, GetProviderSpecificFieldType)
  284. (GetProviderSpecificValue, GetProviderSpecificValues): Implemented
  285. missing API.
  286. * SqlParameter.cs (XmlSchemaCollectionDatabase): Implemented missing property
  287. (XmlSchemaCollectionName): Implemented missing property
  288. (XmlSchemaCollectionOwningSchema): Implemented missing property
  289. (SourceColumnNullMapping): Existing implementation was not correct, Replaced the implementation
  290. (.ctor): Implemented mising constructor new in .net 2.0
  291. * SqlErrorCollection.cs (CopyTo): Implemented missing API
  292. * SqlParameter.cs (InferSqlType): Corrected bug related to default values of
  293. SqlDbType and DbType
  294. (ResetSqlDbType): Implemented missing API
  295. (ResetDbType): Implemented missing API
  296. 2007-03-09 Amit Biswas <[email protected]>
  297. * SqlParameterCollection.cs (CopyTo): Implemented missing API
  298. 2007-04-02 Nagappan A <[email protected]>
  299. * SqlParameter.cs: Variable name fix.
  300. 2007-03-20 Nidhi Rawal <[email protected]>
  301. * SqlClientFactory.cs: Added two using directives.
  302. (CreateConnectionStringBuilder): Implemented the method.
  303. (CreatePermission): Implemented the property.
  304. * SqlCommand.cs: Added one using directive.
  305. (Clone): Implemented the method.
  306. (Dispose): Implemented the method.
  307. (BeginExecuteXmlReader): Implemented the method.
  308. * SqlCommandBuilder.cs (QuoteIdentifier): Implemented the method.
  309. (UnquoteIdentifier): Implemented the method.
  310. * SqlConnection.cs (ChangePassword): Implemented the method.
  311. 2007-03-19 Nidhi Rawal <[email protected]>
  312. * SqlClientFactory.cs (CanCreateDataSourceEnumerator): Implemented
  313. the property.
  314. * SqlCommand.cs (Notification): Implemented the property.
  315. (NotificationAutoEnlist): Implemented the property.
  316. * SqlDataReader.cs (VisibleFieldCount): Implemented the property.
  317. * SqlConnectionStringBuilder.cs (TrustServerCertificate): Implemented
  318. the property.
  319. (TypeSystemVersion): Implemented the property.
  320. (UserInstance): Implemented the property.
  321. (ContextConnection): Implemented the property.
  322. * SqlConnection.cs (FireInfoMessageEventOnUserErrors): Implemented
  323. the property.
  324. (StatisticsEnabled): Implemented the property.
  325. * SqlDataAdapter.cs (UpdateBatchSize): Implemented the property.
  326. * SqlParameter.cs: Implemented one attribute.
  327. 2007-03-16 Andreia Gaita <[email protected]>
  328. * SqlParameter.cs: Move isVariableSizeType flag to TdsMetaParameter
  329. so that the TdsMetaParameter can validate itself for valid size / values.
  330. * SqlCommand.cs (Execute): Call Validate on TdsMetaParameter.
  331. 2007-03-14 Nagappan A <[email protected]>
  332. * SqlCommand.cs (CommandType): Exception type thrown in 2.0
  333. profile is different than 1.0, ArgumentOutOfRangeException.
  334. (Connection): Exception type thrown in 2.0 profile is different
  335. than 1.0, ArgumentOutOfRangeException.
  336. (Execute): If Size property is 0 for String and Binary type, then
  337. throw InvalidOperationException.
  338. (ValidateCommand): Exception type thrown in 2.0 profile is
  339. different than 1.0, NullReferenceException.
  340. 2007-03-09 Nagappan A <[email protected]>
  341. * SqlDataReader.cs: Fixed syntax erros reported in class status
  342. page.
  343. 2007-03-09 Andreia Gaita <[email protected]>
  344. * SqlCommand.cs (ExecuteScalar): Fix returned value for
  345. stored procedure calls to return the first column of the
  346. first row produced by the proc.
  347. 2007-03-08 Nagappan A <[email protected]>
  348. * SqlCommand.cs (CloseDataReader): Checks whether the SQL
  349. connection is created or not.
  350. 2007-03-07 Andreia Gaita <[email protected]>
  351. * SqlCommand.cs (ExecuteScalar): when calling stored procedures,
  352. implement support for return of output values in the parameter
  353. collection.
  354. 2007-02-16 Nidhi Rawal <[email protected]>
  355. * SqlParameter.cs (CompareInfo): Implemented the property
  356. CompareInfo.
  357. (LocaleId): Written the property LocaleId.
  358. (SqlValue): Written the propert SqlValue.
  359. 2007-02-15 Nidhi Rawal <[email protected]>
  360. * SqlCommand.cs: Added some attributes which were not implemented
  361. for .NET 2.0 and removed extra attribute which are not there in
  362. .NET 2.0.
  363. * SqlCommandBuilder.cs: Added some attributes that were not
  364. implemented for .NET 2.0.
  365. * SqlParameterCollection.cs: Added some attributes that were
  366. not implemented for .NET 2.0.
  367. * SqlConnectionStringBuilder.cs: Added some attributes that
  368. were not implemented for .NET 2.0.
  369. * SqlConnection.cs: Added attribute that was not implemented
  370. for .NET 2.0.
  371. * SqlParameter.cs: Added some attributes which were not
  372. implemented for .NET 2.0 and removed some extra attributes which
  373. are not there in .NET 2.0
  374. 2007-02-09 Nagappan A <[email protected]>
  375. * SqlConnection.cs (SetConnectionString): Fixes bug # 80712. A
  376. small typo.
  377. 2007-01-08 Nagappan A <[email protected]>
  378. * SqlTransaction.cs (Dispose): Fixed compliation warning.
  379. * SqlDataReader.cs (GetValues): Length of elements to be copied was
  380. decided based on the argument array passed, which caused a bug, if
  381. the length of given array is more than actual column values.
  382. * SqlCommandBuilder.cs (CatalogSeparator, SchemaSeparator)
  383. (CatalogLocation): Implemented missing properties.
  384. (CreateDeleteCommand, CreateInsertCommand, CreateUpdateCommand):
  385. Modified private methods to take bool flag. If true, add actual
  386. parameter name instead of p1, p2 etc.
  387. (CreateParameter): Added overloaded private method to create
  388. parameter with the actual column name.
  389. (GetUpdateCommand, GetDeleteCommand, GetInsertCommand):
  390. Implemented missing overloaded methods.
  391. (SetRowUpdatingHandler): Implemented missing protected method.
  392. * SqlCommand.cs: Fixed compilation warning. Removed bogus
  393. MonoTODO's.
  394. 2006-12-05 Nagappan A <[email protected]>
  395. * SqlCommand.cs (Execute): If sql2 length is greater than 0, then
  396. add ';' and the respective sql2 string and then execute the
  397. string. Fixes bug # 79880.
  398. 2006-08-30 Nagappan A <[email protected]>
  399. * SqlConnection.cs: Implemented SqlConnection.GetSchema ().
  400. 2006-09-08 Konstantin Triger <[email protected]>
  401. * SqlClientFactory.cs: implemented SqlClientFactory.CreateConnection ().
  402. 2006-07-13 Senganal T <[email protected]>
  403. * SqlClientFactory.cs SqlCommand.cs SqlConnectionFactory.cs
  404. SqlClientPermission.cs SqlParameterCollection.cs SqlDataReader.cs
  405. SqlConnection.cs SqlParameter.cs SqlTransaction.cs :
  406. 2.0 Api fixes
  407. 2006-05-31 Gert Driesen <[email protected]>
  408. * SqlConnection.cs: Removed extra destructor, as destructor on
  409. System.ComponentModel.Component already calls Dispose.
  410. * SqlParameter.cs: Removed explicit interface implementation of
  411. IDataParameter.ParameterName.
  412. 2006-05-26 Senganal T <[email protected]>
  413. * SqlParameter.cs :
  414. - InferSqlType : if value is null or DBNull.Value, retain the
  415. current parameter type.
  416. 2006-04-18 Senganal T <[email protected]>
  417. * SqlConnection.cs :
  418. - SetConnectionString : set the pareameter to default values
  419. if connection string is empty or null
  420. - Open : Raise InvalidOperationException if Connection String
  421. is empty or null
  422. - Dispose : Test exception not raised if dispose called on a
  423. connection with empty connection string
  424. slight modification of the patch by Jonel Rienton
  425. 2006-04-07 Senganal T <[email protected]>
  426. * SqlCommandBuilder.cs :
  427. * CreateDeleteCommand ()
  428. * CreateUpdateCommand ()
  429. * CreateInsertCommand ()
  430. - Changed the signature. Do not need DataRow parameter
  431. as the Query generated is parametric.
  432. - Correct the null-check term in the WhereClause, set the
  433. correct properties for null-check parameter
  434. fixes #78027
  435. - Modified the generated query to match the query as
  436. generated by 2.0. We now ignore null-check in the
  437. whereclause if the Column does not allow nulls.
  438. * ctor () : Set QuotePrefix and QuoteSuffix for 2.0 profile
  439. * GetUpdateCommand ()
  440. * GetInsertCommand ()
  441. * GetDeleteCommand ()
  442. - Do not create new command everytime. Create only if
  443. not already created.
  444. * RefreshSchema : Reset the commands.
  445. 2006-02-17 Chris Toshok <[email protected]>
  446. * SqlCommand.cs, SqlCommandBuilder.cs, SqlConnection.cs,
  447. SqlDataAdapter.cs: remove DataSysDescription attributes for >= 2.0
  448. 2006-02-17 Chris Toshok <[email protected]>
  449. * SqlDataReader.cs: remove VisibleFieldCount property.
  450. 2006-02-10 Senganal T <[email protected]>
  451. * SqlDataReader.cs :
  452. - GetBytes : Read binary/blob/clob data sequentially when
  453. CommandBehavior is set to SequentialAcccess
  454. - GetChars : Read String/clob data sequentially when CommandBehavior
  455. is set to SequentialAccess
  456. * SqlCommand.cs :
  457. - ExecuteReader : set SequentialAccess property on TDS
  458. - CloseDataReader : Reset the command behavior
  459. 2006-01-27 Senganal T <[email protected]>
  460. * SqlCommandBuilder.cs :
  461. - Modified CreateUpdateCommand,CreateDeleteCommand , to not include
  462. column name in the query if its a expression col.
  463. Also, modified the queries to match the generated queries in ms.net
  464. * SqlCommand.cs :
  465. - Modifed Prepare, to check if Parameter is explicitly initialized
  466. * SqlParameter.cs :
  467. - Added CheckIfInitialized : Checks if datatype is explicitly set and
  468. non-zero size is set for variable datatypes.
  469. * SqlDataReader.cs :
  470. - Added code for GetSqlBinary ()
  471. - Fixed GetFieldCount ()
  472. - Added more checks and exceptions.
  473. 2006-01-17 Senganal T <[email protected]>
  474. * SqlCommandBuilder.cs
  475. - Modified CreateNewCommand () : Clean up any existing parameter list
  476. before reusing the command.Fixes #77225
  477. 2005-11-24 Senganal T <[email protected]>
  478. * SqlConnection.cs
  479. - Modifications to get the correct Packet Size
  480. 2005-11-21 Senganal T <[email protected]>
  481. * SqlClientFactory.cs
  482. * SqlCommandBuilder.cs
  483. * SqlParameterCollection.cs
  484. * SqlDataReader.cs
  485. * SqlDataAdapter.cs
  486. * SqlParameter.cs
  487. * SqlTransaction.cs
  488. Added stubs and other changes for ADO.NET 2.0 compatibility
  489. 2005-11-12 Gonzalo Paniagua Javier <[email protected]>
  490. * SqlConnection.cs: don't throw NotImplementedException when using
  491. 'PERSIST SECUTIRY INFO'. Just do nothing.
  492. 2005-10-27 Senganal T <[email protected]>
  493. * SqlCommand.cs
  494. * SqlDataReader.cs
  495. Made changes so that the number of rows affected can be got directly from
  496. Tds regardsless of the type of query.Fixes bug #75698
  497. 2005-10-19 Senganal T <[email protected]>
  498. * SqlConnection.cs (SetProperties) :
  499. - Added support for AttachDBFileName
  500. 2005-10-19 Senganal T <[email protected]>
  501. * SqlException.cs (Constructor)
  502. - Modified the constructor, so that the message parameter
  503. of base class is not the same as that of the Exception message.
  504. fixes bug #76468
  505. 2005-09-24 Sureshkumar T <[email protected]>
  506. * SqlParameterCollection.cs (AddWithValue): added method. patch
  507. from [email protected] (Andy Waddell).
  508. 2005-09-21 Senganal T <[email protected]>
  509. * SqlConnection.cs :
  510. - Set the correct Default Values for Parameters.
  511. - Added Argument Checks (where missing) for the Properties and
  512. throw the correct exception on error.
  513. - Modified SetDefaultParameters() to make sure that the parameters
  514. are all reset to default values everytime it is called.
  515. - Modified SetProperties() to take into account the order of the
  516. keywords in the ConnectionString.
  517. SqlConnection Fixes for the failing sqlserver connected-mode testcases
  518. in ProviderTest/System.Data.SqlClient/SqlConnectionTest.cs
  519. 2005-09-21 Senganal T <[email protected]>
  520. * SqlTransaction.cs : Modifed the Rollback() method, so that
  521. connection can be used for another transaction after the previous
  522. transaction is rolled back. fixes bug 75904
  523. 2005-09-02 Umadevi S <[email protected]>
  524. * Removed SqlResultSet.cs file
  525. 2005-08-26 Sureshkumar T <[email protected]>
  526. * SqlConnection.cs (Open): enable sp_reset_connection.
  527. 2005-08-25 Sureshkumar T <[email protected]>
  528. * SqlCommandBuilder.cs: BuildInformation (): continue on columns
  529. who don't have basetablename.
  530. 2005-08-12 Daniel Morgan <[email protected]>
  531. * SqlCommandBuilder.cs: update command builder based on
  532. OdbcCommandBuilder latest changes to fix regression
  533. of bug 75552
  534. 2005-08-05 Sureshkumar T <[email protected]>
  535. * SqlCommandBuilder.cs: Set SourceVersion property to the created
  536. parameters as it is used by the Adapter's Update method.
  537. 2005-07-22 Sureshkumar T <[email protected]>
  538. * SqlCommandBuilder.cs, SqlParameterCollection.cs,
  539. SqlConnection.cs, SqlParameter.cs:
  540. - updated attributes & attribute descriptions to match with
  541. masterinfos.
  542. 2005-07-16 Daniel Morgan <[email protected]>
  543. * SqlCommandBuilder.cs: CreateUpdateCommand should get the current value, not
  544. the orginal value when setting one of the SET variables
  545. 2005-07-15 Sureshkumar T <[email protected]>
  546. * SqlCommandBuilder.cs:
  547. - set_DataAdapter: unsubscribe event if DataAdapter is reset.
  548. - CreateInsertCommand, CreateUpdateCommand, CreateDeleteCommand:
  549. if column mapping is missing, use the source column name. use
  550. proper version to get the data.
  551. - RowUpdatingHandler: set status to continue to actually process
  552. the query.
  553. 2005-07-04 Ben Maurer <[email protected]>
  554. * SqlError.cs: Patch from [email protected] to fix serialization.
  555. 2005-06-29 Sureshkumar T <[email protected]>
  556. * SqlConnection.cs: Open (): catch TdsInternalException and throw
  557. SqlException.
  558. * SqlException.cs: code re-organised to pass message as well with
  559. the exception.
  560. 2005-06-23 Sureshkumar T <[email protected]>
  561. * SqlConnectionStringBuilder.cs: simplified multiple keyword
  562. mappings and allowed-key checking. fixed Item, Remove,
  563. ContainsKey, ShoudSerialize, TryGetValue implementations.
  564. 2005-06-21 Sureshkumar T <[email protected]>
  565. * SqlConnectionStringBuilder.cs: Connection String Builder class
  566. for SqlClient Data Provider.
  567. 2005-06-01 Gonzalo Paniagua Javier <[email protected]>
  568. * SqlParameter.cs: moved the 'using S.D.SqlTypes' out of NET_2_0. Fixes
  569. the build.
  570. 2005-06-01 Sureshkumar T <[email protected]>
  571. * SqlParameter.cs: Parameter's value can be SqlTypes. Convert to
  572. framework type to pass to TDS layer. Fixes bug #75044.
  573. 2005-05-24 Umadevi S <[email protected]>
  574. * fixed some 2.0 and 1.0 specific fields/attributes for various classes.
  575. * Added SqlClientMetaDataCollectionNames.cs, Implemented some 2.0
  576. properties for SqlParameterCollection for the bulkcopy feature.
  577. 2005-05-20 Kornél Pál <http://www.kornelpal.hu/>
  578. * Fixed Bug #53169 - SqlDataReader incorrectly returns bigint as decimal
  579. Note: The fix works around the limitations of TDS 7.0 to avoid this
  580. difference between Mono and .NET Framework TDS 8.0 should be used instead.
  581. 2005-05-20 Umadevi S <[email protected]>
  582. * Fixed Bug 74948 - SqlParameter also takes DBNull Value.
  583. Correct some attributes stuff of 1.1 and 2.0 for SqlParameter.cs
  584. 2005-05-20 Umadevi S <[email protected]>
  585. * Continuing on implementation for bulkcopy and notification
  586. Added files SqlNotificationEventArgs.cs, OnChangeEventHandler.cs
  587. Modified SqlRowUpdatingEventArgs.cs
  588. 2005-05-19 Umadevi S <[email protected]>
  589. * For implementation of bulkcopy and notifications added files
  590. SqlBulkCopyOptions.cs,SqlBulkCopyColumnMapping.cs,SqlNotificationAuthType.cs
  591. SqlNotificationTransports.cs,SqlRowsCopiedEventArgs.cs, SqlRowsCopiedEventHandler.cs
  592. 2005-05-19 Umadevi S <[email protected]>
  593. * Corrected types,enum values of SqlNotificationType,SqlNotificationSource,
  594. SqlNotificationInfo and added new method in SqlRowUpdatingEventArgs.cs
  595. (For implementation of bulkcopy/notifications)
  596. 2005-04-19 Sureshkumar T <[email protected]>
  597. * SqlDataReader.cs: NextResult (): Re-create schema table for each
  598. result set. don't re-use, as it may be referenced from somewhere.
  599. 2005-04-07 Sureshkumar T <[email protected]>
  600. Ankit Jain <[email protected]>
  601. * SqlConnection.cs: Implemented additional connection string
  602. property "Asynchronous Processing".
  603. * SqlCommand.cs: Implemented Asynchronous command execution API.
  604. * SqlAsyncState.cs: A internal state object for asynchronous
  605. operations.
  606. * SqlAsyncResult.cs: Added. Class to hold result for asynchronous
  607. queries.
  608. 2005-03-28 Sureshkumar T <[email protected]>
  609. * SqlCommand.cs: Execute: Add a semicolon at the end of
  610. CommandText. Multiple semicolon's are not being complained.
  611. fixes bug #74134.
  612. 2005-03-11 Gonzalo Paniagua Javier <[email protected]>
  613. * SqlConnection.cs: added a finalizer for correct implementation of the
  614. IDisposable pattern.
  615. 2005-03-11 Gonzalo Paniagua Javier <[email protected]>
  616. * SqlException.cs: make it serialization-compatible with MS. Patch by
  617. Aleksandar Dezelin. Closes bug #73596.
  618. 2005-03-08 Sureshkumar T <[email protected]>
  619. * SqlDataReader.cs: Call base constructor with CommandBehavior
  620. parameter instead of passing DbCommand object. The internal base
  621. class with DbCommand Parameter is removed.
  622. 2005-03-07 Sureshkumar T <[email protected]>
  623. * SqlCommand.cs : Set CommandBehavior on
  624. ExecuteReader,ExecuteScalar,ExecuteNonQuery. This is used in
  625. CloseDataReader.
  626. This fixes bug #73252.
  627. 2005-03-03 Sureshkumar T <[email protected]>
  628. * SqlClientFactory.cs: While creating command, create using
  629. DbConnectionFactory as DbConnectionBase.CreateDbCommand needs to
  630. have a connection factory.
  631. * SqlConnection.cs: Added an internal constructor which takes
  632. DbConnectionFactory.
  633. * SqlConnectionFactory.cs: Added. Concrete class for abstract
  634. factory DbConnectionFactory.
  635. 2005-02-22 Sureshkumar T <[email protected]>
  636. * SqlDataReader.cs: GetBytes: return the length of the data if
  637. output buffer is null. if not, copy the values to buffer and
  638. return the bytes actually read.
  639. 2005-02-02 Sureshkumar T <[email protected]>
  640. * SqlConnection.cs:
  641. - Database: return db name from database if connection open,
  642. otherwise take from connection string.
  643. - Set default values for parameters in the constructor itself.
  644. - Dangling else problem with Close method.
  645. - reset values of parms (TdsConnectionParameters) rather setting
  646. to null.
  647. - set disposed to false in Open method
  648. - finally call base.Dispose in Dispose (bool)
  649. Fixes nunit regressions SqlConnectionTest:DefaultConnectionValues
  650. and SqlConnectionTest:DatabaseSynonyms.
  651. 2005-01-27 Sureshkumar T <[email protected]>
  652. * SqlCommand.cs (DeriveParameters): Change parameter name to
  653. "procedure_name".
  654. * SqlParameter.cs (SqlParameter (object [])) : call default
  655. constructor to create Tds.Metaparameter.
  656. fixes bug #63122.
  657. 2005-01-03 Sureshkumar T <[email protected]>
  658. * SqlCommand.cs: Fixed bug #68973. Reset Tds.RecordsAffected to 0
  659. for each execute statement.
  660. 2004-11-25 Sureshkumar T <[email protected]>
  661. These changes are for 2.0 profile only. These changes implement
  662. the generic data base access technique using Provider Factory
  663. Implementation. These classes need to be dervided from abstract
  664. base classes so that the corresponding factory classes are
  665. created when calling CreateCommand, CreateParameter, etc.
  666. * SqlClientFactory.cs: Provider Factory class Implementaion for SqlServer
  667. * SqlParameter.cs: Change base classes and override methods.
  668. * SqlParameterCollection.cs: Change base classes and override methods.
  669. * SqlTransaction.cs: Change base classes and override methods.
  670. * SqlDataSourceEnumerator.cs: DataSource Enumerator stubs.
  671. * SqlDataReader.cs: Change base classes and override methods.
  672. * SqlConnection.cs: Change base classes and override methods.
  673. * SqlCommandBuilder.cs: Change base classes and override methods.
  674. * SqlCommand.cs: Change base classes and override necessary methods.
  675. 2004-10-14 Umadevi S <[email protected]>
  676. * SqlCommand.cs - Implemented the clone method correctly.
  677. (fixed bug 67301)
  678. 2004-10-06 Umadevi S <[email protected]>
  679. * ISqlNoticationReceiver.cs - changed namespace
  680. * Added files SqlNotificationType.cs, SqlNotificationInfo.cs, SqlNotificationSource.cs
  681. 2004-09-24 Umadevi S <[email protected]>
  682. * SqlTransaction.cs - Dispose will not call rollback incase the transaction is not open.
  683. 2004-09-14 Sebastien Pouliot <[email protected]>
  684. * SqlClientPermission.cs: Added internal constructor accepting an Sql
  685. ClientPermissionAttribute parameter (using base class protected ctor).
  686. * SqlClientPermissionAttribute.cs: Copy now use the new SqlClient
  687. Permission constructor.
  688. 2004-09-13 Sebastien Pouliot <[email protected]>
  689. * SqlClientPermission.cs: Mostly completed (needs tests).
  690. * SqlClientPermissionAttribute.cs: Completed.
  691. 2004-09-02 Umadevi S <[email protected]>
  692. * SqlCommand.cs - ExecuteNonQuery to return -1 incase of executing a storedprocedure
  693. 2004-08-16 Gert Driesen <[email protected]>
  694. * SqlConnection.cs: added TODO on ConnectionString for keywords
  695. that are not yet implemented. check value of Integrated Security
  696. keyword, check value of bool keywords, improve error reporting
  697. for int keywords, added support for the following keyword
  698. synonyms : APP, TIMEOUT, NETWORK, PERSISTSECURITYINFO, WSID,
  699. LANGUAGE, USER. Throw NotImplementedException when encrypt keyword
  700. is set to true, enlist keyword is set to false or attachdbfilename
  701. keyword (or one of its synonyms) is set. Added FIXME for PERSIST
  702. SECURITY INFO keyword, throwing a NotImplementedException here
  703. would break lots of apps
  704. 2004-08-16 Gert Driesen <[email protected]>
  705. * SqlConnection.cs - spaces to tabs
  706. 2004-08-12 Sureshkumar T <[email protected]>
  707. * SqlDataReader.cs - In Close method, the remaining resultsets are drained
  708. out, to read output parameters & to avoid stream overlap
  709. 2004-06-30 Umadevi S <[email protected]>
  710. * SqlCommand.cs : In the Execute Method the commandbehavior parameters were ignored correct
  711. these
  712. 2004-06-22 Atsushi Enomoto <[email protected]>
  713. * SqlCommandBuilder.cs : Avoid cast exception caused by DbNull.
  714. 2004-06-18 Umadevi S <[email protected]>
  715. * SqlCommand.cs - ExecuteNonQuery returns -1 in all cases except
  716. insert,update or delete.
  717. 2004-06-18 Umadevi S <[email protected]>
  718. * SqlConnection.cs - handled null being passed as a connectionstring
  719. - checked for minimal set of parameters in connectionstring.
  720. - handled unrecogonized keywords similar to MS.NET
  721. 2004-06-17 Umadevi S <[email protected]>
  722. * SqlTransaction.cs - fixed multiple rollbacks being called causes invalidoperationexception
  723. 2004-06-04 Gert Driesen <[email protected]>
  724. * SqlClientPermission.cs: removed extra CreateInstance
  725. method
  726. 2004-06-02 Gert Driesen <[email protected]>
  727. * SQLDebugging.cs: added missing attributes, marked ctor
  728. public to match MS.NET
  729. 2004-05-22 Atsushi Enomoto <[email protected]>
  730. * SqlClientPermission.cs : don't use chained obsolete .ctor.
  731. 2004-05-20 Gert Driesen ([email protected])
  732. * SqlClientPermissionAttribute.cs: change AllowMultiple and
  733. Inherited to match .NET
  734. 2004-05-20 Umadevi S <[email protected]>
  735. * Fixed bug 58406- implemented the hasrow method, test program used
  736. to test with the bug report
  737. 2004-05-13 Umadevi S <[email protected]>
  738. * SqlClientPermission.cs, SqlDataReader.cs - added missing methods with TODO tags
  739. * SqlCommand.cs, SqlDataAdapter.cs - implemented ToolboxItemAttribute
  740. * SQLDebugging.cs - Added new file with a TODO tag
  741. 2004-04-05 Lluis Sanchez Gual <[email protected]>
  742. * SqlConnection.cs: Use connection pool implemented in Mono.Data.Tds.
  743. 2004-04-01 Lluis Sanchez Gual <[email protected]>
  744. * SqlDataReader.cs: Null values are now represented with DBNull instances.
  745. Deal with this.
  746. 2004-03-14 Tim Coleman <[email protected]>
  747. * SqlCommand.cs SqlConnection.cs:
  748. Changes from two patches by Andres Taylor
  749. <[email protected]>
  750. 2004-03-12 Andreas Nahr <[email protected]>
  751. * SqlParameter.cs: DO NOT USE the consts scheme if types can be referenced directly!
  752. 2004-01-10 Atsushi Enomoto <[email protected]>
  753. * SqlClientPermission.cs : Fixed NET_2_0 build related to
  754. obsolete attribute problem (see DbDataPermission.cs)
  755. 2003-12-28 Tim Coleman <[email protected]>
  756. * SqlResultSet.cs:
  757. Stubbed out this class.
  758. 2003-12-23 Tim Coleman <[email protected]>
  759. * SqlConnection.cs:
  760. Improved connection string parsing. See
  761. System.Data.Common.DbConnectionString for source.
  762. 2003-12-21 Tim Coleman <[email protected]>
  763. * SqlConnection.cs:
  764. Enable Integrated Security
  765. 2003-12-19 Tim Coleman <[email protected]>
  766. * ISqlNotificationReceiver.cs SqlResultSet.cs:
  767. New stubs added
  768. * SqlClientPermission.cs:
  769. Fix constructor for 1.2
  770. 2003-12-04 John Luke <[email protected]>
  771. * SqlXmlTextReader.cs: applied patch from Chris Masters <[email protected]>
  772. fix peek so it checks if it is at the end and also to make sure that if Read()
  773. advances the position past the end of the localBuffer array, it makes
  774. a call to GetNextBuffer(). fixes bug #40253 System.IndexOutOfRangeException when
  775. using SqlCommand.ExecuteXmlReader()
  776. 2003-11-20 Joerg Rosenkranz <[email protected]>
  777. * SqlConnection (SetDefaultConnectionParameters):
  778. Changed default value of WORKSTATION ID to reflect real
  779. host name instead of "localhost".
  780. 2003-11-16 Ben Maurer <[email protected]>
  781. * SqlParameterCollection.cs (Clear): Clear needs to take
  782. the parameter out of the collection so that it can be used
  783. again.
  784. (Remove):
  785. (RemoveAt): Ditto.
  786. 2003-10-03 Diego Caravana <[email protected]>
  787. * SqlCommand.cs: no change.
  788. * SqlConnection.cs (Close): Added checks for null instance
  789. variables.
  790. * SqlParameter.cs (Direction): Now handles parameters of type
  791. ReturnValue and InputOutput.
  792. * SqlParameterCollection.cs (IndexOf(string)): Search for
  793. SqlParameter object in list is done by obtaining ParameterName
  794. attribute, not directly through list.IndexOf().
  795. 2003-08-22 Duncan Mak <[email protected]>
  796. * SqlCommand.cs (ExecuteNonQuery): Return
  797. Connection.Tds.RecordsAffected if it is successful. Patch from
  798. Jörg Rosenkranz <[email protected]>.
  799. This is part of a fix to bug #40315.
  800. 2003-08-20 Duncan Mak <[email protected]>
  801. * SqlConnectionPool.cs (ReleaseConnection): A patch from Joerg
  802. Rosenkranz <[email protected]>. Currently, if a connection is
  803. closed by an external event (network problem, etc.) it is pushed
  804. back into the connection pool. The next Open call retrieves this
  805. invalid connection which leads to exceptions when executing
  806. statements.
  807. This patch fixes this problem. This closes bug #47429.
  808. 2003-07-04 Miguel de Icaza <[email protected]>
  809. * SqlDataReader.cs: Added extra information to the exceptions
  810. thrown by all the GetXXXX methods.
  811. 2003-03-15 Daniel Morgan <[email protected]>
  812. * SqlConnection.cs: if Server in the ConnectionString
  813. is set to "(local", use "localhost" as the hostname
  814. to connect
  815. 2003-03-04 Gonzalo Paniagua Javier <[email protected]>
  816. * SqlException.cs: implemented GetObjectData ().
  817. 2003-02-16 Daniel Morgan <[email protected]>
  818. * ChangeLog: added this file
  819. * SqlConnection.cs: - parse data source for 3 possible uses:
  820. "Server=hostname",
  821. "Server=hostname\\instancename",
  822. "Server=hostname,port" and open the connection based on the
  823. resulting server name and port.
  824. - Added support for named instances
  825. by discovery of the sql server tcp port via the sql monitor (udp port 1434)
  826. thanks to Phillip Jerkins ([email protected]) contribution.
  827. Also, thanks to Gonzalo and Tim for their help with timeouts.