ChangeLog 34 KB

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