ChangeLog 12 KB

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