ChangeLog 14 KB

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