1 2006-11-15 Nagappan A <anagappan@novell.com>
3 * DbDataAdapter.cs (FillFromReader): Implemented missing API to
4 handle FillErrorEventHandler
5 (DataAdapter): Implemented missing .NET 2.0 function
6 (GetDeleteCommand): Returns DbDataAdapter deleteCommand internal
8 (GetInsertCommand): Returns DbDataAdapter insertCommand internal
10 (GetUpdateCommand): Returns DbDataAdapter updateCommand internal
13 2006-09-06 Konstantin Triger <kostat@mainsoft.com>
15 * DbDataAdapter.cs: added basic implementation for some 2.0 features.
17 2006-08-24 Vladimir Krasnov <vladimirk@mainsoft.com>
19 * DbProviderFactories.cs: added TARGET_JVM block to not supported
22 2006-08-06 Konstantin Triger <kostat@mainsoft.com>
24 * DbDataReader.cs: DbDataReader.Dipose(bool) - implemented.
26 2006-07-17 Senganal T <tsenganal@novell.com>
29 - GetAllRows : Added. Returns all the rows in the current
31 - GetDistinctRows :Added. Returns all the distinct rows (based
32 in Key Columns) in the index.
34 2006-07-13 Senganal T <tsenganal@novell.com>
36 * SchemaInfo.cs DbDataAdapter.cs DbConnectionOptions.cs DbParameter.cs
37 DbMetaDataColumnNames.cs DbTransaction.cs DataTableMapping.cs DataAdapter.cs
38 FieldNameLookup.cs DbDataRecord.cs DataColumnMappingCollection.cs DbCommand.cs
39 DbDataPermission.cs DbProviderFactory.cs DbCommandBuilder.cs DbConnectionString.cs
40 RowUpdatedEventArgs.cs DbDataReader.cs DbConnectionStringBuilder.cs DbConnection.cs
41 DataTableMappingCollection.cs :
44 2006-06-15 Senganal T <tsenganal@novell.com>
47 -Equals : Check for Equality of Sort Order too.
49 2006-04-07 Senganal T <tsenganal@novell.com>
52 * Update () : If the Update/Delete Query has a null check,
53 then populate the parameter value correctly.
55 2006-03-20 Senganal T <tsenganal@novell.com>
58 - Ctor () : Set Default Values for DataAdapter members
60 - Update () : Call row.AcceptChanges only if AcceptChangesDuringUpdate
61 is true. Fixes bug #77776
63 2006-03-09 Senganal T <tsenganal@novell.com>
66 - Update () : Add the new record in the correct position
68 2006-03-07 Senganal T <tsenganal@novell.com>
71 Reverted the changes from the earlier patch.
73 2006-02-22 Senganal T <tsenganal@novell.com>
76 - FillTable : Move BeginLoadData, EndLoadData outside the loop. Also,
77 move EndLoadData outsidet try,catch block. FillError is only for errors
78 occuring during loading the data into datatable.
80 - Set Default value of RowStateFilter to (CurrentRos | OriginalRows).
81 - ContainsVersion : If RowStateFilter is set to default value, return true
82 for Modified Rows as they can contain Default/Original versions.
84 2006-02-18 Raja R Harinath <harinath@gmail.com>
86 * DbConnectionStringBuilder.cs (ICollection.CopyTo): Use
87 _dictionary, not 'this' in cast.
89 2006-02-17 Chris Toshok <toshok@ximian.com>
91 * DbDataAdapter.cs: more 2.0 cleanup.
93 2006-02-17 Chris Toshok <toshok@ximian.com>
95 * DataAdapter.cs, DataColumnMappingCollection.cs,
96 DataColumnMapping.cs, DataTableMappingCollection.cs,
97 DataTableMapping.cs, DbCommandBuilder.cs,
98 DbConnectionStringBuilder.cs, DbParameterCollection.cs,
99 DbParameter.cs: pretty major attribute work.
101 2006-02-17 Chris Toshok <toshok@ximian.com>
103 * DbProviderFactory.cs: remove two methods. and mark the
104 DbProviderSupportedClasses ctor as internal since it's not part of
107 * DbTable.cs: remove this class from 2.0 build.. leave it for the
110 * RowUpdatingEventArgs.cs: this class isn't abstract in 2.0.
112 * RowUpdatedEventArgs.cs: this class isn't abstract in 2.0.
114 * SupportedJoinOperators.cs: new 2.0 enum.
116 * CatalogLocation.cs: fix enum values.
118 * GroupByBehavior.cs: same.
120 * IdentifierCase.cs: same.
122 * SchemaTableColumn.cs: class is static, not sealed. and add
125 * SchemaTableOptionalColumn.cs: same.
127 * DbDataReader.cs: oops, add back in VisibleFieldCount (i missed
128 it in the corcompare output), add EditorBrowsable attributes all
129 over the place, and fix some method signatures.
131 * DbDataUpdatableRecord.cs: remove this 2.0 file.
133 2006-02-17 Chris Toshok <toshok@ximian.com>
135 * DbDataReader.cs: remove VisibleFieldCount attribute, and remove
136 IDataReader2 and IDataRecord2 interfaces.
138 2006-02-13 Senganal T <tsenganal@novell.com>
142 - Add table to schema only if MissingSchemaAction is not Ignore
143 Add schema to table if MissingSchemaAction is set to either of
146 - Set the Schema values only if MissingSchemaAction is set to
149 2006-01-31 Senganal T <tsenganal@novell.com>
152 - Corrected an error in the prev checkin.. Fixes #77415
154 2006-01-27 Senganal T <tsenganal@novell.com>
157 - Modified schema population to follow MissingSchemaAction and MissingMappingAction
158 - Add a column to the Primary Key only if its not a hidden key
159 - Added some argument checks
160 - Removed some redundant code
162 - Added argument checks
164 - Added InvalidEnumException , a helper function to print error msg
166 2006-01-11 Boris Kirzner <borisk@mainsoft.com>
167 * Index.cs: removed redundant call to RebuildIndex() in constructor.
169 2005-12-12 Konstantin Triger <kostat@mainsoft.com>
171 * Key.cs: Added ContainsVersion function, refactoring.
172 * Index.cs: Fixed Reset() to be ready for Update() calls.
173 Otherwise the index can be rebuilt with new values inside the
174 Update() call itself.
175 Fixed FindIndexExact(), Update(), Delete().
177 2005-11-22 Konstantin Triger <kostat@mainsoft.com>
179 * DbProviderFactory.cs: TARGET_JVM ifdef.
181 2005-11-21 Senganal T <tsenganal@novell.com>
187 * DbProviderFactories.cs
189 * DbProviderFactory.cs
190 * DbCommandBuilder.cs
192 * DbParameterCollection.cs
193 - Added stubs and other changes for ADO.NET 2.0 compatibility.
194 * DbMetaDataCollectionNames.cs (new file)
195 - Added DbMetaDataCollectionNames Enumeration
197 2005-10-24 Konstantin Triger <kostat@mainsoft.com>
199 * DataContainer.cs: removed extra type validation for object container
201 2005-10-14 Senganal T <tsenganal@novell.com>
204 - BuildSchema() : Set the value of DataColumn Property 'AllowDBNull'
205 as returned by database. Fixes bug#76433.
207 2005-09-21 Boris Kirzner <borisk@mainsoft.com>
209 - Rebuild index immediately after construction.
210 - Do not add records if they do not padd key filtration.
211 - Do not attempt to remove records if the are not in the index.
213 - Added HasFilter property, CanContain and DependsOn methods.
214 - Equals() uses filter expression comparison.
216 2005-09-07 Boris Kirzner <borisk@mainsoft.com>
217 * DataContainer.cs: Do not convert value if container type
220 2005-08-08 Gert Driesen <drieseng@users.sourceforge.net>
222 * DbTypes.cs: Marked internal to fix public API.
224 2005-08-05 Sureshkumar T <tsureshkumar@novell.com>
227 - Update (): set parameter values only after getting the
228 appropriate command from command builder. Close reader only if it
229 is not closed before. Use parameter's SourceVersion. Whitespace
230 corrections to comply with standard.
232 2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
234 * DataColumnMappingCollection.cs: updated attributes & attribute
235 descriptions to match with masterinfos.
237 2005-07-15 Sureshkumar T <tsureshkumar@novell.com>
239 * DataTableMappingCollection.cs: GetTableMappingBySchemaAction:
240 meaningful error message if mapping is missing.
242 * DbDataAdapter.cs: Update: meaningful message if table is missing.
244 2005-06-22 Sureshkumar T <tsureshkumar@novell.com>
246 * Index.cs: Remove : length for Array.Copy (a, i+1, a, i, length -
249 2005-06-21 Sureshkumar T <tsureshkumar@novell.com>
251 * DbConnectionStringBuilder.cs: Implemented method for parsing
252 connection string through "ConnectionString" property.
254 * DbConnectionStringBuilderHelper.cs: Helper class to provide
255 conversion between string=>.net type mapping for connection string
256 builders. The idea is to use between other providers (odbc) as
259 2005-05-29 Boris Kirzner <borisk@mainsoft.com>
260 * DbCommand.cs - added #ifdef NET_2_0 on DbCommandOptionalFeatures (not used in TARGET_JVM).
261 * ExceptionHelper.cs - removed java references. Exceptions created on formatted text messages. Code styling fixes.
262 * DbParameterCollection.cs - implemented indexer properties.
263 * DbDataAdapter.cs - delagate exceptions creating to ExceptionHelper.
265 2005-05-25 Konstantin Triger <kostat@mainsoft.com>
267 * 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
269 2005-05-20 Umadevi S <sumadevi@novell.com>
270 * Added file DbProviderSpecificTypePropertyAttribute.cs
272 2005-05-19 Umadevi S <sumadevi@novell.com>
274 * RowUpdatingEventArgs.cs - added BaseCommand property for net 2.0
276 2005-05-18 Konstantin Triger <kostat@mainsoft.com>
278 * DbDataAdapter.cs: Initialize the schema values to defaults if the schema does not contain the information
280 2005-05-16 Sureshkumar T <tsureshkumar@novell.com>
282 * RecordCache.cs: quick fix to make build 2.0 profile (follow up
283 for check in 2005-05-16).
285 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
287 * Index.cs: validation that the updated row belongs to the index
289 2005-05-02 Konstantin Triger <kostat@mainsoft.com>
292 Added CharDataContainer, SByteDataContainer, UInt16DataContainer, UInt32DataContainer, UInt64DataContainer, DateTimeDataContainer, DecimalDataContainer
293 SetItemFromDataRecord: Changed to work with ISafeDataRecord or through GetValue to enable conversion
294 return DBNull.Value when the stored value is null
297 Ensure correct order for LoadDataRow
298 Fixing schema creation
302 LoadSchema: Retrieve needed fields only
305 Added Rows-to-Records mapping
306 Added ReadIDataRecord method for correct handling of default/auto increment values
308 * Added Index.cs: Index implementation
309 * Added Key.cs: Index descriptor implementation
312 2005-04-27 Sureshkumar T <tsureshkumar@novell.com>
314 * DbDataReader.cs: Added static method to construct the schema
315 table with default schema. Could be reused in many places.
317 2005-04-22 Sureshkumar T <tsureshkumar@novell.com>
319 * DbDataAdapter.cs: Moved FillTable and BuildSchema as static
320 methods as they are not operating on the current instance. This
321 could be reused to fill any table from a data reader.
323 * RecordCache.cs: While disposing records, make sure that the
324 record is not already disposed. i.e. to make sure later the same
325 record is not reused. Implemented a static method to compare two
326 version of records in a container.
328 2005-04-18 Sureshkumar T <tsureshkumar@novell.com>
330 * DataAdapter.cs: Implemenetd OnFillError handler.
332 * DbDataAdapter.cs: BuildSchema (): the table to be filled might
333 contain few additional columns as well. so mapping length should
334 be columns' length + fields' length.
336 2005-03-24 Sureshkumar T <tsureshkumar@novell.com>
338 * DbDataAdapter.cs: Update: If SourceColumn is null, do not set
339 value for the parameter.
341 2005-05-25 Umadevi S <sumadevi@novell.com>
342 * Added DbException.cs
344 2005-03-23 Sureshkumar T <tsureshkumar@novell.com>
346 * DbDataAdapter.cs: For Update, disable ReadOnly constraint
347 temporarily before updating the row. Info from Ingo Bauersachs.
348 SkipAllRemainingRows should also skip current row (msdn).
350 2005-03-22 Sureshkumar T <tsureshkumar@novell.com>
352 * DbDataAdapter.cs: Update (): update the rows based on the
353 UpdateRowSource property. Process further based on the
354 RowUpdatedEvent handler argument's Status property.
355 Fixes bug #73587. Thanks to mono@rankweg.ch (Ingo Bauersachs) for
356 bug report and patch.
358 * RowUpdatedEventArgs.cs: if custom error is not set, throw a
361 2005-03-01 Sureshkumar T <tsureshkumar@novell.com>
363 * ConnectionStringsSectionHandler.cs: Added. configuration section
364 handler for section "connectionStrings". This handler is a ad hoc
365 solution till the new configuration API is available in mono.
367 2005-02-04 Sureshkumar T <tsureshkumar@novell.com>
369 * DbDataAdapter.cs (Update ()) :
370 - Check for one return result set and map the values back to
372 - Check for output & return value parameters and update the value
373 back to mapped column
374 - check for recordsAffected only after closing the reader.
376 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
378 * DbConnection.cs: Implement Dispose pattern.
380 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
382 * DbDataPermission.cs : Empty.Union(Empty) is Empty.
384 2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
386 * DbDataPermissionAttribute.cs, PermissionHelper.cs :
387 fixed some incompatible type of exception between 2.0 and 1.x.
389 Wrap exceptions thrown by SetValue() within ArgumentException.
391 2004-12-10 Sureshkumar T <tsureshkumar@novell.com>
393 * DbDataAdapter.cs (BuildSchema): Add the primary key schema iff
394 MissingSchemaAction is set to AddWithKey. Also, Add auto increment
395 value from the source table. fixes bug #67757 and #69110.
397 2004-11-24 Sureshkumar T <tsureshkumar@novell.com>
399 * DbProviderSupportedClasses.cs: Added correct enum values.
400 * DbConnection.cs: Missing virtual method EnlistTransaction Added.
401 * DbCommand.cs: Implemented ProviderFactory base factory methods.
403 2004-11-22 Sureshkumar T <tsureshkumar@novell.com>
405 * DbConnectionStringBuilder.cs: Class for helping creation of db
406 connection strings added.
408 2004-10-01 Sureshkumar T <tsureshkumar@novell.com>
410 * DbProviderFactories.cs: Implemented all the stubs. Added functionality for
411 getting available provider factories and creating a specified provider factory.
413 * DbProviderFactoriesConfigurationHandler.cs: Added functionality for handling
414 DbProviderFactories configuration section.
416 * DbProviderFactory.cs: Added protected constructor. SupportedClasses property
419 2004-09-14 Sebastien Pouliot <sebastien@ximian.com>
421 * DbDataPermission.cs: Implemented Intersect, IsSubsetOf and Union.
422 Implementation isn't complete as the restrictions seems to change the
423 expected results (breaking some rules like x.IsSubsetOf (x) == false).
424 Better (real-world) tests cases are required.
425 * PermissionHelper.cs: Fixed small differences between System.Data.dll
426 validations wrt to mscorlib.dll (XML and PermissionState).
428 2004-09-13 Sebastien Pouliot <sebastien@ximian.com>
430 * DbConnectionOptions.cs: New class for Fx 2.0. Partial implementation
431 to support new methods in DBDataPermission.
432 * DbConnectionString.cs: Updated class to split from/inherit
433 DbConnectionOptions class.
434 * DbDataPermission.cs: Implemented Add, Clear, Copy, ToXml methods and
435 completed constructors.
436 * DbDataPermissionAttribute.cs: Completed/fixed class.
437 * PermissionHelper.cs: Helper methods to create permission classes.
439 2004-08-31 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
440 * 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.
442 2004-07-21 Umadevi S <sumadevi@novell.com>
443 * DbDataRecord.cs - Fix for bug 58163. Return DBNull instead of null
445 2004-07-07 Umadevi S <sumadevi@novell.com>
446 * DataContainer.cs :CheckedforNull before calling the relavant setmethods in each of the
447 SetItemForDataRecord method for the DateTimeClass
450 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
452 * DataColumnMappingCollection.cs : fixed typo.
453 * DbDataAdapter.cs : column mappings were not filled.
455 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
457 * DataTableMapping.cs : Clone() should also clone ColumnMappings.
459 2004-06-18 Umadevi S <sumadevi@novell.com>
460 * DataContainer.cs - CheckedforNull before calling the relavant setmethods in each of the
461 SetItemForDataRecord method for all the classes.
463 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
464 * RecordCache.cs : Added CopyRecord mathod that copies single record from one table to another.
466 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
468 - Store and retreival of null and DBNull values reviewed.
469 - Added GetInt64 to support AutoIncrement of DataColumn.
470 - Added missing CopyValue method to BitDataContainer.
471 - Added FillValues method to propagate single value to whole container.
473 2004-06-10 Umadevi S <sumadevi@novell.com>
474 * DataTableMappingCollection.cs - fixed nunit testcase errors
475 IndexOfDataSetTable method
477 2004-06-09 Umadevi S <sumadevi@novell.com>
478 * DataTableMappingCollection.cs - fixed nunit testcase errors
479 - Add, GetByDataSetTable,Insert, Remove, RemoveAt methods.
481 2004-06-09 Umadevi S <sumadevi@novell.com>
482 * DataColumnMappingCollection.cs - fixed nunit testcase errors
483 - GetByDataSetColumn,IndexOfDataSetColumn, Remove methods.
485 2004-06-08 Umadevi S <sumadevi@novell.com>
486 * DataColumnMappingCollection.cs - fixed nunit testcase errors.
487 - remove, removeat, contains methods.
489 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
491 * DataAdapter.cs: added missing protected ctor
492 * DbDataAdapter.cs: added stub for missing protected ctor
493 * DbDataPermission.cs: added stubs for missing protected
494 ctors, added stub for missing Clear method
496 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
497 * DataColumnMappingCollection.cs: added missing attributes on
500 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
501 * DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer.SetValue .
503 2004-05-20 Gert Driesen (drieseng@users.sourceforge.net)
505 * DbDataPermissionAttribute.cs: change AllowMultiple and
506 Inherited to match .NET
508 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
509 * Datacontainer.cs : CompareValues reviewed. set_Item and get_Item of null and DBNull values in case of DataContainers
510 for primitive types reviewed. Added check for null values when reading from IDataRecord.
512 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
513 * RecordCache.cs - added. Each instance of record cache belongs to specific table
514 and manages pool of records ( indexes into data containers) to be used by data rows.
515 * DataContainer.cs - added. Provides implementation for data containers that holds data in arrays
516 of primitives or objects. Each data container belongs to specific DataColumn.
517 * DbDataAdapter.cs - changes to complete data storage redesign. Bug fix in FillTable
518 ( to fetch exact number of records required ).
520 2004-05-13 Umadevi S (sumadevi@novell.com)
521 * DbDataPermissionAttribute.cs - Added KeyRestrictions property with a TODO tag
523 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
524 * ComparerFactory.cs: marked internal
526 2003-04-26 Boris Kirzner <borisk@mainsoft.com>
527 * DataColumnMappingCollection.cs : Small fix in exception message thrown.
529 2003-04-25 Boris Kirzner <borisk@mainsoft.com>
530 * DbDataAdapter.cs : Fixed bug in Fill :
531 - Reader can have empty results (fo example from UPDATE or DELETE).
532 - Reader can have results with no rows (SELECT that returns 0 rows but have columns)
533 - In FillTable - skip rows only once for each table.
535 2003-04-14 Juraj Skripsky <juraj@hotfeet.ch>
536 * DbDataAdapter.cs : Refactoring of Fill. New private method
537 FillTable does most of the work now. Use int[] instead of
538 hashtable for mapping. Move creation of tableArray[] outside
541 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
543 * DbDataPermissionAttribute.cs: Added .Net 1.1 marks
544 * DataColumnMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
545 * DataTableMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
546 * DataColumnMappingConverter: Added stub
547 * DataTableMappingConverter: Added stub
549 2004-03-03 Eran Domb <erand@miansoft.com>
551 * ComparerFactory.cs : Added.
553 2004-01-10 Atsushi Enomoto <atsushi@ximian.com>
555 * DbDataPermission.cs : tiny fix to pass OleDbPermission.
557 2004-01-09 Atsushi Enomoto <atsushi@ximian.com>
559 * DbDataPermission.cs : .ctor(PermissionState state) should not call
560 obsolete .ctor(state, allowBlankPassword). csc reports an error.
562 2003-12-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
564 * DbDataAdapter.cs: handle MissingShemaAction.AddWithKey, call
565 AcceptChanges in Update when a CommandBuilder is used and
566 correctly fill information about primary keys in FillSchema.
567 Patch from Sergei Malinin (smalinin@amurnet.ru).
569 2003-12-23 Tim Coleman <tim@timcoleman.com>
570 * DbConnectionString.cs:
572 * DbProviderFactory.cs:
573 Fix typo to make CLS compliant
575 2003-12-16 Jackson Harper <jackson@ximian.com>
577 * SchemaTableOptionalColumn.cs: Add to fix default build
579 2003-12-16 Tim Coleman <tim@timcoleman.com>
580 * CatalogLocation.cs DbCommand.cs DbCommandBuilder.cs
581 * DbCommandOptionalFeatures.cs DbCommandSet.cs DbConnection.cs
582 * DbConnectionString.cs DbDataSourceEnumerator.cs
583 * DbDataUpdatableRecord.cs DbParameter.cs DbParameterCollection.cs
584 * DbProviderConfigurationHandler.cs DbProviderFactories.cs
585 * DbProviderFactoriesConfigurationHandler.cs DbProviderFactory.cs
586 * DbProviderSupportedClasses.cs DbTable.cs DbTransaction.cs
587 * GroupByBehavior.cs IdentifierCase.cs SchemaLocation.cs
588 * SchemaTableColumn.cs:
589 New stubs added for .NET 1.2
590 * DataAdapter.cs DataColumnMapping.cs DataColumnMappingCollection.cs
591 * DataTableMapping.cs DataTableMappingCollection.cs DbDataAdapter.cs
592 * DbDataPermission.cs DbDataPermissionAttribute.cs DbDataRecord.cs
593 * FieldNameLookup.cs SchemaInfo.cs:
594 Changes made for .NET 1.2
596 2003-10-22 Eran Domb <erand@miansoft.com>
597 * DbDataAdapter.cs : Check if there is mapping to avoid exception.
599 2003-11-26 Tim Coleman <tim@timcoleman.com>
600 * DbDataReader.cs: Add new stub class
602 2003-11-23 Pedro Martínez Juliá <yoros@wanadoo.es>
604 * DbDataAdapter.cs: Call command dispose in self dispose method. We
605 need to dispose the connections and other stuff stored in the
608 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
610 * DataColumnMappingCollection.cs: Fix a missing exception when the
611 required mapping is not in the collection. MS.NET throws an
614 2003-10-22 Eran Domb <erand@miansoft.com>
616 * DbDataAdapter.cs (Fill): add only the mapped column to the dataTable (not all columns of dataReader).
617 Also closing the dataReader if an exception is thrown.
618 (Fill): the same as above.
619 (SetupSchema): in now return string (the table name).
620 (GetFillParameters): fix a bug.
621 (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.
622 (Update): first open the connection if needed. Catch an exception of the ExecuteQuery.
625 2003-09-30 Duncan Mak <duncan@ximian.com>
627 Patch from Eran Domb <eran@mainsoft.com>.
629 * DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
631 2003-09-25 Duncan Mak <duncan@ximian.com>
633 * DbDataAdapter.cs (Fill): Patch from Eran Domb, <eran@mainsoft.com>.
634 Fixes a possible NullReferenceException, more details here:
636 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002116.html
638 2003-09-21 eran <erand@mainsoft.com>
640 * DbDataRecord.cs: The method
641 System.Data.Common.DbDataRecord.GetValues(object[] values) did not
642 put the values of the DbDataRecord into values parameter.
644 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
646 * DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
647 exception. Thanks to Mark Easton <measton@tebiki.co.uk>.
649 2003-07-31 Duncan Mak <duncan@ximian.com>
651 * DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
654 2003-03-21 Alan Tam <Tam@SiuLung.com>
656 * DbDataAdapter.cs: Update now uses correct DataRowVersion
657 when accessing the data.
659 2003-03-17 Aleksey Demakov <avd@openlinksw.com>
661 * DbDataAdapter.cs: BuildSchema now uses ColumnName instead
662 of BaseColumnName (bug #39830) for DataColumn names.
663 BaseTableName is no longer taken into account as well.
665 2003-02-28 Aleksey Demakov <avd@openlinksw.com>
667 * DbDataAdapter.cs: Update (DataSet) updates the default
670 2003-02-25 Alan Tam <Tam@SiuLung.com>
672 * DbDataAdapter.cs: Added support for filling when schema is present.
673 Fixed incorrect behavior when ColumnMapping is present
674 when more than one fields have the same name. Implemented Dispose.
675 Fixed error when there is no ColumnMapping at all.
676 Still have some problems in finding the correct TableMapping
677 because the SourceTable name is not present in BuildSchema
679 2003-02-24 Aleksey Demakov <avd@openlinksw.com>
681 * DbDataAdapter.cs: The original code might pass a null DataTableMapping
682 value which is then used to create a RowUpdatingEventArgs
683 instance. So RowUpdatingEvent handler (for instance
684 CommandBuilder) could get null DataTableMapping which
685 might be unexpected. The patch makes sure that a non-null
686 DataTableMapping is passed.
688 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
690 * DbEnumerator.cs: why does the runtime throw an invalid cast here? The
691 object is an Int16... Gotta fill a bug report and when fixed undo this
694 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
696 * DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.
698 2002-10-31 Daniel Morgan <danmorg@sc.rr.com>
700 * SchemaInfo.cs: added missing properties to fix mcs build
702 2002-05-05 Miguel de Icaza <miguel@ximian.com>
704 * DataTableMapping.cs, DataTableMappingCollection.cs: comment out
705 interfaces we do not implement yet.
707 * DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
708 we do not implement yet.
710 * DbDataPermissionAttribute.cs: call base constructor.