ChangeLog 34 KB

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