ChangeLog 28 KB

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