ChangeLog 34 KB

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