ChangeLog 30 KB

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