ChangeLog 30 KB

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