1 2004-12-10 Sureshkumar T <tsureshkumar@novell.com>
3 * DbDataAdapter.cs (BuildSchema): Add the primary key schema iff
4 MissingSchemaAction is set to AddWithKey. Also, Add auto increment
5 value from the source table. fixes bug #67757 and #69110.
7 2004-11-24 Sureshkumar T <tsureshkumar@novell.com>
9 * DbProviderSupportedClasses.cs: Added correct enum values.
10 * DbConnection.cs: Missing virtual method EnlistTransaction Added.
11 * DbCommand.cs: Implemented ProviderFactory base factory methods.
13 2004-11-22 Sureshkumar T <tsureshkumar@novell.com>
15 * DbConnectionStringBuilder.cs: Class for helping creation of db
16 connection strings added.
18 2004-10-01 Sureshkumar T <tsureshkumar@novell.com>
20 * DbProviderFactories.cs: Implemented all the stubs. Added functionality for
21 getting available provider factories and creating a specified provider factory.
23 * DbProviderFactoriesConfigurationHandler.cs: Added functionality for handling
24 DbProviderFactories configuration section.
26 * DbProviderFactory.cs: Added protected constructor. SupportedClasses property
29 2004-09-14 Sebastien Pouliot <sebastien@ximian.com>
31 * DbDataPermission.cs: Implemented Intersect, IsSubsetOf and Union.
32 Implementation isn't complete as the restrictions seems to change the
33 expected results (breaking some rules like x.IsSubsetOf (x) == false).
34 Better (real-world) tests cases are required.
35 * PermissionHelper.cs: Fixed small differences between System.Data.dll
36 validations wrt to mscorlib.dll (XML and PermissionState).
38 2004-09-13 Sebastien Pouliot <sebastien@ximian.com>
40 * DbConnectionOptions.cs: New class for Fx 2.0. Partial implementation
41 to support new methods in DBDataPermission.
42 * DbConnectionString.cs: Updated class to split from/inherit
43 DbConnectionOptions class.
44 * DbDataPermission.cs: Implemented Add, Clear, Copy, ToXml methods and
45 completed constructors.
46 * DbDataPermissionAttribute.cs: Completed/fixed class.
47 * PermissionHelper.cs: Helper methods to create permission classes.
49 2004-08-31 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
50 * 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.
52 2004-07-21 Umadevi S <sumadevi@novell.com>
53 * DbDataRecord.cs - Fix for bug 58163. Return DBNull instead of null
55 2004-07-07 Umadevi S <sumadevi@novell.com>
56 * DataContainer.cs :CheckedforNull before calling the relavant setmethods in each of the
57 SetItemForDataRecord method for the DateTimeClass
60 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
62 * DataColumnMappingCollection.cs : fixed typo.
63 * DbDataAdapter.cs : column mappings were not filled.
65 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
67 * DataTableMapping.cs : Clone() should also clone ColumnMappings.
69 2004-06-18 Umadevi S <sumadevi@novell.com>
70 * DataContainer.cs - CheckedforNull before calling the relavant setmethods in each of the
71 SetItemForDataRecord method for all the classes.
73 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
74 * RecordCache.cs : Added CopyRecord mathod that copies single record from one table to another.
76 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
78 - Store and retreival of null and DBNull values reviewed.
79 - Added GetInt64 to support AutoIncrement of DataColumn.
80 - Added missing CopyValue method to BitDataContainer.
81 - Added FillValues method to propagate single value to whole container.
83 2004-06-10 Umadevi S <sumadevi@novell.com>
84 * DataTableMappingCollection.cs - fixed nunit testcase errors
85 IndexOfDataSetTable method
87 2004-06-09 Umadevi S <sumadevi@novell.com>
88 * DataTableMappingCollection.cs - fixed nunit testcase errors
89 - Add, GetByDataSetTable,Insert, Remove, RemoveAt methods.
91 2004-06-09 Umadevi S <sumadevi@novell.com>
92 * DataColumnMappingCollection.cs - fixed nunit testcase errors
93 - GetByDataSetColumn,IndexOfDataSetColumn, Remove methods.
95 2004-06-08 Umadevi S <sumadevi@novell.com>
96 * DataColumnMappingCollection.cs - fixed nunit testcase errors.
97 - remove, removeat, contains methods.
99 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
101 * DataAdapter.cs: added missing protected ctor
102 * DbDataAdapter.cs: added stub for missing protected ctor
103 * DbDataPermission.cs: added stubs for missing protected
104 ctors, added stub for missing Clear method
106 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
107 * DataColumnMappingCollection.cs: added missing attributes on
110 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
111 * DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer.SetValue .
113 2004-05-20 Gert Driesen (drieseng@users.sourceforge.net)
115 * DbDataPermissionAttribute.cs: change AllowMultiple and
116 Inherited to match .NET
118 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
119 * Datacontainer.cs : CompareValues reviewed. set_Item and get_Item of null and DBNull values in case of DataContainers
120 for primitive types reviewed. Added check for null values when reading from IDataRecord.
122 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
123 * RecordCache.cs - added. Each instance of record cache belongs to specific table
124 and manages pool of records ( indexes into data containers) to be used by data rows.
125 * DataContainer.cs - added. Provides implementation for data containers that holds data in arrays
126 of primitives or objects. Each data container belongs to specific DataColumn.
127 * DbDataAdapter.cs - changes to complete data storage redesign. Bug fix in FillTable
128 ( to fetch exact number of records required ).
130 2004-05-13 Umadevi S (sumadevi@novell.com)
131 * DbDataPermissionAttribute.cs - Added KeyRestrictions property with a TODO tag
133 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
134 * ComparerFactory.cs: marked internal
136 2003-04-26 Boris Kirzner <borisk@mainsoft.com>
137 * DataColumnMappingCollection.cs : Small fix in exception message thrown.
139 2003-04-25 Boris Kirzner <borisk@mainsoft.com>
140 * DbDataAdapter.cs : Fixed bug in Fill :
141 - Reader can have empty results (fo example from UPDATE or DELETE).
142 - Reader can have results with no rows (SELECT that returns 0 rows but have columns)
143 - In FillTable - skip rows only once for each table.
145 2003-04-14 Juraj Skripsky <juraj@hotfeet.ch>
146 * DbDataAdapter.cs : Refactoring of Fill. New private method
147 FillTable does most of the work now. Use int[] instead of
148 hashtable for mapping. Move creation of tableArray[] outside
151 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
153 * DbDataPermissionAttribute.cs: Added .Net 1.1 marks
154 * DataColumnMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
155 * DataTableMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
156 * DataColumnMappingConverter: Added stub
157 * DataTableMappingConverter: Added stub
159 2004-03-03 Eran Domb <erand@miansoft.com>
161 * ComparerFactory.cs : Added.
163 2004-01-10 Atsushi Enomoto <atsushi@ximian.com>
165 * DbDataPermission.cs : tiny fix to pass OleDbPermission.
167 2004-01-09 Atsushi Enomoto <atsushi@ximian.com>
169 * DbDataPermission.cs : .ctor(PermissionState state) should not call
170 obsolete .ctor(state, allowBlankPassword). csc reports an error.
172 2003-12-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
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 (smalinin@amurnet.ru).
179 2003-12-23 Tim Coleman <tim@timcoleman.com>
180 * DbConnectionString.cs:
182 * DbProviderFactory.cs:
183 Fix typo to make CLS compliant
185 2003-12-16 Jackson Harper <jackson@ximian.com>
187 * SchemaTableOptionalColumn.cs: Add to fix default build
189 2003-12-16 Tim Coleman <tim@timcoleman.com>
190 * CatalogLocation.cs DbCommand.cs DbCommandBuilder.cs
191 * DbCommandOptionalFeatures.cs DbCommandSet.cs DbConnection.cs
192 * DbConnectionString.cs DbDataSourceEnumerator.cs
193 * DbDataUpdatableRecord.cs DbParameter.cs DbParameterCollection.cs
194 * DbProviderConfigurationHandler.cs DbProviderFactories.cs
195 * DbProviderFactoriesConfigurationHandler.cs DbProviderFactory.cs
196 * DbProviderSupportedClasses.cs DbTable.cs DbTransaction.cs
197 * GroupByBehavior.cs IdentifierCase.cs SchemaLocation.cs
198 * SchemaTableColumn.cs:
199 New stubs added for .NET 1.2
200 * DataAdapter.cs DataColumnMapping.cs DataColumnMappingCollection.cs
201 * DataTableMapping.cs DataTableMappingCollection.cs DbDataAdapter.cs
202 * DbDataPermission.cs DbDataPermissionAttribute.cs DbDataRecord.cs
203 * FieldNameLookup.cs SchemaInfo.cs:
204 Changes made for .NET 1.2
206 2003-10-22 Eran Domb <erand@miansoft.com>
207 * DbDataAdapter.cs : Check if there is mapping to avoid exception.
209 2003-11-26 Tim Coleman <tim@timcoleman.com>
210 * DbDataReader.cs: Add new stub class
212 2003-11-23 Pedro Martínez Juliá <yoros@wanadoo.es>
214 * DbDataAdapter.cs: Call command dispose in self dispose method. We
215 need to dispose the connections and other stuff stored in the
218 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
220 * DataColumnMappingCollection.cs: Fix a missing exception when the
221 required mapping is not in the collection. MS.NET throws an
224 2003-10-22 Eran Domb <erand@miansoft.com>
226 * DbDataAdapter.cs (Fill): add only the mapped column to the dataTable (not all columns of dataReader).
\r
227 Also closing the dataReader if an exception is thrown.
\r
228 (Fill): the same as above.
\r
229 (SetupSchema): in now return string (the table name).
\r
230 (GetFillParameters): fix a bug.
\r
231 (BuildSchema)
\96 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.
\r
232 (Update): first open the connection if needed. Catch an exception of the ExecuteQuery.
235 2003-09-30 Duncan Mak <duncan@ximian.com>
237 Patch from Eran Domb <eran@mainsoft.com>.
239 * DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
241 2003-09-25 Duncan Mak <duncan@ximian.com>
243 * DbDataAdapter.cs (Fill): Patch from Eran Domb, <eran@mainsoft.com>.
244 Fixes a possible NullReferenceException, more details here:
246 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002116.html
248 2003-09-21 eran <erand@mainsoft.com>
250 * DbDataRecord.cs: The method
251 System.Data.Common.DbDataRecord.GetValues(object[] values) did not
252 put the values of the DbDataRecord into values parameter.
254 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
256 * DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
257 exception. Thanks to Mark Easton <measton@tebiki.co.uk>.
259 2003-07-31 Duncan Mak <duncan@ximian.com>
261 * DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
264 2003-03-21 Alan Tam <Tam@SiuLung.com>
266 * DbDataAdapter.cs: Update now uses correct DataRowVersion
267 when accessing the data.
269 2003-03-17 Aleksey Demakov <avd@openlinksw.com>
271 * DbDataAdapter.cs: BuildSchema now uses ColumnName instead
272 of BaseColumnName (bug #39830) for DataColumn names.
273 BaseTableName is no longer taken into account as well.
275 2003-02-28 Aleksey Demakov <avd@openlinksw.com>
277 * DbDataAdapter.cs: Update (DataSet) updates the default
280 2003-02-25 Alan Tam <Tam@SiuLung.com>
282 * DbDataAdapter.cs: Added support for filling when schema is present.
283 Fixed incorrect behavior when ColumnMapping is present
284 when more than one fields have the same name. Implemented Dispose.
285 Fixed error when there is no ColumnMapping at all.
286 Still have some problems in finding the correct TableMapping
287 because the SourceTable name is not present in BuildSchema
289 2003-02-24 Aleksey Demakov <avd@openlinksw.com>
291 * DbDataAdapter.cs: The original code might pass a null DataTableMapping
292 value which is then used to create a RowUpdatingEventArgs
293 instance. So RowUpdatingEvent handler (for instance
294 CommandBuilder) could get null DataTableMapping which
295 might be unexpected. The patch makes sure that a non-null
296 DataTableMapping is passed.
298 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
300 * DbEnumerator.cs: why does the runtime throw an invalid cast here? The
301 object is an Int16... Gotta fill a bug report and when fixed undo this
304 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
306 * DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.
308 2002-10-31 Daniel Morgan <danmorg@sc.rr.com>
310 * SchemaInfo.cs: added missing properties to fix mcs build
312 2002-05-05 Miguel de Icaza <miguel@ximian.com>
314 * DataTableMapping.cs, DataTableMappingCollection.cs: comment out
315 interfaces we do not implement yet.
317 * DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
318 we do not implement yet.
320 * DbDataPermissionAttribute.cs: call base constructor.