1 2005-04-27 Sureshkumar T <tsureshkumar@novell.com>
3 * DbDataReader.cs: Added static method to construct the schema
4 table with default schema. Could be reused in many places.
6 2005-04-22 Sureshkumar T <tsureshkumar@novell.com>
8 * DbDataAdapter.cs: Moved FillTable and BuildSchema as static
9 methods as they are not operating on the current instance. This
10 could be reused to fill any table from a data reader.
12 * RecordCache.cs: While disposing records, make sure that the
13 record is not already disposed. i.e. to make sure later the same
14 record is not reused. Implemented a static method to compare two
15 version of records in a container.
17 2005-04-18 Sureshkumar T <tsureshkumar@novell.com>
19 * DataAdapter.cs: Implemenetd OnFillError handler.
21 * DbDataAdapter.cs: BuildSchema (): the table to be filled might
22 contain few additional columns as well. so mapping length should
23 be columns' length + fields' length.
25 2005-03-24 Sureshkumar T <tsureshkumar@novell.com>
27 * DbDataAdapter.cs: Update: If SourceColumn is null, do not set
28 value for the parameter.
30 2005-03-23 Sureshkumar T <tsureshkumar@novell.com>
32 * DbDataAdapter.cs: For Update, disable ReadOnly constraint
33 temporarily before updating the row. Info from Ingo Bauersachs.
34 SkipAllRemainingRows should also skip current row (msdn).
36 2005-03-22 Sureshkumar T <tsureshkumar@novell.com>
38 * DbDataAdapter.cs: Update (): update the rows based on the
39 UpdateRowSource property. Process further based on the
40 RowUpdatedEvent handler argument's Status property.
41 Fixes bug #73587. Thanks to mono@rankweg.ch (Ingo Bauersachs) for
44 * RowUpdatedEventArgs.cs: if custom error is not set, throw a
47 2005-03-01 Sureshkumar T <tsureshkumar@novell.com>
49 * ConnectionStringsSectionHandler.cs: Added. configuration section
50 handler for section "connectionStrings". This handler is a ad hoc
51 solution till the new configuration API is available in mono.
53 2005-02-04 Sureshkumar T <tsureshkumar@novell.com>
55 * DbDataAdapter.cs (Update ()) :
56 - Check for one return result set and map the values back to
58 - Check for output & return value parameters and update the value
60 - check for recordsAffected only after closing the reader.
62 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
64 * DbConnection.cs: Implement Dispose pattern.
66 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
68 * DbDataPermission.cs : Empty.Union(Empty) is Empty.
70 2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
72 * DbDataPermissionAttribute.cs, PermissionHelper.cs :
73 fixed some incompatible type of exception between 2.0 and 1.x.
75 Wrap exceptions thrown by SetValue() within ArgumentException.
77 2004-12-10 Sureshkumar T <tsureshkumar@novell.com>
79 * DbDataAdapter.cs (BuildSchema): Add the primary key schema iff
80 MissingSchemaAction is set to AddWithKey. Also, Add auto increment
81 value from the source table. fixes bug #67757 and #69110.
83 2004-11-24 Sureshkumar T <tsureshkumar@novell.com>
85 * DbProviderSupportedClasses.cs: Added correct enum values.
86 * DbConnection.cs: Missing virtual method EnlistTransaction Added.
87 * DbCommand.cs: Implemented ProviderFactory base factory methods.
89 2004-11-22 Sureshkumar T <tsureshkumar@novell.com>
91 * DbConnectionStringBuilder.cs: Class for helping creation of db
92 connection strings added.
94 2004-10-01 Sureshkumar T <tsureshkumar@novell.com>
96 * DbProviderFactories.cs: Implemented all the stubs. Added functionality for
97 getting available provider factories and creating a specified provider factory.
99 * DbProviderFactoriesConfigurationHandler.cs: Added functionality for handling
100 DbProviderFactories configuration section.
102 * DbProviderFactory.cs: Added protected constructor. SupportedClasses property
105 2004-09-14 Sebastien Pouliot <sebastien@ximian.com>
107 * DbDataPermission.cs: Implemented Intersect, IsSubsetOf and Union.
108 Implementation isn't complete as the restrictions seems to change the
109 expected results (breaking some rules like x.IsSubsetOf (x) == false).
110 Better (real-world) tests cases are required.
111 * PermissionHelper.cs: Fixed small differences between System.Data.dll
112 validations wrt to mscorlib.dll (XML and PermissionState).
114 2004-09-13 Sebastien Pouliot <sebastien@ximian.com>
116 * DbConnectionOptions.cs: New class for Fx 2.0. Partial implementation
117 to support new methods in DBDataPermission.
118 * DbConnectionString.cs: Updated class to split from/inherit
119 DbConnectionOptions class.
120 * DbDataPermission.cs: Implemented Add, Clear, Copy, ToXml methods and
121 completed constructors.
122 * DbDataPermissionAttribute.cs: Completed/fixed class.
123 * PermissionHelper.cs: Helper methods to create permission classes.
125 2004-08-31 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
126 * 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.
128 2004-07-21 Umadevi S <sumadevi@novell.com>
129 * DbDataRecord.cs - Fix for bug 58163. Return DBNull instead of null
131 2004-07-07 Umadevi S <sumadevi@novell.com>
132 * DataContainer.cs :CheckedforNull before calling the relavant setmethods in each of the
133 SetItemForDataRecord method for the DateTimeClass
136 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
138 * DataColumnMappingCollection.cs : fixed typo.
139 * DbDataAdapter.cs : column mappings were not filled.
141 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
143 * DataTableMapping.cs : Clone() should also clone ColumnMappings.
145 2004-06-18 Umadevi S <sumadevi@novell.com>
146 * DataContainer.cs - CheckedforNull before calling the relavant setmethods in each of the
147 SetItemForDataRecord method for all the classes.
149 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
150 * RecordCache.cs : Added CopyRecord mathod that copies single record from one table to another.
152 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
154 - Store and retreival of null and DBNull values reviewed.
155 - Added GetInt64 to support AutoIncrement of DataColumn.
156 - Added missing CopyValue method to BitDataContainer.
157 - Added FillValues method to propagate single value to whole container.
159 2004-06-10 Umadevi S <sumadevi@novell.com>
160 * DataTableMappingCollection.cs - fixed nunit testcase errors
161 IndexOfDataSetTable method
163 2004-06-09 Umadevi S <sumadevi@novell.com>
164 * DataTableMappingCollection.cs - fixed nunit testcase errors
165 - Add, GetByDataSetTable,Insert, Remove, RemoveAt methods.
167 2004-06-09 Umadevi S <sumadevi@novell.com>
168 * DataColumnMappingCollection.cs - fixed nunit testcase errors
169 - GetByDataSetColumn,IndexOfDataSetColumn, Remove methods.
171 2004-06-08 Umadevi S <sumadevi@novell.com>
172 * DataColumnMappingCollection.cs - fixed nunit testcase errors.
173 - remove, removeat, contains methods.
175 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
177 * DataAdapter.cs: added missing protected ctor
178 * DbDataAdapter.cs: added stub for missing protected ctor
179 * DbDataPermission.cs: added stubs for missing protected
180 ctors, added stub for missing Clear method
182 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
183 * DataColumnMappingCollection.cs: added missing attributes on
186 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
187 * DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer.SetValue .
189 2004-05-20 Gert Driesen (drieseng@users.sourceforge.net)
191 * DbDataPermissionAttribute.cs: change AllowMultiple and
192 Inherited to match .NET
194 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
195 * Datacontainer.cs : CompareValues reviewed. set_Item and get_Item of null and DBNull values in case of DataContainers
196 for primitive types reviewed. Added check for null values when reading from IDataRecord.
198 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
199 * RecordCache.cs - added. Each instance of record cache belongs to specific table
200 and manages pool of records ( indexes into data containers) to be used by data rows.
201 * DataContainer.cs - added. Provides implementation for data containers that holds data in arrays
202 of primitives or objects. Each data container belongs to specific DataColumn.
203 * DbDataAdapter.cs - changes to complete data storage redesign. Bug fix in FillTable
204 ( to fetch exact number of records required ).
206 2004-05-13 Umadevi S (sumadevi@novell.com)
207 * DbDataPermissionAttribute.cs - Added KeyRestrictions property with a TODO tag
209 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
210 * ComparerFactory.cs: marked internal
212 2003-04-26 Boris Kirzner <borisk@mainsoft.com>
213 * DataColumnMappingCollection.cs : Small fix in exception message thrown.
215 2003-04-25 Boris Kirzner <borisk@mainsoft.com>
216 * DbDataAdapter.cs : Fixed bug in Fill :
217 - Reader can have empty results (fo example from UPDATE or DELETE).
218 - Reader can have results with no rows (SELECT that returns 0 rows but have columns)
219 - In FillTable - skip rows only once for each table.
221 2003-04-14 Juraj Skripsky <juraj@hotfeet.ch>
222 * DbDataAdapter.cs : Refactoring of Fill. New private method
223 FillTable does most of the work now. Use int[] instead of
224 hashtable for mapping. Move creation of tableArray[] outside
227 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
229 * DbDataPermissionAttribute.cs: Added .Net 1.1 marks
230 * DataColumnMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
231 * DataTableMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
232 * DataColumnMappingConverter: Added stub
233 * DataTableMappingConverter: Added stub
235 2004-03-03 Eran Domb <erand@miansoft.com>
237 * ComparerFactory.cs : Added.
239 2004-01-10 Atsushi Enomoto <atsushi@ximian.com>
241 * DbDataPermission.cs : tiny fix to pass OleDbPermission.
243 2004-01-09 Atsushi Enomoto <atsushi@ximian.com>
245 * DbDataPermission.cs : .ctor(PermissionState state) should not call
246 obsolete .ctor(state, allowBlankPassword). csc reports an error.
248 2003-12-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
250 * DbDataAdapter.cs: handle MissingShemaAction.AddWithKey, call
251 AcceptChanges in Update when a CommandBuilder is used and
252 correctly fill information about primary keys in FillSchema.
253 Patch from Sergei Malinin (smalinin@amurnet.ru).
255 2003-12-23 Tim Coleman <tim@timcoleman.com>
256 * DbConnectionString.cs:
258 * DbProviderFactory.cs:
259 Fix typo to make CLS compliant
261 2003-12-16 Jackson Harper <jackson@ximian.com>
263 * SchemaTableOptionalColumn.cs: Add to fix default build
265 2003-12-16 Tim Coleman <tim@timcoleman.com>
266 * CatalogLocation.cs DbCommand.cs DbCommandBuilder.cs
267 * DbCommandOptionalFeatures.cs DbCommandSet.cs DbConnection.cs
268 * DbConnectionString.cs DbDataSourceEnumerator.cs
269 * DbDataUpdatableRecord.cs DbParameter.cs DbParameterCollection.cs
270 * DbProviderConfigurationHandler.cs DbProviderFactories.cs
271 * DbProviderFactoriesConfigurationHandler.cs DbProviderFactory.cs
272 * DbProviderSupportedClasses.cs DbTable.cs DbTransaction.cs
273 * GroupByBehavior.cs IdentifierCase.cs SchemaLocation.cs
274 * SchemaTableColumn.cs:
275 New stubs added for .NET 1.2
276 * DataAdapter.cs DataColumnMapping.cs DataColumnMappingCollection.cs
277 * DataTableMapping.cs DataTableMappingCollection.cs DbDataAdapter.cs
278 * DbDataPermission.cs DbDataPermissionAttribute.cs DbDataRecord.cs
279 * FieldNameLookup.cs SchemaInfo.cs:
280 Changes made for .NET 1.2
282 2003-10-22 Eran Domb <erand@miansoft.com>
283 * DbDataAdapter.cs : Check if there is mapping to avoid exception.
285 2003-11-26 Tim Coleman <tim@timcoleman.com>
286 * DbDataReader.cs: Add new stub class
288 2003-11-23 Pedro Martínez Juliá <yoros@wanadoo.es>
290 * DbDataAdapter.cs: Call command dispose in self dispose method. We
291 need to dispose the connections and other stuff stored in the
294 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
296 * DataColumnMappingCollection.cs: Fix a missing exception when the
297 required mapping is not in the collection. MS.NET throws an
300 2003-10-22 Eran Domb <erand@miansoft.com>
302 * DbDataAdapter.cs (Fill): add only the mapped column to the dataTable (not all columns of dataReader).
\r
303 Also closing the dataReader if an exception is thrown.
\r
304 (Fill): the same as above.
\r
305 (SetupSchema): in now return string (the table name).
\r
306 (GetFillParameters): fix a bug.
\r
307 (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
308 (Update): first open the connection if needed. Catch an exception of the ExecuteQuery.
311 2003-09-30 Duncan Mak <duncan@ximian.com>
313 Patch from Eran Domb <eran@mainsoft.com>.
315 * DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
317 2003-09-25 Duncan Mak <duncan@ximian.com>
319 * DbDataAdapter.cs (Fill): Patch from Eran Domb, <eran@mainsoft.com>.
320 Fixes a possible NullReferenceException, more details here:
322 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002116.html
324 2003-09-21 eran <erand@mainsoft.com>
326 * DbDataRecord.cs: The method
327 System.Data.Common.DbDataRecord.GetValues(object[] values) did not
328 put the values of the DbDataRecord into values parameter.
330 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
332 * DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
333 exception. Thanks to Mark Easton <measton@tebiki.co.uk>.
335 2003-07-31 Duncan Mak <duncan@ximian.com>
337 * DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
340 2003-03-21 Alan Tam <Tam@SiuLung.com>
342 * DbDataAdapter.cs: Update now uses correct DataRowVersion
343 when accessing the data.
345 2003-03-17 Aleksey Demakov <avd@openlinksw.com>
347 * DbDataAdapter.cs: BuildSchema now uses ColumnName instead
348 of BaseColumnName (bug #39830) for DataColumn names.
349 BaseTableName is no longer taken into account as well.
351 2003-02-28 Aleksey Demakov <avd@openlinksw.com>
353 * DbDataAdapter.cs: Update (DataSet) updates the default
356 2003-02-25 Alan Tam <Tam@SiuLung.com>
358 * DbDataAdapter.cs: Added support for filling when schema is present.
359 Fixed incorrect behavior when ColumnMapping is present
360 when more than one fields have the same name. Implemented Dispose.
361 Fixed error when there is no ColumnMapping at all.
362 Still have some problems in finding the correct TableMapping
363 because the SourceTable name is not present in BuildSchema
365 2003-02-24 Aleksey Demakov <avd@openlinksw.com>
367 * DbDataAdapter.cs: The original code might pass a null DataTableMapping
368 value which is then used to create a RowUpdatingEventArgs
369 instance. So RowUpdatingEvent handler (for instance
370 CommandBuilder) could get null DataTableMapping which
371 might be unexpected. The patch makes sure that a non-null
372 DataTableMapping is passed.
374 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
376 * DbEnumerator.cs: why does the runtime throw an invalid cast here? The
377 object is an Int16... Gotta fill a bug report and when fixed undo this
380 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
382 * DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.
384 2002-10-31 Daniel Morgan <danmorg@sc.rr.com>
386 * SchemaInfo.cs: added missing properties to fix mcs build
388 2002-05-05 Miguel de Icaza <miguel@ximian.com>
390 * DataTableMapping.cs, DataTableMappingCollection.cs: comment out
391 interfaces we do not implement yet.
393 * DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
394 we do not implement yet.
396 * DbDataPermissionAttribute.cs: call base constructor.