ChangeLog 30 KB

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