ChangeLog 30 KB

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