ChangeLog 28 KB

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