ChangeLog 28 KB

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