ChangeLog 23 KB

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