ChangeLog 7.8 KB

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