ChangeLog 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397
  1. 2005-04-27 Sureshkumar T <[email protected]>
  2. * DbDataReader.cs: Added static method to construct the schema
  3. table with default schema. Could be reused in many places.
  4. 2005-04-22 Sureshkumar T <[email protected]>
  5. * DbDataAdapter.cs: Moved FillTable and BuildSchema as static
  6. methods as they are not operating on the current instance. This
  7. could be reused to fill any table from a data reader.
  8. * RecordCache.cs: While disposing records, make sure that the
  9. record is not already disposed. i.e. to make sure later the same
  10. record is not reused. Implemented a static method to compare two
  11. version of records in a container.
  12. 2005-04-18 Sureshkumar T <[email protected]>
  13. * DataAdapter.cs: Implemenetd OnFillError handler.
  14. * DbDataAdapter.cs: BuildSchema (): the table to be filled might
  15. contain few additional columns as well. so mapping length should
  16. be columns' length + fields' length.
  17. 2005-03-24 Sureshkumar T <[email protected]>
  18. * DbDataAdapter.cs: Update: If SourceColumn is null, do not set
  19. value for the parameter.
  20. 2005-03-23 Sureshkumar T <[email protected]>
  21. * DbDataAdapter.cs: For Update, disable ReadOnly constraint
  22. temporarily before updating the row. Info from Ingo Bauersachs.
  23. SkipAllRemainingRows should also skip current row (msdn).
  24. 2005-03-22 Sureshkumar T <[email protected]>
  25. * DbDataAdapter.cs: Update (): update the rows based on the
  26. UpdateRowSource property. Process further based on the
  27. RowUpdatedEvent handler argument's Status property.
  28. Fixes bug #73587. Thanks to [email protected] (Ingo Bauersachs) for
  29. bug report and patch.
  30. * RowUpdatedEventArgs.cs: if custom error is not set, throw a
  31. default error.
  32. 2005-03-01 Sureshkumar T <[email protected]>
  33. * ConnectionStringsSectionHandler.cs: Added. configuration section
  34. handler for section "connectionStrings". This handler is a ad hoc
  35. solution till the new configuration API is available in mono.
  36. 2005-02-04 Sureshkumar T <[email protected]>
  37. * DbDataAdapter.cs (Update ()) :
  38. - Check for one return result set and map the values back to
  39. datatable.
  40. - Check for output & return value parameters and update the value
  41. back to mapped column
  42. - check for recordsAffected only after closing the reader.
  43. 2005-02-02 Sureshkumar T <[email protected]>
  44. * DbConnection.cs: Implement Dispose pattern.
  45. 2005-01-25 Atsushi Enomoto <[email protected]>
  46. * DbDataPermission.cs : Empty.Union(Empty) is Empty.
  47. 2005-01-14 Atsushi Enomoto <[email protected]>
  48. * DbDataPermissionAttribute.cs, PermissionHelper.cs :
  49. fixed some incompatible type of exception between 2.0 and 1.x.
  50. * DataContainer.cs :
  51. Wrap exceptions thrown by SetValue() within ArgumentException.
  52. 2004-12-10 Sureshkumar T <[email protected]>
  53. * DbDataAdapter.cs (BuildSchema): Add the primary key schema iff
  54. MissingSchemaAction is set to AddWithKey. Also, Add auto increment
  55. value from the source table. fixes bug #67757 and #69110.
  56. 2004-11-24 Sureshkumar T <[email protected]>
  57. * DbProviderSupportedClasses.cs: Added correct enum values.
  58. * DbConnection.cs: Missing virtual method EnlistTransaction Added.
  59. * DbCommand.cs: Implemented ProviderFactory base factory methods.
  60. 2004-11-22 Sureshkumar T <[email protected]>
  61. * DbConnectionStringBuilder.cs: Class for helping creation of db
  62. connection strings added.
  63. 2004-10-01 Sureshkumar T <[email protected]>
  64. * DbProviderFactories.cs: Implemented all the stubs. Added functionality for
  65. getting available provider factories and creating a specified provider factory.
  66. * DbProviderFactoriesConfigurationHandler.cs: Added functionality for handling
  67. DbProviderFactories configuration section.
  68. * DbProviderFactory.cs: Added protected constructor. SupportedClasses property
  69. is made abstract.
  70. 2004-09-14 Sebastien Pouliot <[email protected]>
  71. * DbDataPermission.cs: Implemented Intersect, IsSubsetOf and Union.
  72. Implementation isn't complete as the restrictions seems to change the
  73. expected results (breaking some rules like x.IsSubsetOf (x) == false).
  74. Better (real-world) tests cases are required.
  75. * PermissionHelper.cs: Fixed small differences between System.Data.dll
  76. validations wrt to mscorlib.dll (XML and PermissionState).
  77. 2004-09-13 Sebastien Pouliot <[email protected]>
  78. * DbConnectionOptions.cs: New class for Fx 2.0. Partial implementation
  79. to support new methods in DBDataPermission.
  80. * DbConnectionString.cs: Updated class to split from/inherit
  81. DbConnectionOptions class.
  82. * DbDataPermission.cs: Implemented Add, Clear, Copy, ToXml methods and
  83. completed constructors.
  84. * DbDataPermissionAttribute.cs: Completed/fixed class.
  85. * PermissionHelper.cs: Helper methods to create permission classes.
  86. 2004-08-31 Francisco Figueiredo Jr. <[email protected]>
  87. * 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.
  88. 2004-07-21 Umadevi S <[email protected]>
  89. * DbDataRecord.cs - Fix for bug 58163. Return DBNull instead of null
  90. 2004-07-07 Umadevi S <[email protected]>
  91. * DataContainer.cs :CheckedforNull before calling the relavant setmethods in each of the
  92. SetItemForDataRecord method for the DateTimeClass
  93. 2004-06-24 Atsushi Enomoto <[email protected]>
  94. * DataColumnMappingCollection.cs : fixed typo.
  95. * DbDataAdapter.cs : column mappings were not filled.
  96. 2004-06-24 Atsushi Enomoto <[email protected]>
  97. * DataTableMapping.cs : Clone() should also clone ColumnMappings.
  98. 2004-06-18 Umadevi S <[email protected]>
  99. * DataContainer.cs - CheckedforNull before calling the relavant setmethods in each of the
  100. SetItemForDataRecord method for all the classes.
  101. 2004-06-17 Boris Kirzner <[email protected]>
  102. * RecordCache.cs : Added CopyRecord mathod that copies single record from one table to another.
  103. 2004-06-17 Boris Kirzner <[email protected]>
  104. * Datacontainer.cs :
  105. - Store and retreival of null and DBNull values reviewed.
  106. - Added GetInt64 to support AutoIncrement of DataColumn.
  107. - Added missing CopyValue method to BitDataContainer.
  108. - Added FillValues method to propagate single value to whole container.
  109. 2004-06-10 Umadevi S <[email protected]>
  110. * DataTableMappingCollection.cs - fixed nunit testcase errors
  111. IndexOfDataSetTable method
  112. 2004-06-09 Umadevi S <[email protected]>
  113. * DataTableMappingCollection.cs - fixed nunit testcase errors
  114. - Add, GetByDataSetTable,Insert, Remove, RemoveAt methods.
  115. 2004-06-09 Umadevi S <[email protected]>
  116. * DataColumnMappingCollection.cs - fixed nunit testcase errors
  117. - GetByDataSetColumn,IndexOfDataSetColumn, Remove methods.
  118. 2004-06-08 Umadevi S <[email protected]>
  119. * DataColumnMappingCollection.cs - fixed nunit testcase errors.
  120. - remove, removeat, contains methods.
  121. 2004-06-04 Gert Driesen <[email protected]>
  122. * DataAdapter.cs: added missing protected ctor
  123. * DbDataAdapter.cs: added stub for missing protected ctor
  124. * DbDataPermission.cs: added stubs for missing protected
  125. ctors, added stub for missing Clear method
  126. 2004-06-02 Gert Driesen <[email protected]>
  127. * DataColumnMappingCollection.cs: added missing attributes on
  128. indexers
  129. 2004-05-27 Boris Kirzner <[email protected]>
  130. * DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer.SetValue .
  131. 2004-05-20 Gert Driesen ([email protected])
  132. * DbDataPermissionAttribute.cs: change AllowMultiple and
  133. Inherited to match .NET
  134. 2004-05-19 Boris Kirzner <[email protected]>
  135. * Datacontainer.cs : CompareValues reviewed. set_Item and get_Item of null and DBNull values in case of DataContainers
  136. for primitive types reviewed. Added check for null values when reading from IDataRecord.
  137. 2004-05-19 Boris Kirzner <[email protected]>
  138. * RecordCache.cs - added. Each instance of record cache belongs to specific table
  139. and manages pool of records ( indexes into data containers) to be used by data rows.
  140. * DataContainer.cs - added. Provides implementation for data containers that holds data in arrays
  141. of primitives or objects. Each data container belongs to specific DataColumn.
  142. * DbDataAdapter.cs - changes to complete data storage redesign. Bug fix in FillTable
  143. ( to fetch exact number of records required ).
  144. 2004-05-13 Umadevi S ([email protected])
  145. * DbDataPermissionAttribute.cs - Added KeyRestrictions property with a TODO tag
  146. 2004-05-09 Gert Driesen ([email protected])
  147. * ComparerFactory.cs: marked internal
  148. 2003-04-26 Boris Kirzner <[email protected]>
  149. * DataColumnMappingCollection.cs : Small fix in exception message thrown.
  150. 2003-04-25 Boris Kirzner <[email protected]>
  151. * DbDataAdapter.cs : Fixed bug in Fill :
  152. - Reader can have empty results (fo example from UPDATE or DELETE).
  153. - Reader can have results with no rows (SELECT that returns 0 rows but have columns)
  154. - In FillTable - skip rows only once for each table.
  155. 2003-04-14 Juraj Skripsky <[email protected]>
  156. * DbDataAdapter.cs : Refactoring of Fill. New private method
  157. FillTable does most of the work now. Use int[] instead of
  158. hashtable for mapping. Move creation of tableArray[] outside
  159. of loop.
  160. 2004-03-12 Andreas Nahr <[email protected]>
  161. * DbDataPermissionAttribute.cs: Added .Net 1.1 marks
  162. * DataColumnMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
  163. * DataTableMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
  164. * DataColumnMappingConverter: Added stub
  165. * DataTableMappingConverter: Added stub
  166. 2004-03-03 Eran Domb <[email protected]>
  167. * ComparerFactory.cs : Added.
  168. 2004-01-10 Atsushi Enomoto <[email protected]>
  169. * DbDataPermission.cs : tiny fix to pass OleDbPermission.
  170. 2004-01-09 Atsushi Enomoto <[email protected]>
  171. * DbDataPermission.cs : .ctor(PermissionState state) should not call
  172. obsolete .ctor(state, allowBlankPassword). csc reports an error.
  173. 2003-12-30 Gonzalo Paniagua Javier <[email protected]>
  174. * DbDataAdapter.cs: handle MissingShemaAction.AddWithKey, call
  175. AcceptChanges in Update when a CommandBuilder is used and
  176. correctly fill information about primary keys in FillSchema.
  177. Patch from Sergei Malinin ([email protected]).
  178. 2003-12-23 Tim Coleman <[email protected]>
  179. * DbConnectionString.cs:
  180. Some implementation
  181. * DbProviderFactory.cs:
  182. Fix typo to make CLS compliant
  183. 2003-12-16 Jackson Harper <[email protected]>
  184. * SchemaTableOptionalColumn.cs: Add to fix default build
  185. 2003-12-16 Tim Coleman <[email protected]>
  186. * CatalogLocation.cs DbCommand.cs DbCommandBuilder.cs
  187. * DbCommandOptionalFeatures.cs DbCommandSet.cs DbConnection.cs
  188. * DbConnectionString.cs DbDataSourceEnumerator.cs
  189. * DbDataUpdatableRecord.cs DbParameter.cs DbParameterCollection.cs
  190. * DbProviderConfigurationHandler.cs DbProviderFactories.cs
  191. * DbProviderFactoriesConfigurationHandler.cs DbProviderFactory.cs
  192. * DbProviderSupportedClasses.cs DbTable.cs DbTransaction.cs
  193. * GroupByBehavior.cs IdentifierCase.cs SchemaLocation.cs
  194. * SchemaTableColumn.cs:
  195. New stubs added for .NET 1.2
  196. * DataAdapter.cs DataColumnMapping.cs DataColumnMappingCollection.cs
  197. * DataTableMapping.cs DataTableMappingCollection.cs DbDataAdapter.cs
  198. * DbDataPermission.cs DbDataPermissionAttribute.cs DbDataRecord.cs
  199. * FieldNameLookup.cs SchemaInfo.cs:
  200. Changes made for .NET 1.2
  201. 2003-10-22 Eran Domb <[email protected]>
  202. * DbDataAdapter.cs : Check if there is mapping to avoid exception.
  203. 2003-11-26 Tim Coleman <[email protected]>
  204. * DbDataReader.cs: Add new stub class
  205. 2003-11-23 Pedro Martínez Juliá <[email protected]>
  206. * DbDataAdapter.cs: Call command dispose in self dispose method. We
  207. need to dispose the connections and other stuff stored in the
  208. commands.
  209. 2003-11-10 Pedro Martínez Juliá <[email protected]>
  210. * DataColumnMappingCollection.cs: Fix a missing exception when the
  211. required mapping is not in the collection. MS.NET throws an
  212. exception there.
  213. 2003-10-22 Eran Domb <[email protected]>
  214. * DbDataAdapter.cs (Fill): add only the mapped column to the dataTable (not all columns of dataReader).
  215. Also closing the dataReader if an exception is thrown.
  216. (Fill): the same as above.
  217. (SetupSchema): in now return string (the table name).
  218. (GetFillParameters): fix a bug.
  219. (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.
  220. (Update): first open the connection if needed. Catch an exception of the ExecuteQuery.
  221. 2003-09-30 Duncan Mak <[email protected]>
  222. Patch from Eran Domb <[email protected]>.
  223. * DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
  224. 2003-09-25 Duncan Mak <[email protected]>
  225. * DbDataAdapter.cs (Fill): Patch from Eran Domb, <[email protected]>.
  226. Fixes a possible NullReferenceException, more details here:
  227. http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002116.html
  228. 2003-09-21 eran <[email protected]>
  229. * DbDataRecord.cs: The method
  230. System.Data.Common.DbDataRecord.GetValues(object[] values) did not
  231. put the values of the DbDataRecord into values parameter.
  232. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  233. * DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
  234. exception. Thanks to Mark Easton <[email protected]>.
  235. 2003-07-31 Duncan Mak <[email protected]>
  236. * DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
  237. NET_1_1.
  238. 2003-03-21 Alan Tam <[email protected]>
  239. * DbDataAdapter.cs: Update now uses correct DataRowVersion
  240. when accessing the data.
  241. 2003-03-17 Aleksey Demakov <[email protected]>
  242. * DbDataAdapter.cs: BuildSchema now uses ColumnName instead
  243. of BaseColumnName (bug #39830) for DataColumn names.
  244. BaseTableName is no longer taken into account as well.
  245. 2003-02-28 Aleksey Demakov <[email protected]>
  246. * DbDataAdapter.cs: Update (DataSet) updates the default
  247. table only.
  248. 2003-02-25 Alan Tam <[email protected]>
  249. * DbDataAdapter.cs: Added support for filling when schema is present.
  250. Fixed incorrect behavior when ColumnMapping is present
  251. when more than one fields have the same name. Implemented Dispose.
  252. Fixed error when there is no ColumnMapping at all.
  253. Still have some problems in finding the correct TableMapping
  254. because the SourceTable name is not present in BuildSchema
  255. 2003-02-24 Aleksey Demakov <[email protected]>
  256. * DbDataAdapter.cs: The original code might pass a null DataTableMapping
  257. value which is then used to create a RowUpdatingEventArgs
  258. instance. So RowUpdatingEvent handler (for instance
  259. CommandBuilder) could get null DataTableMapping which
  260. might be unexpected. The patch makes sure that a non-null
  261. DataTableMapping is passed.
  262. 2003-01-26 Gonzalo Paniagua Javier <[email protected]>
  263. * DbEnumerator.cs: why does the runtime throw an invalid cast here? The
  264. object is an Int16... Gotta fill a bug report and when fixed undo this
  265. patch.
  266. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  267. * DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.
  268. 2002-10-31 Daniel Morgan <[email protected]>
  269. * SchemaInfo.cs: added missing properties to fix mcs build
  270. 2002-05-05 Miguel de Icaza <[email protected]>
  271. * DataTableMapping.cs, DataTableMappingCollection.cs: comment out
  272. interfaces we do not implement yet.
  273. * DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
  274. we do not implement yet.
  275. * DbDataPermissionAttribute.cs: call base constructor.