1 2006-09-06 Konstantin Triger <kostat@mainsoft.com>
3 * DbDataAdapter.cs: added basic implementation for some 2.0 features.
5 2006-08-24 Vladimir Krasnov <vladimirk@mainsoft.com>
7 * DbProviderFactories.cs: added TARGET_JVM block to not supported
10 2006-08-06 Konstantin Triger <kostat@mainsoft.com>
12 * DbDataReader.cs: DbDataReader.Dipose(bool) - implemented.
14 2006-07-17 Senganal T <tsenganal@novell.com>
17 - GetAllRows : Added. Returns all the rows in the current
19 - GetDistinctRows :Added. Returns all the distinct rows (based
20 in Key Columns) in the index.
22 2006-07-13 Senganal T <tsenganal@novell.com>
24 * SchemaInfo.cs DbDataAdapter.cs DbConnectionOptions.cs DbParameter.cs
25 DbMetaDataColumnNames.cs DbTransaction.cs DataTableMapping.cs DataAdapter.cs
26 FieldNameLookup.cs DbDataRecord.cs DataColumnMappingCollection.cs DbCommand.cs
27 DbDataPermission.cs DbProviderFactory.cs DbCommandBuilder.cs DbConnectionString.cs
28 RowUpdatedEventArgs.cs DbDataReader.cs DbConnectionStringBuilder.cs DbConnection.cs
29 DataTableMappingCollection.cs :
32 2006-06-15 Senganal T <tsenganal@novell.com>
35 -Equals : Check for Equality of Sort Order too.
37 2006-04-07 Senganal T <tsenganal@novell.com>
40 * Update () : If the Update/Delete Query has a null check,
41 then populate the parameter value correctly.
43 2006-03-20 Senganal T <tsenganal@novell.com>
46 - Ctor () : Set Default Values for DataAdapter members
48 - Update () : Call row.AcceptChanges only if AcceptChangesDuringUpdate
49 is true. Fixes bug #77776
51 2006-03-09 Senganal T <tsenganal@novell.com>
54 - Update () : Add the new record in the correct position
56 2006-03-07 Senganal T <tsenganal@novell.com>
59 Reverted the changes from the earlier patch.
61 2006-02-22 Senganal T <tsenganal@novell.com>
64 - FillTable : Move BeginLoadData, EndLoadData outside the loop. Also,
65 move EndLoadData outsidet try,catch block. FillError is only for errors
66 occuring during loading the data into datatable.
68 - Set Default value of RowStateFilter to (CurrentRos | OriginalRows).
69 - ContainsVersion : If RowStateFilter is set to default value, return true
70 for Modified Rows as they can contain Default/Original versions.
72 2006-02-18 Raja R Harinath <harinath@gmail.com>
74 * DbConnectionStringBuilder.cs (ICollection.CopyTo): Use
75 _dictionary, not 'this' in cast.
77 2006-02-17 Chris Toshok <toshok@ximian.com>
79 * DbDataAdapter.cs: more 2.0 cleanup.
81 2006-02-17 Chris Toshok <toshok@ximian.com>
83 * DataAdapter.cs, DataColumnMappingCollection.cs,
84 DataColumnMapping.cs, DataTableMappingCollection.cs,
85 DataTableMapping.cs, DbCommandBuilder.cs,
86 DbConnectionStringBuilder.cs, DbParameterCollection.cs,
87 DbParameter.cs: pretty major attribute work.
89 2006-02-17 Chris Toshok <toshok@ximian.com>
91 * DbProviderFactory.cs: remove two methods. and mark the
92 DbProviderSupportedClasses ctor as internal since it's not part of
95 * DbTable.cs: remove this class from 2.0 build.. leave it for the
98 * RowUpdatingEventArgs.cs: this class isn't abstract in 2.0.
100 * RowUpdatedEventArgs.cs: this class isn't abstract in 2.0.
102 * SupportedJoinOperators.cs: new 2.0 enum.
104 * CatalogLocation.cs: fix enum values.
106 * GroupByBehavior.cs: same.
108 * IdentifierCase.cs: same.
110 * SchemaTableColumn.cs: class is static, not sealed. and add
113 * SchemaTableOptionalColumn.cs: same.
115 * DbDataReader.cs: oops, add back in VisibleFieldCount (i missed
116 it in the corcompare output), add EditorBrowsable attributes all
117 over the place, and fix some method signatures.
119 * DbDataUpdatableRecord.cs: remove this 2.0 file.
121 2006-02-17 Chris Toshok <toshok@ximian.com>
123 * DbDataReader.cs: remove VisibleFieldCount attribute, and remove
124 IDataReader2 and IDataRecord2 interfaces.
126 2006-02-13 Senganal T <tsenganal@novell.com>
130 - Add table to schema only if MissingSchemaAction is not Ignore
131 Add schema to table if MissingSchemaAction is set to either of
134 - Set the Schema values only if MissingSchemaAction is set to
137 2006-01-31 Senganal T <tsenganal@novell.com>
140 - Corrected an error in the prev checkin.. Fixes #77415
142 2006-01-27 Senganal T <tsenganal@novell.com>
145 - Modified schema population to follow MissingSchemaAction and MissingMappingAction
146 - Add a column to the Primary Key only if its not a hidden key
147 - Added some argument checks
148 - Removed some redundant code
150 - Added argument checks
152 - Added InvalidEnumException , a helper function to print error msg
154 2006-01-11 Boris Kirzner <borisk@mainsoft.com>
155 * Index.cs: removed redundant call to RebuildIndex() in constructor.
157 2005-12-12 Konstantin Triger <kostat@mainsoft.com>
159 * Key.cs: Added ContainsVersion function, refactoring.
160 * Index.cs: Fixed Reset() to be ready for Update() calls.
161 Otherwise the index can be rebuilt with new values inside the
162 Update() call itself.
163 Fixed FindIndexExact(), Update(), Delete().
165 2005-11-22 Konstantin Triger <kostat@mainsoft.com>
167 * DbProviderFactory.cs: TARGET_JVM ifdef.
169 2005-11-21 Senganal T <tsenganal@novell.com>
175 * DbProviderFactories.cs
177 * DbProviderFactory.cs
178 * DbCommandBuilder.cs
180 * DbParameterCollection.cs
181 - Added stubs and other changes for ADO.NET 2.0 compatibility.
182 * DbMetaDataCollectionNames.cs (new file)
183 - Added DbMetaDataCollectionNames Enumeration
185 2005-10-24 Konstantin Triger <kostat@mainsoft.com>
187 * DataContainer.cs: removed extra type validation for object container
189 2005-10-14 Senganal T <tsenganal@novell.com>
192 - BuildSchema() : Set the value of DataColumn Property 'AllowDBNull'
193 as returned by database. Fixes bug#76433.
195 2005-09-21 Boris Kirzner <borisk@mainsoft.com>
197 - Rebuild index immediately after construction.
198 - Do not add records if they do not padd key filtration.
199 - Do not attempt to remove records if the are not in the index.
201 - Added HasFilter property, CanContain and DependsOn methods.
202 - Equals() uses filter expression comparison.
204 2005-09-07 Boris Kirzner <borisk@mainsoft.com>
205 * DataContainer.cs: Do not convert value if container type
208 2005-08-08 Gert Driesen <drieseng@users.sourceforge.net>
210 * DbTypes.cs: Marked internal to fix public API.
212 2005-08-05 Sureshkumar T <tsureshkumar@novell.com>
215 - Update (): set parameter values only after getting the
216 appropriate command from command builder. Close reader only if it
217 is not closed before. Use parameter's SourceVersion. Whitespace
218 corrections to comply with standard.
220 2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
222 * DataColumnMappingCollection.cs: updated attributes & attribute
223 descriptions to match with masterinfos.
225 2005-07-15 Sureshkumar T <tsureshkumar@novell.com>
227 * DataTableMappingCollection.cs: GetTableMappingBySchemaAction:
228 meaningful error message if mapping is missing.
230 * DbDataAdapter.cs: Update: meaningful message if table is missing.
232 2005-06-22 Sureshkumar T <tsureshkumar@novell.com>
234 * Index.cs: Remove : length for Array.Copy (a, i+1, a, i, length -
237 2005-06-21 Sureshkumar T <tsureshkumar@novell.com>
239 * DbConnectionStringBuilder.cs: Implemented method for parsing
240 connection string through "ConnectionString" property.
242 * DbConnectionStringBuilderHelper.cs: Helper class to provide
243 conversion between string=>.net type mapping for connection string
244 builders. The idea is to use between other providers (odbc) as
247 2005-05-29 Boris Kirzner <borisk@mainsoft.com>
248 * DbCommand.cs - added #ifdef NET_2_0 on DbCommandOptionalFeatures (not used in TARGET_JVM).
249 * ExceptionHelper.cs - removed java references. Exceptions created on formatted text messages. Code styling fixes.
250 * DbParameterCollection.cs - implemented indexer properties.
251 * DbDataAdapter.cs - delagate exceptions creating to ExceptionHelper.
253 2005-05-25 Konstantin Triger <kostat@mainsoft.com>
255 * DataContainer.cs: Correcting the order - first the record is queried whether the value it contains is null, and only if not the value is fetched
257 2005-05-20 Umadevi S <sumadevi@novell.com>
258 * Added file DbProviderSpecificTypePropertyAttribute.cs
260 2005-05-19 Umadevi S <sumadevi@novell.com>
262 * RowUpdatingEventArgs.cs - added BaseCommand property for net 2.0
264 2005-05-18 Konstantin Triger <kostat@mainsoft.com>
266 * DbDataAdapter.cs: Initialize the schema values to defaults if the schema does not contain the information
268 2005-05-16 Sureshkumar T <tsureshkumar@novell.com>
270 * RecordCache.cs: quick fix to make build 2.0 profile (follow up
271 for check in 2005-05-16).
273 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
275 * Index.cs: validation that the updated row belongs to the index
277 2005-05-02 Konstantin Triger <kostat@mainsoft.com>
280 Added CharDataContainer, SByteDataContainer, UInt16DataContainer, UInt32DataContainer, UInt64DataContainer, DateTimeDataContainer, DecimalDataContainer
281 SetItemFromDataRecord: Changed to work with ISafeDataRecord or through GetValue to enable conversion
282 return DBNull.Value when the stored value is null
285 Ensure correct order for LoadDataRow
286 Fixing schema creation
290 LoadSchema: Retrieve needed fields only
293 Added Rows-to-Records mapping
294 Added ReadIDataRecord method for correct handling of default/auto increment values
296 * Added Index.cs: Index implementation
297 * Added Key.cs: Index descriptor implementation
300 2005-04-27 Sureshkumar T <tsureshkumar@novell.com>
302 * DbDataReader.cs: Added static method to construct the schema
303 table with default schema. Could be reused in many places.
305 2005-04-22 Sureshkumar T <tsureshkumar@novell.com>
307 * DbDataAdapter.cs: Moved FillTable and BuildSchema as static
308 methods as they are not operating on the current instance. This
309 could be reused to fill any table from a data reader.
311 * RecordCache.cs: While disposing records, make sure that the
312 record is not already disposed. i.e. to make sure later the same
313 record is not reused. Implemented a static method to compare two
314 version of records in a container.
316 2005-04-18 Sureshkumar T <tsureshkumar@novell.com>
318 * DataAdapter.cs: Implemenetd OnFillError handler.
320 * DbDataAdapter.cs: BuildSchema (): the table to be filled might
321 contain few additional columns as well. so mapping length should
322 be columns' length + fields' length.
324 2005-03-24 Sureshkumar T <tsureshkumar@novell.com>
326 * DbDataAdapter.cs: Update: If SourceColumn is null, do not set
327 value for the parameter.
329 2005-05-25 Umadevi S <sumadevi@novell.com>
330 * Added DbException.cs
332 2005-03-23 Sureshkumar T <tsureshkumar@novell.com>
334 * DbDataAdapter.cs: For Update, disable ReadOnly constraint
335 temporarily before updating the row. Info from Ingo Bauersachs.
336 SkipAllRemainingRows should also skip current row (msdn).
338 2005-03-22 Sureshkumar T <tsureshkumar@novell.com>
340 * DbDataAdapter.cs: Update (): update the rows based on the
341 UpdateRowSource property. Process further based on the
342 RowUpdatedEvent handler argument's Status property.
343 Fixes bug #73587. Thanks to mono@rankweg.ch (Ingo Bauersachs) for
344 bug report and patch.
346 * RowUpdatedEventArgs.cs: if custom error is not set, throw a
349 2005-03-01 Sureshkumar T <tsureshkumar@novell.com>
351 * ConnectionStringsSectionHandler.cs: Added. configuration section
352 handler for section "connectionStrings". This handler is a ad hoc
353 solution till the new configuration API is available in mono.
355 2005-02-04 Sureshkumar T <tsureshkumar@novell.com>
357 * DbDataAdapter.cs (Update ()) :
358 - Check for one return result set and map the values back to
360 - Check for output & return value parameters and update the value
361 back to mapped column
362 - check for recordsAffected only after closing the reader.
364 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
366 * DbConnection.cs: Implement Dispose pattern.
368 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
370 * DbDataPermission.cs : Empty.Union(Empty) is Empty.
372 2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
374 * DbDataPermissionAttribute.cs, PermissionHelper.cs :
375 fixed some incompatible type of exception between 2.0 and 1.x.
377 Wrap exceptions thrown by SetValue() within ArgumentException.
379 2004-12-10 Sureshkumar T <tsureshkumar@novell.com>
381 * DbDataAdapter.cs (BuildSchema): Add the primary key schema iff
382 MissingSchemaAction is set to AddWithKey. Also, Add auto increment
383 value from the source table. fixes bug #67757 and #69110.
385 2004-11-24 Sureshkumar T <tsureshkumar@novell.com>
387 * DbProviderSupportedClasses.cs: Added correct enum values.
388 * DbConnection.cs: Missing virtual method EnlistTransaction Added.
389 * DbCommand.cs: Implemented ProviderFactory base factory methods.
391 2004-11-22 Sureshkumar T <tsureshkumar@novell.com>
393 * DbConnectionStringBuilder.cs: Class for helping creation of db
394 connection strings added.
396 2004-10-01 Sureshkumar T <tsureshkumar@novell.com>
398 * DbProviderFactories.cs: Implemented all the stubs. Added functionality for
399 getting available provider factories and creating a specified provider factory.
401 * DbProviderFactoriesConfigurationHandler.cs: Added functionality for handling
402 DbProviderFactories configuration section.
404 * DbProviderFactory.cs: Added protected constructor. SupportedClasses property
407 2004-09-14 Sebastien Pouliot <sebastien@ximian.com>
409 * DbDataPermission.cs: Implemented Intersect, IsSubsetOf and Union.
410 Implementation isn't complete as the restrictions seems to change the
411 expected results (breaking some rules like x.IsSubsetOf (x) == false).
412 Better (real-world) tests cases are required.
413 * PermissionHelper.cs: Fixed small differences between System.Data.dll
414 validations wrt to mscorlib.dll (XML and PermissionState).
416 2004-09-13 Sebastien Pouliot <sebastien@ximian.com>
418 * DbConnectionOptions.cs: New class for Fx 2.0. Partial implementation
419 to support new methods in DBDataPermission.
420 * DbConnectionString.cs: Updated class to split from/inherit
421 DbConnectionOptions class.
422 * DbDataPermission.cs: Implemented Add, Clear, Copy, ToXml methods and
423 completed constructors.
424 * DbDataPermissionAttribute.cs: Completed/fixed class.
425 * PermissionHelper.cs: Helper methods to create permission classes.
427 2004-08-31 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
428 * 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.
430 2004-07-21 Umadevi S <sumadevi@novell.com>
431 * DbDataRecord.cs - Fix for bug 58163. Return DBNull instead of null
433 2004-07-07 Umadevi S <sumadevi@novell.com>
434 * DataContainer.cs :CheckedforNull before calling the relavant setmethods in each of the
435 SetItemForDataRecord method for the DateTimeClass
438 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
440 * DataColumnMappingCollection.cs : fixed typo.
441 * DbDataAdapter.cs : column mappings were not filled.
443 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
445 * DataTableMapping.cs : Clone() should also clone ColumnMappings.
447 2004-06-18 Umadevi S <sumadevi@novell.com>
448 * DataContainer.cs - CheckedforNull before calling the relavant setmethods in each of the
449 SetItemForDataRecord method for all the classes.
451 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
452 * RecordCache.cs : Added CopyRecord mathod that copies single record from one table to another.
454 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
456 - Store and retreival of null and DBNull values reviewed.
457 - Added GetInt64 to support AutoIncrement of DataColumn.
458 - Added missing CopyValue method to BitDataContainer.
459 - Added FillValues method to propagate single value to whole container.
461 2004-06-10 Umadevi S <sumadevi@novell.com>
462 * DataTableMappingCollection.cs - fixed nunit testcase errors
463 IndexOfDataSetTable method
465 2004-06-09 Umadevi S <sumadevi@novell.com>
466 * DataTableMappingCollection.cs - fixed nunit testcase errors
467 - Add, GetByDataSetTable,Insert, Remove, RemoveAt methods.
469 2004-06-09 Umadevi S <sumadevi@novell.com>
470 * DataColumnMappingCollection.cs - fixed nunit testcase errors
471 - GetByDataSetColumn,IndexOfDataSetColumn, Remove methods.
473 2004-06-08 Umadevi S <sumadevi@novell.com>
474 * DataColumnMappingCollection.cs - fixed nunit testcase errors.
475 - remove, removeat, contains methods.
477 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
479 * DataAdapter.cs: added missing protected ctor
480 * DbDataAdapter.cs: added stub for missing protected ctor
481 * DbDataPermission.cs: added stubs for missing protected
482 ctors, added stub for missing Clear method
484 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
485 * DataColumnMappingCollection.cs: added missing attributes on
488 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
489 * DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer.SetValue .
491 2004-05-20 Gert Driesen (drieseng@users.sourceforge.net)
493 * DbDataPermissionAttribute.cs: change AllowMultiple and
494 Inherited to match .NET
496 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
497 * Datacontainer.cs : CompareValues reviewed. set_Item and get_Item of null and DBNull values in case of DataContainers
498 for primitive types reviewed. Added check for null values when reading from IDataRecord.
500 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
501 * RecordCache.cs - added. Each instance of record cache belongs to specific table
502 and manages pool of records ( indexes into data containers) to be used by data rows.
503 * DataContainer.cs - added. Provides implementation for data containers that holds data in arrays
504 of primitives or objects. Each data container belongs to specific DataColumn.
505 * DbDataAdapter.cs - changes to complete data storage redesign. Bug fix in FillTable
506 ( to fetch exact number of records required ).
508 2004-05-13 Umadevi S (sumadevi@novell.com)
509 * DbDataPermissionAttribute.cs - Added KeyRestrictions property with a TODO tag
511 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
512 * ComparerFactory.cs: marked internal
514 2003-04-26 Boris Kirzner <borisk@mainsoft.com>
515 * DataColumnMappingCollection.cs : Small fix in exception message thrown.
517 2003-04-25 Boris Kirzner <borisk@mainsoft.com>
518 * DbDataAdapter.cs : Fixed bug in Fill :
519 - Reader can have empty results (fo example from UPDATE or DELETE).
520 - Reader can have results with no rows (SELECT that returns 0 rows but have columns)
521 - In FillTable - skip rows only once for each table.
523 2003-04-14 Juraj Skripsky <juraj@hotfeet.ch>
524 * DbDataAdapter.cs : Refactoring of Fill. New private method
525 FillTable does most of the work now. Use int[] instead of
526 hashtable for mapping. Move creation of tableArray[] outside
529 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
531 * DbDataPermissionAttribute.cs: Added .Net 1.1 marks
532 * DataColumnMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
533 * DataTableMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
534 * DataColumnMappingConverter: Added stub
535 * DataTableMappingConverter: Added stub
537 2004-03-03 Eran Domb <erand@miansoft.com>
539 * ComparerFactory.cs : Added.
541 2004-01-10 Atsushi Enomoto <atsushi@ximian.com>
543 * DbDataPermission.cs : tiny fix to pass OleDbPermission.
545 2004-01-09 Atsushi Enomoto <atsushi@ximian.com>
547 * DbDataPermission.cs : .ctor(PermissionState state) should not call
548 obsolete .ctor(state, allowBlankPassword). csc reports an error.
550 2003-12-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
552 * DbDataAdapter.cs: handle MissingShemaAction.AddWithKey, call
553 AcceptChanges in Update when a CommandBuilder is used and
554 correctly fill information about primary keys in FillSchema.
555 Patch from Sergei Malinin (smalinin@amurnet.ru).
557 2003-12-23 Tim Coleman <tim@timcoleman.com>
558 * DbConnectionString.cs:
560 * DbProviderFactory.cs:
561 Fix typo to make CLS compliant
563 2003-12-16 Jackson Harper <jackson@ximian.com>
565 * SchemaTableOptionalColumn.cs: Add to fix default build
567 2003-12-16 Tim Coleman <tim@timcoleman.com>
568 * CatalogLocation.cs DbCommand.cs DbCommandBuilder.cs
569 * DbCommandOptionalFeatures.cs DbCommandSet.cs DbConnection.cs
570 * DbConnectionString.cs DbDataSourceEnumerator.cs
571 * DbDataUpdatableRecord.cs DbParameter.cs DbParameterCollection.cs
572 * DbProviderConfigurationHandler.cs DbProviderFactories.cs
573 * DbProviderFactoriesConfigurationHandler.cs DbProviderFactory.cs
574 * DbProviderSupportedClasses.cs DbTable.cs DbTransaction.cs
575 * GroupByBehavior.cs IdentifierCase.cs SchemaLocation.cs
576 * SchemaTableColumn.cs:
577 New stubs added for .NET 1.2
578 * DataAdapter.cs DataColumnMapping.cs DataColumnMappingCollection.cs
579 * DataTableMapping.cs DataTableMappingCollection.cs DbDataAdapter.cs
580 * DbDataPermission.cs DbDataPermissionAttribute.cs DbDataRecord.cs
581 * FieldNameLookup.cs SchemaInfo.cs:
582 Changes made for .NET 1.2
584 2003-10-22 Eran Domb <erand@miansoft.com>
585 * DbDataAdapter.cs : Check if there is mapping to avoid exception.
587 2003-11-26 Tim Coleman <tim@timcoleman.com>
588 * DbDataReader.cs: Add new stub class
590 2003-11-23 Pedro Martínez Juliá <yoros@wanadoo.es>
592 * DbDataAdapter.cs: Call command dispose in self dispose method. We
593 need to dispose the connections and other stuff stored in the
596 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
598 * DataColumnMappingCollection.cs: Fix a missing exception when the
599 required mapping is not in the collection. MS.NET throws an
602 2003-10-22 Eran Domb <erand@miansoft.com>
604 * DbDataAdapter.cs (Fill): add only the mapped column to the dataTable (not all columns of dataReader).
605 Also closing the dataReader if an exception is thrown.
606 (Fill): the same as above.
607 (SetupSchema): in now return string (the table name).
608 (GetFillParameters): fix a bug.
609 (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.
610 (Update): first open the connection if needed. Catch an exception of the ExecuteQuery.
613 2003-09-30 Duncan Mak <duncan@ximian.com>
615 Patch from Eran Domb <eran@mainsoft.com>.
617 * DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
619 2003-09-25 Duncan Mak <duncan@ximian.com>
621 * DbDataAdapter.cs (Fill): Patch from Eran Domb, <eran@mainsoft.com>.
622 Fixes a possible NullReferenceException, more details here:
624 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002116.html
626 2003-09-21 eran <erand@mainsoft.com>
628 * DbDataRecord.cs: The method
629 System.Data.Common.DbDataRecord.GetValues(object[] values) did not
630 put the values of the DbDataRecord into values parameter.
632 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
634 * DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
635 exception. Thanks to Mark Easton <measton@tebiki.co.uk>.
637 2003-07-31 Duncan Mak <duncan@ximian.com>
639 * DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
642 2003-03-21 Alan Tam <Tam@SiuLung.com>
644 * DbDataAdapter.cs: Update now uses correct DataRowVersion
645 when accessing the data.
647 2003-03-17 Aleksey Demakov <avd@openlinksw.com>
649 * DbDataAdapter.cs: BuildSchema now uses ColumnName instead
650 of BaseColumnName (bug #39830) for DataColumn names.
651 BaseTableName is no longer taken into account as well.
653 2003-02-28 Aleksey Demakov <avd@openlinksw.com>
655 * DbDataAdapter.cs: Update (DataSet) updates the default
658 2003-02-25 Alan Tam <Tam@SiuLung.com>
660 * DbDataAdapter.cs: Added support for filling when schema is present.
661 Fixed incorrect behavior when ColumnMapping is present
662 when more than one fields have the same name. Implemented Dispose.
663 Fixed error when there is no ColumnMapping at all.
664 Still have some problems in finding the correct TableMapping
665 because the SourceTable name is not present in BuildSchema
667 2003-02-24 Aleksey Demakov <avd@openlinksw.com>
669 * DbDataAdapter.cs: The original code might pass a null DataTableMapping
670 value which is then used to create a RowUpdatingEventArgs
671 instance. So RowUpdatingEvent handler (for instance
672 CommandBuilder) could get null DataTableMapping which
673 might be unexpected. The patch makes sure that a non-null
674 DataTableMapping is passed.
676 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
678 * DbEnumerator.cs: why does the runtime throw an invalid cast here? The
679 object is an Int16... Gotta fill a bug report and when fixed undo this
682 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
684 * DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.
686 2002-10-31 Daniel Morgan <danmorg@sc.rr.com>
688 * SchemaInfo.cs: added missing properties to fix mcs build
690 2002-05-05 Miguel de Icaza <miguel@ximian.com>
692 * DataTableMapping.cs, DataTableMappingCollection.cs: comment out
693 interfaces we do not implement yet.
695 * DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
696 we do not implement yet.
698 * DbDataPermissionAttribute.cs: call base constructor.