2
0

ChangeLog 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911
  1. 2007-10-21 Gert Driesen <[email protected]>
  2. * DbDataPermissionAttribute.cs: In KeyRestrictionBehavior, reuse
  3. ExceptionHelper.CheckEnumValue.
  4. * ExceptionHelper.cs: Use same exception message for both 1.0 and 2.0.
  5. * Index.cs: Fixed compiler warnings. Code formatting.
  6. 2007-10-20 Gert Driesen <[email protected]>
  7. * DbDataAdapter.cs: Implemented UpdateBatchSize setter.
  8. * DataAdapter.cs: In FillLoadOption setter, ensure value is valid.
  9. Modified MissingMappingAction and MissingSchemaAction setters to use
  10. ExceptionHelper.CheckEnumValue to validate value. Spaces to tabs and
  11. code formatting.
  12. * ExceptionHelper.cs: Added CheckEnumValue method and modified
  13. InvalidEnumValueException method to return AORE on 2.0 profile. Added
  14. ConnectionClosed method that returns an InvalidOperationException.
  15. 2007-10-19 Gert Driesen <[email protected]>
  16. * DbTransaction.cs: Do not perform a rollback in Dispose (bool).
  17. Leaves it up to deriving classes to override Dispose (bool) and
  18. perform a rollback if necessary. Fixes bug #325397. Code formatting.
  19. * ExceptionHelper.cs: Added TransactionNotUsable method that constructs
  20. an InvalidOperationException to be thrown by IDbTransaction
  21. implementations when the transaction is no longer open.
  22. 2007-09-27 Nagappan A <[email protected]>
  23. * DbDataAdapter.cs: Added MonoTODO in appropriate place.
  24. * DbCommandBuilder.cs (initializeCommand): Implemented missing API.
  25. 2007-09-25 Nagappan A <[email protected]>
  26. * DbConnection.cs: 2.0 attribute fixes.
  27. * DataColumnMapping.cs: 2.0 attribute fixes.
  28. * DbParameterCollection.cs: Code alignment.
  29. * DataAdapter.cs: 2.0 attribute fixes.
  30. * DataTableMapping.cs: 2.0 attribute fixes.
  31. * RowUpdatingEventArgs.cs (BaseCommand): Code alignment.
  32. 2007-09-24 Konstantin Triger <[email protected]>
  33. * DbEnumerator.cs, DbDataRecord.cs: refactoring.
  34. * DbDataRecord.cs: GetValue() should return null instead of DBNull.
  35. 2007-08-10 Nagappan A <[email protected]>
  36. * DbDataAdapter.cs (Fill): Fixed method signature.
  37. 2007-07-26 Nagappan A <[email protected]>
  38. * DbConnection.cs: Removed bogus TODO.
  39. 2007-07-22 Nagappan A <[email protected]>
  40. * DbConnection.cs: 2.0 missing features.
  41. * DbDataAdapter.cs: 2.0 missing features.
  42. 2007-06-30 Gert Driesen <[email protected]>
  43. * DbDataAdapter.cs: Marked ICloneable.Clone obsolete to match MS.
  44. 2007-06-21 Nagappan A <[email protected]>
  45. * DbConnectionStringBuilder.cs (Init): Modified the dictionary to
  46. use StringComparer.InvariantCultureIgnoreCase.
  47. (Add, ContainsKey): Checks whether argument is null or empty string.
  48. 2007-05-08 Adar Wesley <[email protected]>
  49. * DbProviderFactory.cs: minor refactoring for throwing exceptions
  50. 2007-04-30 Marek Habersack <[email protected]>
  51. * DbProviderFactories.cs: throw the same exception MS.NET does.
  52. 2007-03-03 Gert Driesen <[email protected]>
  53. * DbProviderFactoriesConfigurationHandler.cs: Added support for
  54. clear node.
  55. 2007-03-03 Gert driesen <[email protected]>
  56. * ConnectionStringsSectionHandler.cs: Removed since the 2.0 config
  57. API is in place.
  58. * DbProviderFactoriesConfigurationHandler.cs: Fixed name of DataSet
  59. to match MS. Removed SupportedClasses column since this is no longer
  60. part of 2.0 profile (removed during beta). Throw
  61. ConfigurationErrorsException for unrecognized elements. Mark methods
  62. private, and refactor them. Added FIXMEs for missing checks for
  63. unrecognized attributes.
  64. * DbProviderFactories.cs: Marked constants internal. Replaced spaces
  65. with tabs. Use ConfigurationManager.GetSection instead of deprecated
  66. ConfigurationSettings.GetConfig.
  67. 2007-02-26 Atsushi Enomoto <[email protected]>
  68. * DbProviderFactoriesConfigurationHandler.cs : there was a config
  69. test that used to be broken.
  70. 2007-02-26 Atsushi Enomoto <[email protected]>
  71. * DbProviderFactoriesConfigurationHandler.cs : remove "support"
  72. attribute check, as it does not really do anything.
  73. 2007-02-19 Atsushi Enomoto <[email protected]>
  74. * DbProviderFactoriesConfigurationHandler.cs : "support" attribute is
  75. optional. Fixed bug #80894.
  76. 2007-02-09 Nagappan A <[email protected]>
  77. * DbProviderFactory.cs: Derived class has to implement all the
  78. methods of this class.
  79. * DbProviderFactoriesConfigurationHandler.cs (Create): Removed
  80. bogus MonoTODO
  81. 2007-01-08 Nagappan A <[email protected]>
  82. * DataTableMappingCollection.cs (AddRange): Implemented missing
  83. NET 2.0 API.
  84. * DbConnection.cs (GetSchema): Implemented missing NET 2.0 API,
  85. based on SqlClient implementation.
  86. * DbConnectionStringBuilder.cs (AppendKeyValuePair): Implemented
  87. missing API.
  88. * DbDataReader.cs (GetData): Implemented missing API.
  89. (GetDbDataReader): Implemented missing API.
  90. * DbCommandBuilder.cs (BuildCache, BuildInformation)
  91. (IncludedInInsert, IncludedInUpdate, IncludedInWhereClause)
  92. (CreateDeleteCommand, CreateInsertCommand, CreateNewCommand)
  93. (CreateUpdateCommand, CreateParameter): Added private methods.
  94. (QuotedTableName, GetQuotedString, CatalogLocation)
  95. (CatalogSeparator, ConflictOption, DataAdapter, QuotePrefix)
  96. (QuoteSuffix, SchemaSeparator): Implemented public properties.
  97. (SourceCommand): Implemented private property.
  98. (Dispose, RowUpdatingHandler): Implemented protected methods.
  99. (GetDeleteCommand, GetInsertCommand, GetUpdateCommand)
  100. (QuoteIdentifier, UnquoteIdentifier, RefreshSchema): Implemented
  101. public methods.
  102. * DbProviderFactory.cs: Removed MonoTODO's as the derived class
  103. has to implement all the methods in this class.
  104. * DataAdapter.cs (Fill): Implemented missing method.
  105. * DbDataAdapter.cs (FillCommandBehavior): Implemented property.
  106. 2006-12-20 Nagappan A <[email protected]>
  107. * DataColumnMapping.cs (GetDataColumnBySchemaAction): Implemented
  108. 2.0 profile method.
  109. * DbDataReader.cs: Removed TODO's where ever the implementation is
  110. available.
  111. * RowUpdatedEventArgs.cs: Removed TODO's where ever the
  112. implementation is available.
  113. * DataAdapter.cs (FillInternal): Moved from DbDataAdapater.cs to
  114. here.
  115. (BuildSchema): Moved from DbDataAdapter.cs.
  116. (FillTable): Moved from DbDataAdapter.cs.
  117. (OnFillErrorInternal): Implemented new internal method to raise an
  118. event.
  119. (SetupSchema): Moved from DbDataAdapter.cs.
  120. (FillInterl): Moved common implementation from DbDataAdapter.cs.
  121. Removed TODO's where ever the implementation is available.
  122. * DbDataAdapter.cs (OnRowUpdated): Implemented protected method.
  123. (OnRowUpdating): Implemented protected method.
  124. (CreateFillErrorEvent): Moved to DataAdapter.cs.
  125. (Fill): Moved common implementation to DataAdapter.cs.
  126. (FillTable): Moved to DataAdapter.cs.
  127. (BuildSchema): Moved to DataAdapter.cs.
  128. (SetupSchema): Moved to DataAdapter.cs.
  129. 2006-12-11 Miguel de Icaza <[email protected]>
  130. * DataAdapter.cs: Removed TODO, NotSupportedException was the
  131. correct implementation.
  132. 2006-11-28 Nagappan A <[email protected]>
  133. * DbDataAdapter.cs: Removed bogus MonoTODOs
  134. * DataAdapter.cs: Removed bogus MonoTODOs
  135. 2006-11-15 Nagappan A <[email protected]>
  136. * DbDataAdapter.cs (FillFromReader): Implemented missing API to
  137. handle FillErrorEventHandler
  138. (DataAdapter): Implemented missing .NET 2.0 function
  139. (GetDeleteCommand): Returns DbDataAdapter deleteCommand internal
  140. variable.
  141. (GetInsertCommand): Returns DbDataAdapter insertCommand internal
  142. variable.
  143. (GetUpdateCommand): Returns DbDataAdapter updateCommand internal
  144. variable.
  145. 2006-09-06 Konstantin Triger <[email protected]>
  146. * DbDataAdapter.cs: added basic implementation for some 2.0 features.
  147. 2006-08-24 Vladimir Krasnov <[email protected]>
  148. * DbProviderFactories.cs: added TARGET_JVM block to not supported
  149. functionality
  150. 2006-08-06 Konstantin Triger <[email protected]>
  151. * DbDataReader.cs: DbDataReader.Dipose(bool) - implemented.
  152. 2006-07-17 Senganal T <[email protected]>
  153. * Index.cs :
  154. - GetAllRows : Added. Returns all the rows in the current
  155. index.
  156. - GetDistinctRows :Added. Returns all the distinct rows (based
  157. in Key Columns) in the index.
  158. 2006-07-13 Senganal T <[email protected]>
  159. * SchemaInfo.cs DbDataAdapter.cs DbConnectionOptions.cs DbParameter.cs
  160. DbMetaDataColumnNames.cs DbTransaction.cs DataTableMapping.cs DataAdapter.cs
  161. FieldNameLookup.cs DbDataRecord.cs DataColumnMappingCollection.cs DbCommand.cs
  162. DbDataPermission.cs DbProviderFactory.cs DbCommandBuilder.cs DbConnectionString.cs
  163. RowUpdatedEventArgs.cs DbDataReader.cs DbConnectionStringBuilder.cs DbConnection.cs
  164. DataTableMappingCollection.cs :
  165. 2.0 Api fixes
  166. 2006-06-15 Senganal T <[email protected]>
  167. * Key.cs :
  168. -Equals : Check for Equality of Sort Order too.
  169. 2006-04-07 Senganal T <[email protected]>
  170. * DbDataAdapter.cs :
  171. * Update () : If the Update/Delete Query has a null check,
  172. then populate the parameter value correctly.
  173. 2006-03-20 Senganal T <[email protected]>
  174. * DataAdapter.cs :
  175. - Ctor () : Set Default Values for DataAdapter members
  176. * DbDataAdapter.cs :
  177. - Update () : Call row.AcceptChanges only if AcceptChangesDuringUpdate
  178. is true. Fixes bug #77776
  179. 2006-03-09 Senganal T <[email protected]>
  180. * Index.cs :
  181. - Update () : Add the new record in the correct position
  182. 2006-03-07 Senganal T <[email protected]>
  183. * Key.cs :
  184. Reverted the changes from the earlier patch.
  185. 2006-02-22 Senganal T <[email protected]>
  186. * DbDataAdapter.cs :
  187. - FillTable : Move BeginLoadData, EndLoadData outside the loop. Also,
  188. move EndLoadData outsidet try,catch block. FillError is only for errors
  189. occuring during loading the data into datatable.
  190. * Key.cs :
  191. - Set Default value of RowStateFilter to (CurrentRos | OriginalRows).
  192. - ContainsVersion : If RowStateFilter is set to default value, return true
  193. for Modified Rows as they can contain Default/Original versions.
  194. 2006-02-18 Raja R Harinath <[email protected]>
  195. * DbConnectionStringBuilder.cs (ICollection.CopyTo): Use
  196. _dictionary, not 'this' in cast.
  197. 2006-02-17 Chris Toshok <[email protected]>
  198. * DbDataAdapter.cs: more 2.0 cleanup.
  199. 2006-02-17 Chris Toshok <[email protected]>
  200. * DataAdapter.cs, DataColumnMappingCollection.cs,
  201. DataColumnMapping.cs, DataTableMappingCollection.cs,
  202. DataTableMapping.cs, DbCommandBuilder.cs,
  203. DbConnectionStringBuilder.cs, DbParameterCollection.cs,
  204. DbParameter.cs: pretty major attribute work.
  205. 2006-02-17 Chris Toshok <[email protected]>
  206. * DbProviderFactory.cs: remove two methods. and mark the
  207. DbProviderSupportedClasses ctor as internal since it's not part of
  208. the public api.
  209. * DbTable.cs: remove this class from 2.0 build.. leave it for the
  210. JVM build, I guess?
  211. * RowUpdatingEventArgs.cs: this class isn't abstract in 2.0.
  212. * RowUpdatedEventArgs.cs: this class isn't abstract in 2.0.
  213. * SupportedJoinOperators.cs: new 2.0 enum.
  214. * CatalogLocation.cs: fix enum values.
  215. * GroupByBehavior.cs: same.
  216. * IdentifierCase.cs: same.
  217. * SchemaTableColumn.cs: class is static, not sealed. and add
  218. missing elements.
  219. * SchemaTableOptionalColumn.cs: same.
  220. * DbDataReader.cs: oops, add back in VisibleFieldCount (i missed
  221. it in the corcompare output), add EditorBrowsable attributes all
  222. over the place, and fix some method signatures.
  223. * DbDataUpdatableRecord.cs: remove this 2.0 file.
  224. 2006-02-17 Chris Toshok <[email protected]>
  225. * DbDataReader.cs: remove VisibleFieldCount attribute, and remove
  226. IDataReader2 and IDataRecord2 interfaces.
  227. 2006-02-13 Senganal T <[email protected]>
  228. * DbDataAdapter.cs :
  229. - FillSchema :
  230. - Add table to schema only if MissingSchemaAction is not Ignore
  231. Add schema to table if MissingSchemaAction is set to either of
  232. Add or AddWithKey
  233. - BuildSchema :
  234. - Set the Schema values only if MissingSchemaAction is set to
  235. AddWithKey
  236. 2006-01-31 Senganal T <[email protected]>
  237. * DbDataAdapter.cs :
  238. - Corrected an error in the prev checkin.. Fixes #77415
  239. 2006-01-27 Senganal T <[email protected]>
  240. * DbDataAdapter.cs :
  241. - Modified schema population to follow MissingSchemaAction and MissingMappingAction
  242. - Add a column to the Primary Key only if its not a hidden key
  243. - Added some argument checks
  244. - Removed some redundant code
  245. * DataAdapter :
  246. - Added argument checks
  247. * ExceptionHelper :
  248. - Added InvalidEnumException , a helper function to print error msg
  249. 2006-01-11 Boris Kirzner <[email protected]>
  250. * Index.cs: removed redundant call to RebuildIndex() in constructor.
  251. 2005-12-12 Konstantin Triger <[email protected]>
  252. * Key.cs: Added ContainsVersion function, refactoring.
  253. * Index.cs: Fixed Reset() to be ready for Update() calls.
  254. Otherwise the index can be rebuilt with new values inside the
  255. Update() call itself.
  256. Fixed FindIndexExact(), Update(), Delete().
  257. 2005-11-22 Konstantin Triger <[email protected]>
  258. * DbProviderFactory.cs: TARGET_JVM ifdef.
  259. 2005-11-21 Senganal T <[email protected]>
  260. * DbDataAdapter.cs
  261. * DbParameter.cs
  262. * DbTransaction.cs
  263. * DbTable.cs
  264. * DbProviderFactories.cs
  265. * DbException.cs
  266. * DbProviderFactory.cs
  267. * DbCommandBuilder.cs
  268. * DbDataReader.cs
  269. * DbParameterCollection.cs
  270. - Added stubs and other changes for ADO.NET 2.0 compatibility.
  271. * DbMetaDataCollectionNames.cs (new file)
  272. - Added DbMetaDataCollectionNames Enumeration
  273. 2005-10-24 Konstantin Triger <[email protected]>
  274. * DataContainer.cs: removed extra type validation for object container
  275. 2005-10-14 Senganal T <[email protected]>
  276. * DbDataAdapter.cs :
  277. - BuildSchema() : Set the value of DataColumn Property 'AllowDBNull'
  278. as returned by database. Fixes bug#76433.
  279. 2005-09-21 Boris Kirzner <[email protected]>
  280. * Index.cs:
  281. - Rebuild index immediately after construction.
  282. - Do not add records if they do not padd key filtration.
  283. - Do not attempt to remove records if the are not in the index.
  284. * Key.cs:
  285. - Added HasFilter property, CanContain and DependsOn methods.
  286. - Equals() uses filter expression comparison.
  287. 2005-09-07 Boris Kirzner <[email protected]>
  288. * DataContainer.cs: Do not convert value if container type
  289. is System.Object.
  290. 2005-08-08 Gert Driesen <[email protected]>
  291. * DbTypes.cs: Marked internal to fix public API.
  292. 2005-08-05 Sureshkumar T <[email protected]>
  293. * DbDataAdapter.cs:
  294. - Update (): set parameter values only after getting the
  295. appropriate command from command builder. Close reader only if it
  296. is not closed before. Use parameter's SourceVersion. Whitespace
  297. corrections to comply with standard.
  298. 2005-07-22 Sureshkumar T <[email protected]>
  299. * DataColumnMappingCollection.cs: updated attributes & attribute
  300. descriptions to match with masterinfos.
  301. 2005-07-15 Sureshkumar T <[email protected]>
  302. * DataTableMappingCollection.cs: GetTableMappingBySchemaAction:
  303. meaningful error message if mapping is missing.
  304. * DbDataAdapter.cs: Update: meaningful message if table is missing.
  305. 2005-06-22 Sureshkumar T <[email protected]>
  306. * Index.cs: Remove : length for Array.Copy (a, i+1, a, i, length -
  307. (i+1)) corrected.
  308. 2005-06-21 Sureshkumar T <[email protected]>
  309. * DbConnectionStringBuilder.cs: Implemented method for parsing
  310. connection string through "ConnectionString" property.
  311. * DbConnectionStringBuilderHelper.cs: Helper class to provide
  312. conversion between string=>.net type mapping for connection string
  313. builders. The idea is to use between other providers (odbc) as
  314. well.
  315. 2005-05-29 Boris Kirzner <[email protected]>
  316. * DbCommand.cs - added #ifdef NET_2_0 on DbCommandOptionalFeatures (not used in TARGET_JVM).
  317. * ExceptionHelper.cs - removed java references. Exceptions created on formatted text messages. Code styling fixes.
  318. * DbParameterCollection.cs - implemented indexer properties.
  319. * DbDataAdapter.cs - delagate exceptions creating to ExceptionHelper.
  320. 2005-05-25 Konstantin Triger <[email protected]>
  321. * DataContainer.cs: Correcting the order - first the record is queried whether the value it contains is null, and only if not the value is fetched
  322. 2005-05-20 Umadevi S <[email protected]>
  323. * Added file DbProviderSpecificTypePropertyAttribute.cs
  324. 2005-05-19 Umadevi S <[email protected]>
  325. * RowUpdatingEventArgs.cs - added BaseCommand property for net 2.0
  326. 2005-05-18 Konstantin Triger <[email protected]>
  327. * DbDataAdapter.cs: Initialize the schema values to defaults if the schema does not contain the information
  328. 2005-05-16 Sureshkumar T <[email protected]>
  329. * RecordCache.cs: quick fix to make build 2.0 profile (follow up
  330. for check in 2005-05-16).
  331. 2005-05-16 Konstantin Triger <[email protected]>
  332. * Index.cs: validation that the updated row belongs to the index
  333. 2005-05-02 Konstantin Triger <[email protected]>
  334. * DataContainer.cs:
  335. Added CharDataContainer, SByteDataContainer, UInt16DataContainer, UInt32DataContainer, UInt64DataContainer, DateTimeDataContainer, DecimalDataContainer
  336. SetItemFromDataRecord: Changed to work with ISafeDataRecord or through GetValue to enable conversion
  337. return DBNull.Value when the stored value is null
  338. * DbDataAdapter.cs:
  339. Ensure correct order for LoadDataRow
  340. Fixing schema creation
  341. Use NewRowArray API
  342. * DbEnumerator.cs:
  343. LoadSchema: Retrieve needed fields only
  344. * RecordCache.cs:
  345. Added Rows-to-Records mapping
  346. Added ReadIDataRecord method for correct handling of default/auto increment values
  347. * Added Index.cs: Index implementation
  348. * Added Key.cs: Index descriptor implementation
  349. 2005-04-27 Sureshkumar T <[email protected]>
  350. * DbDataReader.cs: Added static method to construct the schema
  351. table with default schema. Could be reused in many places.
  352. 2005-04-22 Sureshkumar T <[email protected]>
  353. * DbDataAdapter.cs: Moved FillTable and BuildSchema as static
  354. methods as they are not operating on the current instance. This
  355. could be reused to fill any table from a data reader.
  356. * RecordCache.cs: While disposing records, make sure that the
  357. record is not already disposed. i.e. to make sure later the same
  358. record is not reused. Implemented a static method to compare two
  359. version of records in a container.
  360. 2005-04-18 Sureshkumar T <[email protected]>
  361. * DataAdapter.cs: Implemenetd OnFillError handler.
  362. * DbDataAdapter.cs: BuildSchema (): the table to be filled might
  363. contain few additional columns as well. so mapping length should
  364. be columns' length + fields' length.
  365. 2005-03-24 Sureshkumar T <[email protected]>
  366. * DbDataAdapter.cs: Update: If SourceColumn is null, do not set
  367. value for the parameter.
  368. 2005-05-25 Umadevi S <[email protected]>
  369. * Added DbException.cs
  370. 2005-03-23 Sureshkumar T <[email protected]>
  371. * DbDataAdapter.cs: For Update, disable ReadOnly constraint
  372. temporarily before updating the row. Info from Ingo Bauersachs.
  373. SkipAllRemainingRows should also skip current row (msdn).
  374. 2005-03-22 Sureshkumar T <[email protected]>
  375. * DbDataAdapter.cs: Update (): update the rows based on the
  376. UpdateRowSource property. Process further based on the
  377. RowUpdatedEvent handler argument's Status property.
  378. Fixes bug #73587. Thanks to [email protected] (Ingo Bauersachs) for
  379. bug report and patch.
  380. * RowUpdatedEventArgs.cs: if custom error is not set, throw a
  381. default error.
  382. 2005-03-01 Sureshkumar T <[email protected]>
  383. * ConnectionStringsSectionHandler.cs: Added. configuration section
  384. handler for section "connectionStrings". This handler is a ad hoc
  385. solution till the new configuration API is available in mono.
  386. 2005-02-04 Sureshkumar T <[email protected]>
  387. * DbDataAdapter.cs (Update ()) :
  388. - Check for one return result set and map the values back to
  389. datatable.
  390. - Check for output & return value parameters and update the value
  391. back to mapped column
  392. - check for recordsAffected only after closing the reader.
  393. 2005-02-02 Sureshkumar T <[email protected]>
  394. * DbConnection.cs: Implement Dispose pattern.
  395. 2005-01-25 Atsushi Enomoto <[email protected]>
  396. * DbDataPermission.cs : Empty.Union(Empty) is Empty.
  397. 2005-01-14 Atsushi Enomoto <[email protected]>
  398. * DbDataPermissionAttribute.cs, PermissionHelper.cs :
  399. fixed some incompatible type of exception between 2.0 and 1.x.
  400. * DataContainer.cs :
  401. Wrap exceptions thrown by SetValue() within ArgumentException.
  402. 2004-12-10 Sureshkumar T <[email protected]>
  403. * DbDataAdapter.cs (BuildSchema): Add the primary key schema iff
  404. MissingSchemaAction is set to AddWithKey. Also, Add auto increment
  405. value from the source table. fixes bug #67757 and #69110.
  406. 2004-11-24 Sureshkumar T <[email protected]>
  407. * DbProviderSupportedClasses.cs: Added correct enum values.
  408. * DbConnection.cs: Missing virtual method EnlistTransaction Added.
  409. * DbCommand.cs: Implemented ProviderFactory base factory methods.
  410. 2004-11-22 Sureshkumar T <[email protected]>
  411. * DbConnectionStringBuilder.cs: Class for helping creation of db
  412. connection strings added.
  413. 2004-10-01 Sureshkumar T <[email protected]>
  414. * DbProviderFactories.cs: Implemented all the stubs. Added functionality for
  415. getting available provider factories and creating a specified provider factory.
  416. * DbProviderFactoriesConfigurationHandler.cs: Added functionality for handling
  417. DbProviderFactories configuration section.
  418. * DbProviderFactory.cs: Added protected constructor. SupportedClasses property
  419. is made abstract.
  420. 2004-09-14 Sebastien Pouliot <[email protected]>
  421. * DbDataPermission.cs: Implemented Intersect, IsSubsetOf and Union.
  422. Implementation isn't complete as the restrictions seems to change the
  423. expected results (breaking some rules like x.IsSubsetOf (x) == false).
  424. Better (real-world) tests cases are required.
  425. * PermissionHelper.cs: Fixed small differences between System.Data.dll
  426. validations wrt to mscorlib.dll (XML and PermissionState).
  427. 2004-09-13 Sebastien Pouliot <[email protected]>
  428. * DbConnectionOptions.cs: New class for Fx 2.0. Partial implementation
  429. to support new methods in DBDataPermission.
  430. * DbConnectionString.cs: Updated class to split from/inherit
  431. DbConnectionOptions class.
  432. * DbDataPermission.cs: Implemented Add, Clear, Copy, ToXml methods and
  433. completed constructors.
  434. * DbDataPermissionAttribute.cs: Completed/fixed class.
  435. * PermissionHelper.cs: Helper methods to create permission classes.
  436. 2004-08-31 Francisco Figueiredo Jr. <[email protected]>
  437. * DbDataAdapter.cs: Fix for out of memory exceptions when trying to fill a dataset with a query which doesn't return a resultset like insert, delete or update.
  438. 2004-07-21 Umadevi S <[email protected]>
  439. * DbDataRecord.cs - Fix for bug 58163. Return DBNull instead of null
  440. 2004-07-07 Umadevi S <[email protected]>
  441. * DataContainer.cs :CheckedforNull before calling the relavant setmethods in each of the
  442. SetItemForDataRecord method for the DateTimeClass
  443. 2004-06-24 Atsushi Enomoto <[email protected]>
  444. * DataColumnMappingCollection.cs : fixed typo.
  445. * DbDataAdapter.cs : column mappings were not filled.
  446. 2004-06-24 Atsushi Enomoto <[email protected]>
  447. * DataTableMapping.cs : Clone() should also clone ColumnMappings.
  448. 2004-06-18 Umadevi S <[email protected]>
  449. * DataContainer.cs - CheckedforNull before calling the relavant setmethods in each of the
  450. SetItemForDataRecord method for all the classes.
  451. 2004-06-17 Boris Kirzner <[email protected]>
  452. * RecordCache.cs : Added CopyRecord mathod that copies single record from one table to another.
  453. 2004-06-17 Boris Kirzner <[email protected]>
  454. * Datacontainer.cs :
  455. - Store and retreival of null and DBNull values reviewed.
  456. - Added GetInt64 to support AutoIncrement of DataColumn.
  457. - Added missing CopyValue method to BitDataContainer.
  458. - Added FillValues method to propagate single value to whole container.
  459. 2004-06-10 Umadevi S <[email protected]>
  460. * DataTableMappingCollection.cs - fixed nunit testcase errors
  461. IndexOfDataSetTable method
  462. 2004-06-09 Umadevi S <[email protected]>
  463. * DataTableMappingCollection.cs - fixed nunit testcase errors
  464. - Add, GetByDataSetTable,Insert, Remove, RemoveAt methods.
  465. 2004-06-09 Umadevi S <[email protected]>
  466. * DataColumnMappingCollection.cs - fixed nunit testcase errors
  467. - GetByDataSetColumn,IndexOfDataSetColumn, Remove methods.
  468. 2004-06-08 Umadevi S <[email protected]>
  469. * DataColumnMappingCollection.cs - fixed nunit testcase errors.
  470. - remove, removeat, contains methods.
  471. 2004-06-04 Gert Driesen <[email protected]>
  472. * DataAdapter.cs: added missing protected ctor
  473. * DbDataAdapter.cs: added stub for missing protected ctor
  474. * DbDataPermission.cs: added stubs for missing protected
  475. ctors, added stub for missing Clear method
  476. 2004-06-02 Gert Driesen <[email protected]>
  477. * DataColumnMappingCollection.cs: added missing attributes on
  478. indexers
  479. 2004-05-27 Boris Kirzner <[email protected]>
  480. * DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer.SetValue .
  481. 2004-05-20 Gert Driesen ([email protected])
  482. * DbDataPermissionAttribute.cs: change AllowMultiple and
  483. Inherited to match .NET
  484. 2004-05-19 Boris Kirzner <[email protected]>
  485. * Datacontainer.cs : CompareValues reviewed. set_Item and get_Item of null and DBNull values in case of DataContainers
  486. for primitive types reviewed. Added check for null values when reading from IDataRecord.
  487. 2004-05-19 Boris Kirzner <[email protected]>
  488. * RecordCache.cs - added. Each instance of record cache belongs to specific table
  489. and manages pool of records ( indexes into data containers) to be used by data rows.
  490. * DataContainer.cs - added. Provides implementation for data containers that holds data in arrays
  491. of primitives or objects. Each data container belongs to specific DataColumn.
  492. * DbDataAdapter.cs - changes to complete data storage redesign. Bug fix in FillTable
  493. ( to fetch exact number of records required ).
  494. 2004-05-13 Umadevi S ([email protected])
  495. * DbDataPermissionAttribute.cs - Added KeyRestrictions property with a TODO tag
  496. 2004-05-09 Gert Driesen ([email protected])
  497. * ComparerFactory.cs: marked internal
  498. 2003-04-26 Boris Kirzner <[email protected]>
  499. * DataColumnMappingCollection.cs : Small fix in exception message thrown.
  500. 2003-04-25 Boris Kirzner <[email protected]>
  501. * DbDataAdapter.cs : Fixed bug in Fill :
  502. - Reader can have empty results (fo example from UPDATE or DELETE).
  503. - Reader can have results with no rows (SELECT that returns 0 rows but have columns)
  504. - In FillTable - skip rows only once for each table.
  505. 2003-04-14 Juraj Skripsky <[email protected]>
  506. * DbDataAdapter.cs : Refactoring of Fill. New private method
  507. FillTable does most of the work now. Use int[] instead of
  508. hashtable for mapping. Move creation of tableArray[] outside
  509. of loop.
  510. 2004-03-12 Andreas Nahr <[email protected]>
  511. * DbDataPermissionAttribute.cs: Added .Net 1.1 marks
  512. * DataColumnMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
  513. * DataTableMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
  514. * DataColumnMappingConverter: Added stub
  515. * DataTableMappingConverter: Added stub
  516. 2004-03-03 Eran Domb <[email protected]>
  517. * ComparerFactory.cs : Added.
  518. 2004-01-10 Atsushi Enomoto <[email protected]>
  519. * DbDataPermission.cs : tiny fix to pass OleDbPermission.
  520. 2004-01-09 Atsushi Enomoto <[email protected]>
  521. * DbDataPermission.cs : .ctor(PermissionState state) should not call
  522. obsolete .ctor(state, allowBlankPassword). csc reports an error.
  523. 2003-12-30 Gonzalo Paniagua Javier <[email protected]>
  524. * DbDataAdapter.cs: handle MissingShemaAction.AddWithKey, call
  525. AcceptChanges in Update when a CommandBuilder is used and
  526. correctly fill information about primary keys in FillSchema.
  527. Patch from Sergei Malinin ([email protected]).
  528. 2003-12-23 Tim Coleman <[email protected]>
  529. * DbConnectionString.cs:
  530. Some implementation
  531. * DbProviderFactory.cs:
  532. Fix typo to make CLS compliant
  533. 2003-12-16 Jackson Harper <[email protected]>
  534. * SchemaTableOptionalColumn.cs: Add to fix default build
  535. 2003-12-16 Tim Coleman <[email protected]>
  536. * CatalogLocation.cs DbCommand.cs DbCommandBuilder.cs
  537. * DbCommandOptionalFeatures.cs DbCommandSet.cs DbConnection.cs
  538. * DbConnectionString.cs DbDataSourceEnumerator.cs
  539. * DbDataUpdatableRecord.cs DbParameter.cs DbParameterCollection.cs
  540. * DbProviderConfigurationHandler.cs DbProviderFactories.cs
  541. * DbProviderFactoriesConfigurationHandler.cs DbProviderFactory.cs
  542. * DbProviderSupportedClasses.cs DbTable.cs DbTransaction.cs
  543. * GroupByBehavior.cs IdentifierCase.cs SchemaLocation.cs
  544. * SchemaTableColumn.cs:
  545. New stubs added for .NET 1.2
  546. * DataAdapter.cs DataColumnMapping.cs DataColumnMappingCollection.cs
  547. * DataTableMapping.cs DataTableMappingCollection.cs DbDataAdapter.cs
  548. * DbDataPermission.cs DbDataPermissionAttribute.cs DbDataRecord.cs
  549. * FieldNameLookup.cs SchemaInfo.cs:
  550. Changes made for .NET 1.2
  551. 2003-10-22 Eran Domb <[email protected]>
  552. * DbDataAdapter.cs : Check if there is mapping to avoid exception.
  553. 2003-11-26 Tim Coleman <[email protected]>
  554. * DbDataReader.cs: Add new stub class
  555. 2003-11-23 Pedro Martínez Juliá <[email protected]>
  556. * DbDataAdapter.cs: Call command dispose in self dispose method. We
  557. need to dispose the connections and other stuff stored in the
  558. commands.
  559. 2003-11-10 Pedro Martínez Juliá <[email protected]>
  560. * DataColumnMappingCollection.cs: Fix a missing exception when the
  561. required mapping is not in the collection. MS.NET throws an
  562. exception there.
  563. 2003-10-22 Eran Domb <[email protected]>
  564. * DbDataAdapter.cs (Fill): add only the mapped column to the dataTable (not all columns of dataReader).
  565. Also closing the dataReader if an exception is thrown.
  566. (Fill): the same as above.
  567. (SetupSchema): in now return string (the table name).
  568. (GetFillParameters): fix a bug.
  569. (BuildSchema) - it now return Hashtable. Add columns to the table only if there is a mapping. Build an Hashtable that maps the columns from the table to the column from the reader.
  570. (Update): first open the connection if needed. Catch an exception of the ExecuteQuery.
  571. 2003-09-30 Duncan Mak <[email protected]>
  572. Patch from Eran Domb <[email protected]>.
  573. * DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
  574. 2003-09-25 Duncan Mak <[email protected]>
  575. * DbDataAdapter.cs (Fill): Patch from Eran Domb, <[email protected]>.
  576. Fixes a possible NullReferenceException, more details here:
  577. http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002116.html
  578. 2003-09-21 eran <[email protected]>
  579. * DbDataRecord.cs: The method
  580. System.Data.Common.DbDataRecord.GetValues(object[] values) did not
  581. put the values of the DbDataRecord into values parameter.
  582. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  583. * DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
  584. exception. Thanks to Mark Easton <[email protected]>.
  585. 2003-07-31 Duncan Mak <[email protected]>
  586. * DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
  587. NET_1_1.
  588. 2003-03-21 Alan Tam <[email protected]>
  589. * DbDataAdapter.cs: Update now uses correct DataRowVersion
  590. when accessing the data.
  591. 2003-03-17 Aleksey Demakov <[email protected]>
  592. * DbDataAdapter.cs: BuildSchema now uses ColumnName instead
  593. of BaseColumnName (bug #39830) for DataColumn names.
  594. BaseTableName is no longer taken into account as well.
  595. 2003-02-28 Aleksey Demakov <[email protected]>
  596. * DbDataAdapter.cs: Update (DataSet) updates the default
  597. table only.
  598. 2003-02-25 Alan Tam <[email protected]>
  599. * DbDataAdapter.cs: Added support for filling when schema is present.
  600. Fixed incorrect behavior when ColumnMapping is present
  601. when more than one fields have the same name. Implemented Dispose.
  602. Fixed error when there is no ColumnMapping at all.
  603. Still have some problems in finding the correct TableMapping
  604. because the SourceTable name is not present in BuildSchema
  605. 2003-02-24 Aleksey Demakov <[email protected]>
  606. * DbDataAdapter.cs: The original code might pass a null DataTableMapping
  607. value which is then used to create a RowUpdatingEventArgs
  608. instance. So RowUpdatingEvent handler (for instance
  609. CommandBuilder) could get null DataTableMapping which
  610. might be unexpected. The patch makes sure that a non-null
  611. DataTableMapping is passed.
  612. 2003-01-26 Gonzalo Paniagua Javier <[email protected]>
  613. * DbEnumerator.cs: why does the runtime throw an invalid cast here? The
  614. object is an Int16... Gotta fill a bug report and when fixed undo this
  615. patch.
  616. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  617. * DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.
  618. 2002-10-31 Daniel Morgan <[email protected]>
  619. * SchemaInfo.cs: added missing properties to fix mcs build
  620. 2002-05-05 Miguel de Icaza <[email protected]>
  621. * DataTableMapping.cs, DataTableMappingCollection.cs: comment out
  622. interfaces we do not implement yet.
  623. * DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
  624. we do not implement yet.
  625. * DbDataPermissionAttribute.cs: call base constructor.