ChangeLog 27 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807
  1. 2007-05-29 Nagappan A <[email protected]>
  2. * SqlCommand.cs (Dispose): Command.Dispose closing
  3. connection. Fixes bug # 81710. Thanks to AMC <[email protected]>
  4. for the fix.
  5. 2007-05-10 Nagappan A <[email protected]>
  6. * SqlClientMetaDataCollectionNames.cs: Fixed incorrect constructor
  7. type.
  8. * SqlConnectionStringBuilder.cs: Fixed missing attributes.
  9. 2007-05-09 Igor Zelmanovich <[email protected]>
  10. * SqlConnectionStringBuilder.cs: added MonoNotSupported attribute.
  11. 2007-04-03 Amit Biswas <[email protected]>
  12. * SqlDataReader.cs (GetSqlBytes, GetProviderSpecificFieldType)
  13. (GetProviderSpecificValue, GetProviderSpecificValues): Implemented
  14. missing API.
  15. * SqlParameter.cs (XmlSchemaCollectionDatabase): Implemented missing property
  16. (XmlSchemaCollectionName): Implemented missing property
  17. (XmlSchemaCollectionOwningSchema): Implemented missing property
  18. (SourceColumnNullMapping): Existing implementation was not correct, Replaced the implementation
  19. (.ctor): Implemented mising constructor new in .net 2.0
  20. * SqlErrorCollection.cs (CopyTo): Implemented missing API
  21. * SqlParameter.cs (InferSqlType): Corrected bug related to default values of
  22. SqlDbType and DbType
  23. (ResetSqlDbType): Implemented missing API
  24. (ResetDbType): Implemented missing API
  25. 2007-03-09 Amit Biswas <[email protected]>
  26. * SqlParameterCollection.cs (CopyTo): Implemented missing API
  27. 2007-04-02 Nagappan A <[email protected]>
  28. * SqlParameter.cs: Variable name fix.
  29. 2007-03-20 Nidhi Rawal <[email protected]>
  30. * SqlClientFactory.cs: Added two using directives.
  31. (CreateConnectionStringBuilder): Implemented the method.
  32. (CreatePermission): Implemented the property.
  33. * SqlCommand.cs: Added one using directive.
  34. (Clone): Implemented the method.
  35. (Dispose): Implemented the method.
  36. (BeginExecuteXmlReader): Implemented the method.
  37. * SqlCommandBuilder.cs (QuoteIdentifier): Implemented the method.
  38. (UnquoteIdentifier): Implemented the method.
  39. * SqlConnection.cs (ChangePassword): Implemented the method.
  40. 2007-03-19 Nidhi Rawal <[email protected]>
  41. * SqlClientFactory.cs (CanCreateDataSourceEnumerator): Implemented
  42. the property.
  43. * SqlCommand.cs (Notification): Implemented the property.
  44. (NotificationAutoEnlist): Implemented the property.
  45. * SqlDataReader.cs (VisibleFieldCount): Implemented the property.
  46. * SqlConnectionStringBuilder.cs (TrustServerCertificate): Implemented
  47. the property.
  48. (TypeSystemVersion): Implemented the property.
  49. (UserInstance): Implemented the property.
  50. (ContextConnection): Implemented the property.
  51. * SqlConnection.cs (FireInfoMessageEventOnUserErrors): Implemented
  52. the property.
  53. (StatisticsEnabled): Implemented the property.
  54. * SqlDataAdapter.cs (UpdateBatchSize): Implemented the property.
  55. * SqlParameter.cs: Implemented one attribute.
  56. 2007-03-16 Andreia Gaita <[email protected]>
  57. * SqlParameter.cs: Move isVariableSizeType flag to TdsMetaParameter
  58. so that the TdsMetaParameter can validate itself for valid size / values.
  59. * SqlCommand.cs (Execute): Call Validate on TdsMetaParameter.
  60. 2007-03-14 Nagappan A <[email protected]>
  61. * SqlCommand.cs (CommandType): Exception type thrown in 2.0
  62. profile is different than 1.0, ArgumentOutOfRangeException.
  63. (Connection): Exception type thrown in 2.0 profile is different
  64. than 1.0, ArgumentOutOfRangeException.
  65. (Execute): If Size property is 0 for String and Binary type, then
  66. throw InvalidOperationException.
  67. (ValidateCommand): Exception type thrown in 2.0 profile is
  68. different than 1.0, NullReferenceException.
  69. 2007-03-09 Nagappan A <[email protected]>
  70. * SqlDataReader.cs: Fixed syntax erros reported in class status
  71. page.
  72. 2007-03-09 Andreia Gaita <[email protected]>
  73. * SqlCommand.cs (ExecuteScalar): Fix returned value for
  74. stored procedure calls to return the first column of the
  75. first row produced by the proc.
  76. 2007-03-08 Nagappan A <[email protected]>
  77. * SqlCommand.cs (CloseDataReader): Checks whether the SQL
  78. connection is created or not.
  79. 2007-03-07 Andreia Gaita <[email protected]>
  80. * SqlCommand.cs (ExecuteScalar): when calling stored procedures,
  81. implement support for return of output values in the parameter
  82. collection.
  83. 2007-02-16 Nidhi Rawal <[email protected]>
  84. * SqlParameter.cs (CompareInfo): Implemented the property
  85. CompareInfo.
  86. (LocaleId): Written the property LocaleId.
  87. (SqlValue): Written the propert SqlValue.
  88. 2007-02-15 Nidhi Rawal <[email protected]>
  89. * SqlCommand.cs: Added some attributes which were not implemented
  90. for .NET 2.0 and removed extra attribute which are not there in
  91. .NET 2.0.
  92. * SqlCommandBuilder.cs: Added some attributes that were not
  93. implemented for .NET 2.0.
  94. * SqlParameterCollection.cs: Added some attributes that were
  95. not implemented for .NET 2.0.
  96. * SqlConnectionStringBuilder.cs: Added some attributes that
  97. were not implemented for .NET 2.0.
  98. * SqlConnection.cs: Added attribute that was not implemented
  99. for .NET 2.0.
  100. * SqlParameter.cs: Added some attributes which were not
  101. implemented for .NET 2.0 and removed some extra attributes which
  102. are not there in .NET 2.0
  103. 2007-02-09 Nagappan A <[email protected]>
  104. * SqlConnection.cs (SetConnectionString): Fixes bug # 80712. A
  105. small typo.
  106. 2007-01-08 Nagappan A <[email protected]>
  107. * SqlTransaction.cs (Dispose): Fixed compliation warning.
  108. * SqlDataReader.cs (GetValues): Length of elements to be copied was
  109. decided based on the argument array passed, which caused a bug, if
  110. the length of given array is more than actual column values.
  111. * SqlCommandBuilder.cs (CatalogSeparator, SchemaSeparator)
  112. (CatalogLocation): Implemented missing properties.
  113. (CreateDeleteCommand, CreateInsertCommand, CreateUpdateCommand):
  114. Modified private methods to take bool flag. If true, add actual
  115. parameter name instead of p1, p2 etc.
  116. (CreateParameter): Added overloaded private method to create
  117. parameter with the actual column name.
  118. (GetUpdateCommand, GetDeleteCommand, GetInsertCommand):
  119. Implemented missing overloaded methods.
  120. (SetRowUpdatingHandler): Implemented missing protected method.
  121. * SqlCommand.cs: Fixed compilation warning. Removed bogus
  122. MonoTODO's.
  123. 2006-12-05 Nagappan A <[email protected]>
  124. * SqlCommand.cs (Execute): If sql2 length is greater than 0, then
  125. add ';' and the respective sql2 string and then execute the
  126. string. Fixes bug # 79880.
  127. 2006-08-30 Nagappan A <[email protected]>
  128. * SqlConnection.cs: Implemented SqlConnection.GetSchema ().
  129. 2006-09-08 Konstantin Triger <[email protected]>
  130. * SqlClientFactory.cs: implemented SqlClientFactory.CreateConnection ().
  131. 2006-07-13 Senganal T <[email protected]>
  132. * SqlClientFactory.cs SqlCommand.cs SqlConnectionFactory.cs
  133. SqlClientPermission.cs SqlParameterCollection.cs SqlDataReader.cs
  134. SqlConnection.cs SqlParameter.cs SqlTransaction.cs :
  135. 2.0 Api fixes
  136. 2006-05-31 Gert Driesen <[email protected]>
  137. * SqlConnection.cs: Removed extra destructor, as destructor on
  138. System.ComponentModel.Component already calls Dispose.
  139. * SqlParameter.cs: Removed explicit interface implementation of
  140. IDataParameter.ParameterName.
  141. 2006-05-26 Senganal T <[email protected]>
  142. * SqlParameter.cs :
  143. - InferSqlType : if value is null or DBNull.Value, retain the
  144. current parameter type.
  145. 2006-04-18 Senganal T <[email protected]>
  146. * SqlConnection.cs :
  147. - SetConnectionString : set the pareameter to default values
  148. if connection string is empty or null
  149. - Open : Raise InvalidOperationException if Connection String
  150. is empty or null
  151. - Dispose : Test exception not raised if dispose called on a
  152. connection with empty connection string
  153. slight modification of the patch by Jonel Rienton
  154. 2006-04-07 Senganal T <[email protected]>
  155. * SqlCommandBuilder.cs :
  156. * CreateDeleteCommand ()
  157. * CreateUpdateCommand ()
  158. * CreateInsertCommand ()
  159. - Changed the signature. Do not need DataRow parameter
  160. as the Query generated is parametric.
  161. - Correct the null-check term in the WhereClause, set the
  162. correct properties for null-check parameter
  163. fixes #78027
  164. - Modified the generated query to match the query as
  165. generated by 2.0. We now ignore null-check in the
  166. whereclause if the Column does not allow nulls.
  167. * ctor () : Set QuotePrefix and QuoteSuffix for 2.0 profile
  168. * GetUpdateCommand ()
  169. * GetInsertCommand ()
  170. * GetDeleteCommand ()
  171. - Do not create new command everytime. Create only if
  172. not already created.
  173. * RefreshSchema : Reset the commands.
  174. 2006-02-17 Chris Toshok <[email protected]>
  175. * SqlCommand.cs, SqlCommandBuilder.cs, SqlConnection.cs,
  176. SqlDataAdapter.cs: remove DataSysDescription attributes for >= 2.0
  177. 2006-02-17 Chris Toshok <[email protected]>
  178. * SqlDataReader.cs: remove VisibleFieldCount property.
  179. 2006-02-10 Senganal T <[email protected]>
  180. * SqlDataReader.cs :
  181. - GetBytes : Read binary/blob/clob data sequentially when
  182. CommandBehavior is set to SequentialAcccess
  183. - GetChars : Read String/clob data sequentially when CommandBehavior
  184. is set to SequentialAccess
  185. * SqlCommand.cs :
  186. - ExecuteReader : set SequentialAccess property on TDS
  187. - CloseDataReader : Reset the command behavior
  188. 2006-01-27 Senganal T <[email protected]>
  189. * SqlCommandBuilder.cs :
  190. - Modified CreateUpdateCommand,CreateDeleteCommand , to not include
  191. column name in the query if its a expression col.
  192. Also, modified the queries to match the generated queries in ms.net
  193. * SqlCommand.cs :
  194. - Modifed Prepare, to check if Parameter is explicitly initialized
  195. * SqlParameter.cs :
  196. - Added CheckIfInitialized : Checks if datatype is explicitly set and
  197. non-zero size is set for variable datatypes.
  198. * SqlDataReader.cs :
  199. - Added code for GetSqlBinary ()
  200. - Fixed GetFieldCount ()
  201. - Added more checks and exceptions.
  202. 2006-01-17 Senganal T <[email protected]>
  203. * SqlCommandBuilder.cs
  204. - Modified CreateNewCommand () : Clean up any existing parameter list
  205. before reusing the command.Fixes #77225
  206. 2005-11-24 Senganal T <[email protected]>
  207. * SqlConnection.cs
  208. - Modifications to get the correct Packet Size
  209. 2005-11-21 Senganal T <[email protected]>
  210. * SqlClientFactory.cs
  211. * SqlCommandBuilder.cs
  212. * SqlParameterCollection.cs
  213. * SqlDataReader.cs
  214. * SqlDataAdapter.cs
  215. * SqlParameter.cs
  216. * SqlTransaction.cs
  217. Added stubs and other changes for ADO.NET 2.0 compatibility
  218. 2005-11-12 Gonzalo Paniagua Javier <[email protected]>
  219. * SqlConnection.cs: don't throw NotImplementedException when using
  220. 'PERSIST SECUTIRY INFO'. Just do nothing.
  221. 2005-10-27 Senganal T <[email protected]>
  222. * SqlCommand.cs
  223. * SqlDataReader.cs
  224. Made changes so that the number of rows affected can be got directly from
  225. Tds regardsless of the type of query.Fixes bug #75698
  226. 2005-10-19 Senganal T <[email protected]>
  227. * SqlConnection.cs (SetProperties) :
  228. - Added support for AttachDBFileName
  229. 2005-10-19 Senganal T <[email protected]>
  230. * SqlException.cs (Constructor)
  231. - Modified the constructor, so that the message parameter
  232. of base class is not the same as that of the Exception message.
  233. fixes bug #76468
  234. 2005-09-24 Sureshkumar T <[email protected]>
  235. * SqlParameterCollection.cs (AddWithValue): added method. patch
  236. from [email protected] (Andy Waddell).
  237. 2005-09-21 Senganal T <[email protected]>
  238. * SqlConnection.cs :
  239. - Set the correct Default Values for Parameters.
  240. - Added Argument Checks (where missing) for the Properties and
  241. throw the correct exception on error.
  242. - Modified SetDefaultParameters() to make sure that the parameters
  243. are all reset to default values everytime it is called.
  244. - Modified SetProperties() to take into account the order of the
  245. keywords in the ConnectionString.
  246. SqlConnection Fixes for the failing sqlserver connected-mode testcases
  247. in ProviderTest/System.Data.SqlClient/SqlConnectionTest.cs
  248. 2005-09-21 Senganal T <[email protected]>
  249. * SqlTransaction.cs : Modifed the Rollback() method, so that
  250. connection can be used for another transaction after the previous
  251. transaction is rolled back. fixes bug 75904
  252. 2005-09-02 Umadevi S <[email protected]>
  253. * Removed SqlResultSet.cs file
  254. 2005-08-26 Sureshkumar T <[email protected]>
  255. * SqlConnection.cs (Open): enable sp_reset_connection.
  256. 2005-08-25 Sureshkumar T <[email protected]>
  257. * SqlCommandBuilder.cs: BuildInformation (): continue on columns
  258. who don't have basetablename.
  259. 2005-08-12 Daniel Morgan <[email protected]>
  260. * SqlCommandBuilder.cs: update command builder based on
  261. OdbcCommandBuilder latest changes to fix regression
  262. of bug 75552
  263. 2005-08-05 Sureshkumar T <[email protected]>
  264. * SqlCommandBuilder.cs: Set SourceVersion property to the created
  265. parameters as it is used by the Adapter's Update method.
  266. 2005-07-22 Sureshkumar T <[email protected]>
  267. * SqlCommandBuilder.cs, SqlParameterCollection.cs,
  268. SqlConnection.cs, SqlParameter.cs:
  269. - updated attributes & attribute descriptions to match with
  270. masterinfos.
  271. 2005-07-16 Daniel Morgan <[email protected]>
  272. * SqlCommandBuilder.cs: CreateUpdateCommand should get the current value, not
  273. the orginal value when setting one of the SET variables
  274. 2005-07-15 Sureshkumar T <[email protected]>
  275. * SqlCommandBuilder.cs:
  276. - set_DataAdapter: unsubscribe event if DataAdapter is reset.
  277. - CreateInsertCommand, CreateUpdateCommand, CreateDeleteCommand:
  278. if column mapping is missing, use the source column name. use
  279. proper version to get the data.
  280. - RowUpdatingHandler: set status to continue to actually process
  281. the query.
  282. 2005-07-04 Ben Maurer <[email protected]>
  283. * SqlError.cs: Patch from [email protected] to fix serialization.
  284. 2005-06-29 Sureshkumar T <[email protected]>
  285. * SqlConnection.cs: Open (): catch TdsInternalException and throw
  286. SqlException.
  287. * SqlException.cs: code re-organised to pass message as well with
  288. the exception.
  289. 2005-06-23 Sureshkumar T <[email protected]>
  290. * SqlConnectionStringBuilder.cs: simplified multiple keyword
  291. mappings and allowed-key checking. fixed Item, Remove,
  292. ContainsKey, ShoudSerialize, TryGetValue implementations.
  293. 2005-06-21 Sureshkumar T <[email protected]>
  294. * SqlConnectionStringBuilder.cs: Connection String Builder class
  295. for SqlClient Data Provider.
  296. 2005-06-01 Gonzalo Paniagua Javier <[email protected]>
  297. * SqlParameter.cs: moved the 'using S.D.SqlTypes' out of NET_2_0. Fixes
  298. the build.
  299. 2005-06-01 Sureshkumar T <[email protected]>
  300. * SqlParameter.cs: Parameter's value can be SqlTypes. Convert to
  301. framework type to pass to TDS layer. Fixes bug #75044.
  302. 2005-05-24 Umadevi S <[email protected]>
  303. * fixed some 2.0 and 1.0 specific fields/attributes for various classes.
  304. * Added SqlClientMetaDataCollectionNames.cs, Implemented some 2.0
  305. properties for SqlParameterCollection for the bulkcopy feature.
  306. 2005-05-20 Kornél Pál <http://www.kornelpal.hu/>
  307. * Fixed Bug #53169 - SqlDataReader incorrectly returns bigint as decimal
  308. Note: The fix works around the limitations of TDS 7.0 to avoid this
  309. difference between Mono and .NET Framework TDS 8.0 should be used instead.
  310. 2005-05-20 Umadevi S <[email protected]>
  311. * Fixed Bug 74948 - SqlParameter also takes DBNull Value.
  312. Correct some attributes stuff of 1.1 and 2.0 for SqlParameter.cs
  313. 2005-05-20 Umadevi S <[email protected]>
  314. * Continuing on implementation for bulkcopy and notification
  315. Added files SqlNotificationEventArgs.cs, OnChangeEventHandler.cs
  316. Modified SqlRowUpdatingEventArgs.cs
  317. 2005-05-19 Umadevi S <[email protected]>
  318. * For implementation of bulkcopy and notifications added files
  319. SqlBulkCopyOptions.cs,SqlBulkCopyColumnMapping.cs,SqlNotificationAuthType.cs
  320. SqlNotificationTransports.cs,SqlRowsCopiedEventArgs.cs, SqlRowsCopiedEventHandler.cs
  321. 2005-05-19 Umadevi S <[email protected]>
  322. * Corrected types,enum values of SqlNotificationType,SqlNotificationSource,
  323. SqlNotificationInfo and added new method in SqlRowUpdatingEventArgs.cs
  324. (For implementation of bulkcopy/notifications)
  325. 2005-04-19 Sureshkumar T <[email protected]>
  326. * SqlDataReader.cs: NextResult (): Re-create schema table for each
  327. result set. don't re-use, as it may be referenced from somewhere.
  328. 2005-04-07 Sureshkumar T <[email protected]>
  329. Ankit Jain <[email protected]>
  330. * SqlConnection.cs: Implemented additional connection string
  331. property "Asynchronous Processing".
  332. * SqlCommand.cs: Implemented Asynchronous command execution API.
  333. * SqlAsyncState.cs: A internal state object for asynchronous
  334. operations.
  335. * SqlAsyncResult.cs: Added. Class to hold result for asynchronous
  336. queries.
  337. 2005-03-28 Sureshkumar T <[email protected]>
  338. * SqlCommand.cs: Execute: Add a semicolon at the end of
  339. CommandText. Multiple semicolon's are not being complained.
  340. fixes bug #74134.
  341. 2005-03-11 Gonzalo Paniagua Javier <[email protected]>
  342. * SqlConnection.cs: added a finalizer for correct implementation of the
  343. IDisposable pattern.
  344. 2005-03-11 Gonzalo Paniagua Javier <[email protected]>
  345. * SqlException.cs: make it serialization-compatible with MS. Patch by
  346. Aleksandar Dezelin. Closes bug #73596.
  347. 2005-03-08 Sureshkumar T <[email protected]>
  348. * SqlDataReader.cs: Call base constructor with CommandBehavior
  349. parameter instead of passing DbCommand object. The internal base
  350. class with DbCommand Parameter is removed.
  351. 2005-03-07 Sureshkumar T <[email protected]>
  352. * SqlCommand.cs : Set CommandBehavior on
  353. ExecuteReader,ExecuteScalar,ExecuteNonQuery. This is used in
  354. CloseDataReader.
  355. This fixes bug #73252.
  356. 2005-03-03 Sureshkumar T <[email protected]>
  357. * SqlClientFactory.cs: While creating command, create using
  358. DbConnectionFactory as DbConnectionBase.CreateDbCommand needs to
  359. have a connection factory.
  360. * SqlConnection.cs: Added an internal constructor which takes
  361. DbConnectionFactory.
  362. * SqlConnectionFactory.cs: Added. Concrete class for abstract
  363. factory DbConnectionFactory.
  364. 2005-02-22 Sureshkumar T <[email protected]>
  365. * SqlDataReader.cs: GetBytes: return the length of the data if
  366. output buffer is null. if not, copy the values to buffer and
  367. return the bytes actually read.
  368. 2005-02-02 Sureshkumar T <[email protected]>
  369. * SqlConnection.cs:
  370. - Database: return db name from database if connection open,
  371. otherwise take from connection string.
  372. - Set default values for parameters in the constructor itself.
  373. - Dangling else problem with Close method.
  374. - reset values of parms (TdsConnectionParameters) rather setting
  375. to null.
  376. - set disposed to false in Open method
  377. - finally call base.Dispose in Dispose (bool)
  378. Fixes nunit regressions SqlConnectionTest:DefaultConnectionValues
  379. and SqlConnectionTest:DatabaseSynonyms.
  380. 2005-01-27 Sureshkumar T <[email protected]>
  381. * SqlCommand.cs (DeriveParameters): Change parameter name to
  382. "procedure_name".
  383. * SqlParameter.cs (SqlParameter (object [])) : call default
  384. constructor to create Tds.Metaparameter.
  385. fixes bug #63122.
  386. 2005-01-03 Sureshkumar T <[email protected]>
  387. * SqlCommand.cs: Fixed bug #68973. Reset Tds.RecordsAffected to 0
  388. for each execute statement.
  389. 2004-11-25 Sureshkumar T <[email protected]>
  390. These changes are for 2.0 profile only. These changes implement
  391. the generic data base access technique using Provider Factory
  392. Implementation. These classes need to be dervided from abstract
  393. base classes so that the corresponding factory classes are
  394. created when calling CreateCommand, CreateParameter, etc.
  395. * SqlClientFactory.cs: Provider Factory class Implementaion for SqlServer
  396. * SqlParameter.cs: Change base classes and override methods.
  397. * SqlParameterCollection.cs: Change base classes and override methods.
  398. * SqlTransaction.cs: Change base classes and override methods.
  399. * SqlDataSourceEnumerator.cs: DataSource Enumerator stubs.
  400. * SqlDataReader.cs: Change base classes and override methods.
  401. * SqlConnection.cs: Change base classes and override methods.
  402. * SqlCommandBuilder.cs: Change base classes and override methods.
  403. * SqlCommand.cs: Change base classes and override necessary methods.
  404. 2004-10-14 Umadevi S <[email protected]>
  405. * SqlCommand.cs - Implemented the clone method correctly.
  406. (fixed bug 67301)
  407. 2004-10-06 Umadevi S <[email protected]>
  408. * ISqlNoticationReceiver.cs - changed namespace
  409. * Added files SqlNotificationType.cs, SqlNotificationInfo.cs, SqlNotificationSource.cs
  410. 2004-09-24 Umadevi S <[email protected]>
  411. * SqlTransaction.cs - Dispose will not call rollback incase the transaction is not open.
  412. 2004-09-14 Sebastien Pouliot <[email protected]>
  413. * SqlClientPermission.cs: Added internal constructor accepting an Sql
  414. ClientPermissionAttribute parameter (using base class protected ctor).
  415. * SqlClientPermissionAttribute.cs: Copy now use the new SqlClient
  416. Permission constructor.
  417. 2004-09-13 Sebastien Pouliot <[email protected]>
  418. * SqlClientPermission.cs: Mostly completed (needs tests).
  419. * SqlClientPermissionAttribute.cs: Completed.
  420. 2004-09-02 Umadevi S <[email protected]>
  421. * SqlCommand.cs - ExecuteNonQuery to return -1 incase of executing a storedprocedure
  422. 2004-08-16 Gert Driesen <[email protected]>
  423. * SqlConnection.cs: added TODO on ConnectionString for keywords
  424. that are not yet implemented. check value of Integrated Security
  425. keyword, check value of bool keywords, improve error reporting
  426. for int keywords, added support for the following keyword
  427. synonyms : APP, TIMEOUT, NETWORK, PERSISTSECURITYINFO, WSID,
  428. LANGUAGE, USER. Throw NotImplementedException when encrypt keyword
  429. is set to true, enlist keyword is set to false or attachdbfilename
  430. keyword (or one of its synonyms) is set. Added FIXME for PERSIST
  431. SECURITY INFO keyword, throwing a NotImplementedException here
  432. would break lots of apps
  433. 2004-08-16 Gert Driesen <[email protected]>
  434. * SqlConnection.cs - spaces to tabs
  435. 2004-08-12 Sureshkumar T <[email protected]>
  436. * SqlDataReader.cs - In Close method, the remaining resultsets are drained
  437. out, to read output parameters & to avoid stream overlap
  438. 2004-06-30 Umadevi S <[email protected]>
  439. * SqlCommand.cs : In the Execute Method the commandbehavior parameters were ignored correct
  440. these
  441. 2004-06-22 Atsushi Enomoto <[email protected]>
  442. * SqlCommandBuilder.cs : Avoid cast exception caused by DbNull.
  443. 2004-06-18 Umadevi S <[email protected]>
  444. * SqlCommand.cs - ExecuteNonQuery returns -1 in all cases except
  445. insert,update or delete.
  446. 2004-06-18 Umadevi S <[email protected]>
  447. * SqlConnection.cs - handled null being passed as a connectionstring
  448. - checked for minimal set of parameters in connectionstring.
  449. - handled unrecogonized keywords similar to MS.NET
  450. 2004-06-17 Umadevi S <[email protected]>
  451. * SqlTransaction.cs - fixed multiple rollbacks being called causes invalidoperationexception
  452. 2004-06-04 Gert Driesen <[email protected]>
  453. * SqlClientPermission.cs: removed extra CreateInstance
  454. method
  455. 2004-06-02 Gert Driesen <[email protected]>
  456. * SQLDebugging.cs: added missing attributes, marked ctor
  457. public to match MS.NET
  458. 2004-05-22 Atsushi Enomoto <[email protected]>
  459. * SqlClientPermission.cs : don't use chained obsolete .ctor.
  460. 2004-05-20 Gert Driesen ([email protected])
  461. * SqlClientPermissionAttribute.cs: change AllowMultiple and
  462. Inherited to match .NET
  463. 2004-05-20 Umadevi S <[email protected]>
  464. * Fixed bug 58406- implemented the hasrow method, test program used
  465. to test with the bug report
  466. 2004-05-13 Umadevi S <[email protected]>
  467. * SqlClientPermission.cs, SqlDataReader.cs - added missing methods with TODO tags
  468. * SqlCommand.cs, SqlDataAdapter.cs - implemented ToolboxItemAttribute
  469. * SQLDebugging.cs - Added new file with a TODO tag
  470. 2004-04-05 Lluis Sanchez Gual <[email protected]>
  471. * SqlConnection.cs: Use connection pool implemented in Mono.Data.Tds.
  472. 2004-04-01 Lluis Sanchez Gual <[email protected]>
  473. * SqlDataReader.cs: Null values are now represented with DBNull instances.
  474. Deal with this.
  475. 2004-03-14 Tim Coleman <[email protected]>
  476. * SqlCommand.cs SqlConnection.cs:
  477. Changes from two patches by Andres Taylor
  478. <[email protected]>
  479. 2004-03-12 Andreas Nahr <[email protected]>
  480. * SqlParameter.cs: DO NOT USE the consts scheme if types can be referenced directly!
  481. 2004-01-10 Atsushi Enomoto <[email protected]>
  482. * SqlClientPermission.cs : Fixed NET_2_0 build related to
  483. obsolete attribute problem (see DbDataPermission.cs)
  484. 2003-12-28 Tim Coleman <[email protected]>
  485. * SqlResultSet.cs:
  486. Stubbed out this class.
  487. 2003-12-23 Tim Coleman <[email protected]>
  488. * SqlConnection.cs:
  489. Improved connection string parsing. See
  490. System.Data.Common.DbConnectionString for source.
  491. 2003-12-21 Tim Coleman <[email protected]>
  492. * SqlConnection.cs:
  493. Enable Integrated Security
  494. 2003-12-19 Tim Coleman <[email protected]>
  495. * ISqlNotificationReceiver.cs SqlResultSet.cs:
  496. New stubs added
  497. * SqlClientPermission.cs:
  498. Fix constructor for 1.2
  499. 2003-12-04 John Luke <[email protected]>
  500. * SqlXmlTextReader.cs: applied patch from Chris Masters <[email protected]>
  501. fix peek so it checks if it is at the end and also to make sure that if Read()
  502. advances the position past the end of the localBuffer array, it makes
  503. a call to GetNextBuffer(). fixes bug #40253 System.IndexOutOfRangeException when
  504. using SqlCommand.ExecuteXmlReader()
  505. 2003-11-20 Joerg Rosenkranz <[email protected]>
  506. * SqlConnection (SetDefaultConnectionParameters):
  507. Changed default value of WORKSTATION ID to reflect real
  508. host name instead of "localhost".
  509. 2003-11-16 Ben Maurer <[email protected]>
  510. * SqlParameterCollection.cs (Clear): Clear needs to take
  511. the parameter out of the collection so that it can be used
  512. again.
  513. (Remove):
  514. (RemoveAt): Ditto.
  515. 2003-10-03 Diego Caravana <[email protected]>
  516. * SqlCommand.cs: no change.
  517. * SqlConnection.cs (Close): Added checks for null instance
  518. variables.
  519. * SqlParameter.cs (Direction): Now handles parameters of type
  520. ReturnValue and InputOutput.
  521. * SqlParameterCollection.cs (IndexOf(string)): Search for
  522. SqlParameter object in list is done by obtaining ParameterName
  523. attribute, not directly through list.IndexOf().
  524. 2003-08-22 Duncan Mak <[email protected]>
  525. * SqlCommand.cs (ExecuteNonQuery): Return
  526. Connection.Tds.RecordsAffected if it is successful. Patch from
  527. Jörg Rosenkranz <[email protected]>.
  528. This is part of a fix to bug #40315.
  529. 2003-08-20 Duncan Mak <[email protected]>
  530. * SqlConnectionPool.cs (ReleaseConnection): A patch from Joerg
  531. Rosenkranz <[email protected]>. Currently, if a connection is
  532. closed by an external event (network problem, etc.) it is pushed
  533. back into the connection pool. The next Open call retrieves this
  534. invalid connection which leads to exceptions when executing
  535. statements.
  536. This patch fixes this problem. This closes bug #47429.
  537. 2003-07-04 Miguel de Icaza <[email protected]>
  538. * SqlDataReader.cs: Added extra information to the exceptions
  539. thrown by all the GetXXXX methods.
  540. 2003-03-15 Daniel Morgan <[email protected]>
  541. * SqlConnection.cs: if Server in the ConnectionString
  542. is set to "(local", use "localhost" as the hostname
  543. to connect
  544. 2003-03-04 Gonzalo Paniagua Javier <[email protected]>
  545. * SqlException.cs: implemented GetObjectData ().
  546. 2003-02-16 Daniel Morgan <[email protected]>
  547. * ChangeLog: added this file
  548. * SqlConnection.cs: - parse data source for 3 possible uses:
  549. "Server=hostname",
  550. "Server=hostname\\instancename",
  551. "Server=hostname,port" and open the connection based on the
  552. resulting server name and port.
  553. - Added support for named instances
  554. by discovery of the sql server tcp port via the sql monitor (udp port 1434)
  555. thanks to Phillip Jerkins ([email protected]) contribution.
  556. Also, thanks to Gonzalo and Tim for their help with timeouts.