ChangeLog 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  1. 2004-09-13 Sebastien Pouliot <[email protected]>
  2. * DbConnectionOptions.cs: New class for Fx 2.0. Partial implementation
  3. to support new methods in DBDataPermission.
  4. * DbConnectionString.cs: Updated class to split from/inherit
  5. DbConnectionOptions class.
  6. * DbDataPermission.cs: Implemented Add, Clear, Copy, ToXml methods and
  7. completed constructors.
  8. * DbDataPermissionAttribute.cs: Completed/fixed class.
  9. * PermissionHelper.cs: Helper methods to create permission classes.
  10. 2004-08-31 Francisco Figueiredo Jr. <[email protected]>
  11. * 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.
  12. 2004-07-21 Umadevi S <[email protected]>
  13. * DbDataRecord.cs - Fix for bug 58163. Return DBNull instead of null
  14. 2004-07-07 Umadevi S <[email protected]>
  15. * DataContainer.cs :CheckedforNull before calling the relavant setmethods in each of the
  16. SetItemForDataRecord method for the DateTimeClass
  17. 2004-06-24 Atsushi Enomoto <[email protected]>
  18. * DataColumnMappingCollection.cs : fixed typo.
  19. * DbDataAdapter.cs : column mappings were not filled.
  20. 2004-06-24 Atsushi Enomoto <[email protected]>
  21. * DataTableMapping.cs : Clone() should also clone ColumnMappings.
  22. 2004-06-18 Umadevi S <[email protected]>
  23. * DataContainer.cs - CheckedforNull before calling the relavant setmethods in each of the
  24. SetItemForDataRecord method for all the classes.
  25. 2004-06-17 Boris Kirzner <[email protected]>
  26. * RecordCache.cs : Added CopyRecord mathod that copies single record from one table to another.
  27. 2004-06-17 Boris Kirzner <[email protected]>
  28. * Datacontainer.cs :
  29. - Store and retreival of null and DBNull values reviewed.
  30. - Added GetInt64 to support AutoIncrement of DataColumn.
  31. - Added missing CopyValue method to BitDataContainer.
  32. - Added FillValues method to propagate single value to whole container.
  33. 2004-06-10 Umadevi S <[email protected]>
  34. * DataTableMappingCollection.cs - fixed nunit testcase errors
  35. IndexOfDataSetTable method
  36. 2004-06-09 Umadevi S <[email protected]>
  37. * DataTableMappingCollection.cs - fixed nunit testcase errors
  38. - Add, GetByDataSetTable,Insert, Remove, RemoveAt methods.
  39. 2004-06-09 Umadevi S <[email protected]>
  40. * DataColumnMappingCollection.cs - fixed nunit testcase errors
  41. - GetByDataSetColumn,IndexOfDataSetColumn, Remove methods.
  42. 2004-06-08 Umadevi S <[email protected]>
  43. * DataColumnMappingCollection.cs - fixed nunit testcase errors.
  44. - remove, removeat, contains methods.
  45. 2004-06-04 Gert Driesen <[email protected]>
  46. * DataAdapter.cs: added missing protected ctor
  47. * DbDataAdapter.cs: added stub for missing protected ctor
  48. * DbDataPermission.cs: added stubs for missing protected
  49. ctors, added stub for missing Clear method
  50. 2004-06-02 Gert Driesen <[email protected]>
  51. * DataColumnMappingCollection.cs: added missing attributes on
  52. indexers
  53. 2004-05-27 Boris Kirzner <[email protected]>
  54. * DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer.SetValue .
  55. 2004-05-20 Gert Driesen ([email protected])
  56. * DbDataPermissionAttribute.cs: change AllowMultiple and
  57. Inherited to match .NET
  58. 2004-05-19 Boris Kirzner <[email protected]>
  59. * Datacontainer.cs : CompareValues reviewed. set_Item and get_Item of null and DBNull values in case of DataContainers
  60. for primitive types reviewed. Added check for null values when reading from IDataRecord.
  61. 2004-05-19 Boris Kirzner <[email protected]>
  62. * RecordCache.cs - added. Each instance of record cache belongs to specific table
  63. and manages pool of records ( indexes into data containers) to be used by data rows.
  64. * DataContainer.cs - added. Provides implementation for data containers that holds data in arrays
  65. of primitives or objects. Each data container belongs to specific DataColumn.
  66. * DbDataAdapter.cs - changes to complete data storage redesign. Bug fix in FillTable
  67. ( to fetch exact number of records required ).
  68. 2004-05-13 Umadevi S ([email protected])
  69. * DbDataPermissionAttribute.cs - Added KeyRestrictions property with a TODO tag
  70. 2004-05-09 Gert Driesen ([email protected])
  71. * ComparerFactory.cs: marked internal
  72. 2003-04-26 Boris Kirzner <[email protected]>
  73. * DataColumnMappingCollection.cs : Small fix in exception message thrown.
  74. 2003-04-25 Boris Kirzner <[email protected]>
  75. * DbDataAdapter.cs : Fixed bug in Fill :
  76. - Reader can have empty results (fo example from UPDATE or DELETE).
  77. - Reader can have results with no rows (SELECT that returns 0 rows but have columns)
  78. - In FillTable - skip rows only once for each table.
  79. 2003-04-14 Juraj Skripsky <[email protected]>
  80. * DbDataAdapter.cs : Refactoring of Fill. New private method
  81. FillTable does most of the work now. Use int[] instead of
  82. hashtable for mapping. Move creation of tableArray[] outside
  83. of loop.
  84. 2004-03-12 Andreas Nahr <[email protected]>
  85. * DbDataPermissionAttribute.cs: Added .Net 1.1 marks
  86. * DataColumnMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
  87. * DataTableMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
  88. * DataColumnMappingConverter: Added stub
  89. * DataTableMappingConverter: Added stub
  90. 2004-03-03 Eran Domb <[email protected]>
  91. * ComparerFactory.cs : Added.
  92. 2004-01-10 Atsushi Enomoto <[email protected]>
  93. * DbDataPermission.cs : tiny fix to pass OleDbPermission.
  94. 2004-01-09 Atsushi Enomoto <[email protected]>
  95. * DbDataPermission.cs : .ctor(PermissionState state) should not call
  96. obsolete .ctor(state, allowBlankPassword). csc reports an error.
  97. 2003-12-30 Gonzalo Paniagua Javier <[email protected]>
  98. * DbDataAdapter.cs: handle MissingShemaAction.AddWithKey, call
  99. AcceptChanges in Update when a CommandBuilder is used and
  100. correctly fill information about primary keys in FillSchema.
  101. Patch from Sergei Malinin ([email protected]).
  102. 2003-12-23 Tim Coleman <[email protected]>
  103. * DbConnectionString.cs:
  104. Some implementation
  105. * DbProviderFactory.cs:
  106. Fix typo to make CLS compliant
  107. 2003-12-16 Jackson Harper <[email protected]>
  108. * SchemaTableOptionalColumn.cs: Add to fix default build
  109. 2003-12-16 Tim Coleman <[email protected]>
  110. * CatalogLocation.cs DbCommand.cs DbCommandBuilder.cs
  111. * DbCommandOptionalFeatures.cs DbCommandSet.cs DbConnection.cs
  112. * DbConnectionString.cs DbDataSourceEnumerator.cs
  113. * DbDataUpdatableRecord.cs DbParameter.cs DbParameterCollection.cs
  114. * DbProviderConfigurationHandler.cs DbProviderFactories.cs
  115. * DbProviderFactoriesConfigurationHandler.cs DbProviderFactory.cs
  116. * DbProviderSupportedClasses.cs DbTable.cs DbTransaction.cs
  117. * GroupByBehavior.cs IdentifierCase.cs SchemaLocation.cs
  118. * SchemaTableColumn.cs:
  119. New stubs added for .NET 1.2
  120. * DataAdapter.cs DataColumnMapping.cs DataColumnMappingCollection.cs
  121. * DataTableMapping.cs DataTableMappingCollection.cs DbDataAdapter.cs
  122. * DbDataPermission.cs DbDataPermissionAttribute.cs DbDataRecord.cs
  123. * FieldNameLookup.cs SchemaInfo.cs:
  124. Changes made for .NET 1.2
  125. 2003-10-22 Eran Domb <[email protected]>
  126. * DbDataAdapter.cs : Check if there is mapping to avoid exception.
  127. 2003-11-26 Tim Coleman <[email protected]>
  128. * DbDataReader.cs: Add new stub class
  129. 2003-11-23 Pedro Martínez Juliá <[email protected]>
  130. * DbDataAdapter.cs: Call command dispose in self dispose method. We
  131. need to dispose the connections and other stuff stored in the
  132. commands.
  133. 2003-11-10 Pedro Martínez Juliá <[email protected]>
  134. * DataColumnMappingCollection.cs: Fix a missing exception when the
  135. required mapping is not in the collection. MS.NET throws an
  136. exception there.
  137. 2003-10-22 Eran Domb <[email protected]>
  138. * DbDataAdapter.cs (Fill): add only the mapped column to the dataTable (not all columns of dataReader).
  139. Also closing the dataReader if an exception is thrown.
  140. (Fill): the same as above.
  141. (SetupSchema): in now return string (the table name).
  142. (GetFillParameters): fix a bug.
  143. (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.
  144. (Update): first open the connection if needed. Catch an exception of the ExecuteQuery.
  145. 2003-09-30 Duncan Mak <[email protected]>
  146. Patch from Eran Domb <[email protected]>.
  147. * DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
  148. 2003-09-25 Duncan Mak <[email protected]>
  149. * DbDataAdapter.cs (Fill): Patch from Eran Domb, <[email protected]>.
  150. Fixes a possible NullReferenceException, more details here:
  151. http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002116.html
  152. 2003-09-21 eran <[email protected]>
  153. * DbDataRecord.cs: The method
  154. System.Data.Common.DbDataRecord.GetValues(object[] values) did not
  155. put the values of the DbDataRecord into values parameter.
  156. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  157. * DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
  158. exception. Thanks to Mark Easton <[email protected]>.
  159. 2003-07-31 Duncan Mak <[email protected]>
  160. * DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
  161. NET_1_1.
  162. 2003-03-21 Alan Tam <[email protected]>
  163. * DbDataAdapter.cs: Update now uses correct DataRowVersion
  164. when accessing the data.
  165. 2003-03-17 Aleksey Demakov <[email protected]>
  166. * DbDataAdapter.cs: BuildSchema now uses ColumnName instead
  167. of BaseColumnName (bug #39830) for DataColumn names.
  168. BaseTableName is no longer taken into account as well.
  169. 2003-02-28 Aleksey Demakov <[email protected]>
  170. * DbDataAdapter.cs: Update (DataSet) updates the default
  171. table only.
  172. 2003-02-25 Alan Tam <[email protected]>
  173. * DbDataAdapter.cs: Added support for filling when schema is present.
  174. Fixed incorrect behavior when ColumnMapping is present
  175. when more than one fields have the same name. Implemented Dispose.
  176. Fixed error when there is no ColumnMapping at all.
  177. Still have some problems in finding the correct TableMapping
  178. because the SourceTable name is not present in BuildSchema
  179. 2003-02-24 Aleksey Demakov <[email protected]>
  180. * DbDataAdapter.cs: The original code might pass a null DataTableMapping
  181. value which is then used to create a RowUpdatingEventArgs
  182. instance. So RowUpdatingEvent handler (for instance
  183. CommandBuilder) could get null DataTableMapping which
  184. might be unexpected. The patch makes sure that a non-null
  185. DataTableMapping is passed.
  186. 2003-01-26 Gonzalo Paniagua Javier <[email protected]>
  187. * DbEnumerator.cs: why does the runtime throw an invalid cast here? The
  188. object is an Int16... Gotta fill a bug report and when fixed undo this
  189. patch.
  190. 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
  191. * DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.
  192. 2002-10-31 Daniel Morgan <[email protected]>
  193. * SchemaInfo.cs: added missing properties to fix mcs build
  194. 2002-05-05 Miguel de Icaza <[email protected]>
  195. * DataTableMapping.cs, DataTableMappingCollection.cs: comment out
  196. interfaces we do not implement yet.
  197. * DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
  198. we do not implement yet.
  199. * DbDataPermissionAttribute.cs: call base constructor.