1 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
3 * DbProviderFactoriesConfigurationHandler.cs : there was a config
4 test that used to be broken.
6 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
8 * DbProviderFactoriesConfigurationHandler.cs : remove "support"
9 attribute check, as it does not really do anything.
11 2007-02-19 Atsushi Enomoto <atsushi@ximian.com>
13 * DbProviderFactoriesConfigurationHandler.cs : "support" attribute is
14 optional. Fixed bug #80894.
16 2007-02-09 Nagappan A <anagappan@novell.com>
18 * DbProviderFactory.cs: Derived class has to implement all the
19 methods of this class.
21 * DbProviderFactoriesConfigurationHandler.cs (Create): Removed
24 2007-01-08 Nagappan A <anagappan@novell.com>
26 * DataTableMappingCollection.cs (AddRange): Implemented missing
29 * DbConnection.cs (GetSchema): Implemented missing NET 2.0 API,
30 based on SqlClient implementation.
32 * DbConnectionStringBuilder.cs (AppendKeyValuePair): Implemented
35 * DbDataReader.cs (GetData): Implemented missing API.
36 (GetDbDataReader): Implemented missing API.
38 * DbCommandBuilder.cs (BuildCache, BuildInformation)
39 (IncludedInInsert, IncludedInUpdate, IncludedInWhereClause)
40 (CreateDeleteCommand, CreateInsertCommand, CreateNewCommand)
41 (CreateUpdateCommand, CreateParameter): Added private methods.
42 (QuotedTableName, GetQuotedString, CatalogLocation)
43 (CatalogSeparator, ConflictOption, DataAdapter, QuotePrefix)
44 (QuoteSuffix, SchemaSeparator): Implemented public properties.
45 (SourceCommand): Implemented private property.
46 (Dispose, RowUpdatingHandler): Implemented protected methods.
47 (GetDeleteCommand, GetInsertCommand, GetUpdateCommand)
48 (QuoteIdentifier, UnquoteIdentifier, RefreshSchema): Implemented
51 * DbProviderFactory.cs: Removed MonoTODO's as the derived class
52 has to implement all the methods in this class.
54 * DataAdapter.cs (Fill): Implemented missing method.
56 * DbDataAdapter.cs (FillCommandBehavior): Implemented property.
58 2006-12-20 Nagappan A <anagappan@novell.com>
60 * DataColumnMapping.cs (GetDataColumnBySchemaAction): Implemented
63 * DbDataReader.cs: Removed TODO's where ever the implementation is
66 * RowUpdatedEventArgs.cs: Removed TODO's where ever the
67 implementation is available.
69 * DataAdapter.cs (FillInternal): Moved from DbDataAdapater.cs to
71 (BuildSchema): Moved from DbDataAdapter.cs.
72 (FillTable): Moved from DbDataAdapter.cs.
73 (OnFillErrorInternal): Implemented new internal method to raise an
75 (SetupSchema): Moved from DbDataAdapter.cs.
76 (FillInterl): Moved common implementation from DbDataAdapter.cs.
77 Removed TODO's where ever the implementation is available.
79 * DbDataAdapter.cs (OnRowUpdated): Implemented protected method.
80 (OnRowUpdating): Implemented protected method.
81 (CreateFillErrorEvent): Moved to DataAdapter.cs.
82 (Fill): Moved common implementation to DataAdapter.cs.
83 (FillTable): Moved to DataAdapter.cs.
84 (BuildSchema): Moved to DataAdapter.cs.
85 (SetupSchema): Moved to DataAdapter.cs.
87 2006-12-11 Miguel de Icaza <miguel@novell.com>
89 * DataAdapter.cs: Removed TODO, NotSupportedException was the
90 correct implementation.
92 2006-11-28 Nagappan A <anagappan@novell.com>
94 * DbDataAdapter.cs: Removed bogus MonoTODOs
96 * DataAdapter.cs: Removed bogus MonoTODOs
98 2006-11-15 Nagappan A <anagappan@novell.com>
100 * DbDataAdapter.cs (FillFromReader): Implemented missing API to
101 handle FillErrorEventHandler
102 (DataAdapter): Implemented missing .NET 2.0 function
103 (GetDeleteCommand): Returns DbDataAdapter deleteCommand internal
105 (GetInsertCommand): Returns DbDataAdapter insertCommand internal
107 (GetUpdateCommand): Returns DbDataAdapter updateCommand internal
110 2006-09-06 Konstantin Triger <kostat@mainsoft.com>
112 * DbDataAdapter.cs: added basic implementation for some 2.0 features.
114 2006-08-24 Vladimir Krasnov <vladimirk@mainsoft.com>
116 * DbProviderFactories.cs: added TARGET_JVM block to not supported
119 2006-08-06 Konstantin Triger <kostat@mainsoft.com>
121 * DbDataReader.cs: DbDataReader.Dipose(bool) - implemented.
123 2006-07-17 Senganal T <tsenganal@novell.com>
126 - GetAllRows : Added. Returns all the rows in the current
128 - GetDistinctRows :Added. Returns all the distinct rows (based
129 in Key Columns) in the index.
131 2006-07-13 Senganal T <tsenganal@novell.com>
133 * SchemaInfo.cs DbDataAdapter.cs DbConnectionOptions.cs DbParameter.cs
134 DbMetaDataColumnNames.cs DbTransaction.cs DataTableMapping.cs DataAdapter.cs
135 FieldNameLookup.cs DbDataRecord.cs DataColumnMappingCollection.cs DbCommand.cs
136 DbDataPermission.cs DbProviderFactory.cs DbCommandBuilder.cs DbConnectionString.cs
137 RowUpdatedEventArgs.cs DbDataReader.cs DbConnectionStringBuilder.cs DbConnection.cs
138 DataTableMappingCollection.cs :
141 2006-06-15 Senganal T <tsenganal@novell.com>
144 -Equals : Check for Equality of Sort Order too.
146 2006-04-07 Senganal T <tsenganal@novell.com>
149 * Update () : If the Update/Delete Query has a null check,
150 then populate the parameter value correctly.
152 2006-03-20 Senganal T <tsenganal@novell.com>
155 - Ctor () : Set Default Values for DataAdapter members
157 - Update () : Call row.AcceptChanges only if AcceptChangesDuringUpdate
158 is true. Fixes bug #77776
160 2006-03-09 Senganal T <tsenganal@novell.com>
163 - Update () : Add the new record in the correct position
165 2006-03-07 Senganal T <tsenganal@novell.com>
168 Reverted the changes from the earlier patch.
170 2006-02-22 Senganal T <tsenganal@novell.com>
173 - FillTable : Move BeginLoadData, EndLoadData outside the loop. Also,
174 move EndLoadData outsidet try,catch block. FillError is only for errors
175 occuring during loading the data into datatable.
177 - Set Default value of RowStateFilter to (CurrentRos | OriginalRows).
178 - ContainsVersion : If RowStateFilter is set to default value, return true
179 for Modified Rows as they can contain Default/Original versions.
181 2006-02-18 Raja R Harinath <harinath@gmail.com>
183 * DbConnectionStringBuilder.cs (ICollection.CopyTo): Use
184 _dictionary, not 'this' in cast.
186 2006-02-17 Chris Toshok <toshok@ximian.com>
188 * DbDataAdapter.cs: more 2.0 cleanup.
190 2006-02-17 Chris Toshok <toshok@ximian.com>
192 * DataAdapter.cs, DataColumnMappingCollection.cs,
193 DataColumnMapping.cs, DataTableMappingCollection.cs,
194 DataTableMapping.cs, DbCommandBuilder.cs,
195 DbConnectionStringBuilder.cs, DbParameterCollection.cs,
196 DbParameter.cs: pretty major attribute work.
198 2006-02-17 Chris Toshok <toshok@ximian.com>
200 * DbProviderFactory.cs: remove two methods. and mark the
201 DbProviderSupportedClasses ctor as internal since it's not part of
204 * DbTable.cs: remove this class from 2.0 build.. leave it for the
207 * RowUpdatingEventArgs.cs: this class isn't abstract in 2.0.
209 * RowUpdatedEventArgs.cs: this class isn't abstract in 2.0.
211 * SupportedJoinOperators.cs: new 2.0 enum.
213 * CatalogLocation.cs: fix enum values.
215 * GroupByBehavior.cs: same.
217 * IdentifierCase.cs: same.
219 * SchemaTableColumn.cs: class is static, not sealed. and add
222 * SchemaTableOptionalColumn.cs: same.
224 * DbDataReader.cs: oops, add back in VisibleFieldCount (i missed
225 it in the corcompare output), add EditorBrowsable attributes all
226 over the place, and fix some method signatures.
228 * DbDataUpdatableRecord.cs: remove this 2.0 file.
230 2006-02-17 Chris Toshok <toshok@ximian.com>
232 * DbDataReader.cs: remove VisibleFieldCount attribute, and remove
233 IDataReader2 and IDataRecord2 interfaces.
235 2006-02-13 Senganal T <tsenganal@novell.com>
239 - Add table to schema only if MissingSchemaAction is not Ignore
240 Add schema to table if MissingSchemaAction is set to either of
243 - Set the Schema values only if MissingSchemaAction is set to
246 2006-01-31 Senganal T <tsenganal@novell.com>
249 - Corrected an error in the prev checkin.. Fixes #77415
251 2006-01-27 Senganal T <tsenganal@novell.com>
254 - Modified schema population to follow MissingSchemaAction and MissingMappingAction
255 - Add a column to the Primary Key only if its not a hidden key
256 - Added some argument checks
257 - Removed some redundant code
259 - Added argument checks
261 - Added InvalidEnumException , a helper function to print error msg
263 2006-01-11 Boris Kirzner <borisk@mainsoft.com>
264 * Index.cs: removed redundant call to RebuildIndex() in constructor.
266 2005-12-12 Konstantin Triger <kostat@mainsoft.com>
268 * Key.cs: Added ContainsVersion function, refactoring.
269 * Index.cs: Fixed Reset() to be ready for Update() calls.
270 Otherwise the index can be rebuilt with new values inside the
271 Update() call itself.
272 Fixed FindIndexExact(), Update(), Delete().
274 2005-11-22 Konstantin Triger <kostat@mainsoft.com>
276 * DbProviderFactory.cs: TARGET_JVM ifdef.
278 2005-11-21 Senganal T <tsenganal@novell.com>
284 * DbProviderFactories.cs
286 * DbProviderFactory.cs
287 * DbCommandBuilder.cs
289 * DbParameterCollection.cs
290 - Added stubs and other changes for ADO.NET 2.0 compatibility.
291 * DbMetaDataCollectionNames.cs (new file)
292 - Added DbMetaDataCollectionNames Enumeration
294 2005-10-24 Konstantin Triger <kostat@mainsoft.com>
296 * DataContainer.cs: removed extra type validation for object container
298 2005-10-14 Senganal T <tsenganal@novell.com>
301 - BuildSchema() : Set the value of DataColumn Property 'AllowDBNull'
302 as returned by database. Fixes bug#76433.
304 2005-09-21 Boris Kirzner <borisk@mainsoft.com>
306 - Rebuild index immediately after construction.
307 - Do not add records if they do not padd key filtration.
308 - Do not attempt to remove records if the are not in the index.
310 - Added HasFilter property, CanContain and DependsOn methods.
311 - Equals() uses filter expression comparison.
313 2005-09-07 Boris Kirzner <borisk@mainsoft.com>
314 * DataContainer.cs: Do not convert value if container type
317 2005-08-08 Gert Driesen <drieseng@users.sourceforge.net>
319 * DbTypes.cs: Marked internal to fix public API.
321 2005-08-05 Sureshkumar T <tsureshkumar@novell.com>
324 - Update (): set parameter values only after getting the
325 appropriate command from command builder. Close reader only if it
326 is not closed before. Use parameter's SourceVersion. Whitespace
327 corrections to comply with standard.
329 2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
331 * DataColumnMappingCollection.cs: updated attributes & attribute
332 descriptions to match with masterinfos.
334 2005-07-15 Sureshkumar T <tsureshkumar@novell.com>
336 * DataTableMappingCollection.cs: GetTableMappingBySchemaAction:
337 meaningful error message if mapping is missing.
339 * DbDataAdapter.cs: Update: meaningful message if table is missing.
341 2005-06-22 Sureshkumar T <tsureshkumar@novell.com>
343 * Index.cs: Remove : length for Array.Copy (a, i+1, a, i, length -
346 2005-06-21 Sureshkumar T <tsureshkumar@novell.com>
348 * DbConnectionStringBuilder.cs: Implemented method for parsing
349 connection string through "ConnectionString" property.
351 * DbConnectionStringBuilderHelper.cs: Helper class to provide
352 conversion between string=>.net type mapping for connection string
353 builders. The idea is to use between other providers (odbc) as
356 2005-05-29 Boris Kirzner <borisk@mainsoft.com>
357 * DbCommand.cs - added #ifdef NET_2_0 on DbCommandOptionalFeatures (not used in TARGET_JVM).
358 * ExceptionHelper.cs - removed java references. Exceptions created on formatted text messages. Code styling fixes.
359 * DbParameterCollection.cs - implemented indexer properties.
360 * DbDataAdapter.cs - delagate exceptions creating to ExceptionHelper.
362 2005-05-25 Konstantin Triger <kostat@mainsoft.com>
364 * 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
366 2005-05-20 Umadevi S <sumadevi@novell.com>
367 * Added file DbProviderSpecificTypePropertyAttribute.cs
369 2005-05-19 Umadevi S <sumadevi@novell.com>
371 * RowUpdatingEventArgs.cs - added BaseCommand property for net 2.0
373 2005-05-18 Konstantin Triger <kostat@mainsoft.com>
375 * DbDataAdapter.cs: Initialize the schema values to defaults if the schema does not contain the information
377 2005-05-16 Sureshkumar T <tsureshkumar@novell.com>
379 * RecordCache.cs: quick fix to make build 2.0 profile (follow up
380 for check in 2005-05-16).
382 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
384 * Index.cs: validation that the updated row belongs to the index
386 2005-05-02 Konstantin Triger <kostat@mainsoft.com>
389 Added CharDataContainer, SByteDataContainer, UInt16DataContainer, UInt32DataContainer, UInt64DataContainer, DateTimeDataContainer, DecimalDataContainer
390 SetItemFromDataRecord: Changed to work with ISafeDataRecord or through GetValue to enable conversion
391 return DBNull.Value when the stored value is null
394 Ensure correct order for LoadDataRow
395 Fixing schema creation
399 LoadSchema: Retrieve needed fields only
402 Added Rows-to-Records mapping
403 Added ReadIDataRecord method for correct handling of default/auto increment values
405 * Added Index.cs: Index implementation
406 * Added Key.cs: Index descriptor implementation
409 2005-04-27 Sureshkumar T <tsureshkumar@novell.com>
411 * DbDataReader.cs: Added static method to construct the schema
412 table with default schema. Could be reused in many places.
414 2005-04-22 Sureshkumar T <tsureshkumar@novell.com>
416 * DbDataAdapter.cs: Moved FillTable and BuildSchema as static
417 methods as they are not operating on the current instance. This
418 could be reused to fill any table from a data reader.
420 * RecordCache.cs: While disposing records, make sure that the
421 record is not already disposed. i.e. to make sure later the same
422 record is not reused. Implemented a static method to compare two
423 version of records in a container.
425 2005-04-18 Sureshkumar T <tsureshkumar@novell.com>
427 * DataAdapter.cs: Implemenetd OnFillError handler.
429 * DbDataAdapter.cs: BuildSchema (): the table to be filled might
430 contain few additional columns as well. so mapping length should
431 be columns' length + fields' length.
433 2005-03-24 Sureshkumar T <tsureshkumar@novell.com>
435 * DbDataAdapter.cs: Update: If SourceColumn is null, do not set
436 value for the parameter.
438 2005-05-25 Umadevi S <sumadevi@novell.com>
439 * Added DbException.cs
441 2005-03-23 Sureshkumar T <tsureshkumar@novell.com>
443 * DbDataAdapter.cs: For Update, disable ReadOnly constraint
444 temporarily before updating the row. Info from Ingo Bauersachs.
445 SkipAllRemainingRows should also skip current row (msdn).
447 2005-03-22 Sureshkumar T <tsureshkumar@novell.com>
449 * DbDataAdapter.cs: Update (): update the rows based on the
450 UpdateRowSource property. Process further based on the
451 RowUpdatedEvent handler argument's Status property.
452 Fixes bug #73587. Thanks to mono@rankweg.ch (Ingo Bauersachs) for
453 bug report and patch.
455 * RowUpdatedEventArgs.cs: if custom error is not set, throw a
458 2005-03-01 Sureshkumar T <tsureshkumar@novell.com>
460 * ConnectionStringsSectionHandler.cs: Added. configuration section
461 handler for section "connectionStrings". This handler is a ad hoc
462 solution till the new configuration API is available in mono.
464 2005-02-04 Sureshkumar T <tsureshkumar@novell.com>
466 * DbDataAdapter.cs (Update ()) :
467 - Check for one return result set and map the values back to
469 - Check for output & return value parameters and update the value
470 back to mapped column
471 - check for recordsAffected only after closing the reader.
473 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
475 * DbConnection.cs: Implement Dispose pattern.
477 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
479 * DbDataPermission.cs : Empty.Union(Empty) is Empty.
481 2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
483 * DbDataPermissionAttribute.cs, PermissionHelper.cs :
484 fixed some incompatible type of exception between 2.0 and 1.x.
486 Wrap exceptions thrown by SetValue() within ArgumentException.
488 2004-12-10 Sureshkumar T <tsureshkumar@novell.com>
490 * DbDataAdapter.cs (BuildSchema): Add the primary key schema iff
491 MissingSchemaAction is set to AddWithKey. Also, Add auto increment
492 value from the source table. fixes bug #67757 and #69110.
494 2004-11-24 Sureshkumar T <tsureshkumar@novell.com>
496 * DbProviderSupportedClasses.cs: Added correct enum values.
497 * DbConnection.cs: Missing virtual method EnlistTransaction Added.
498 * DbCommand.cs: Implemented ProviderFactory base factory methods.
500 2004-11-22 Sureshkumar T <tsureshkumar@novell.com>
502 * DbConnectionStringBuilder.cs: Class for helping creation of db
503 connection strings added.
505 2004-10-01 Sureshkumar T <tsureshkumar@novell.com>
507 * DbProviderFactories.cs: Implemented all the stubs. Added functionality for
508 getting available provider factories and creating a specified provider factory.
510 * DbProviderFactoriesConfigurationHandler.cs: Added functionality for handling
511 DbProviderFactories configuration section.
513 * DbProviderFactory.cs: Added protected constructor. SupportedClasses property
516 2004-09-14 Sebastien Pouliot <sebastien@ximian.com>
518 * DbDataPermission.cs: Implemented Intersect, IsSubsetOf and Union.
519 Implementation isn't complete as the restrictions seems to change the
520 expected results (breaking some rules like x.IsSubsetOf (x) == false).
521 Better (real-world) tests cases are required.
522 * PermissionHelper.cs: Fixed small differences between System.Data.dll
523 validations wrt to mscorlib.dll (XML and PermissionState).
525 2004-09-13 Sebastien Pouliot <sebastien@ximian.com>
527 * DbConnectionOptions.cs: New class for Fx 2.0. Partial implementation
528 to support new methods in DBDataPermission.
529 * DbConnectionString.cs: Updated class to split from/inherit
530 DbConnectionOptions class.
531 * DbDataPermission.cs: Implemented Add, Clear, Copy, ToXml methods and
532 completed constructors.
533 * DbDataPermissionAttribute.cs: Completed/fixed class.
534 * PermissionHelper.cs: Helper methods to create permission classes.
536 2004-08-31 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
537 * 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.
539 2004-07-21 Umadevi S <sumadevi@novell.com>
540 * DbDataRecord.cs - Fix for bug 58163. Return DBNull instead of null
542 2004-07-07 Umadevi S <sumadevi@novell.com>
543 * DataContainer.cs :CheckedforNull before calling the relavant setmethods in each of the
544 SetItemForDataRecord method for the DateTimeClass
547 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
549 * DataColumnMappingCollection.cs : fixed typo.
550 * DbDataAdapter.cs : column mappings were not filled.
552 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
554 * DataTableMapping.cs : Clone() should also clone ColumnMappings.
556 2004-06-18 Umadevi S <sumadevi@novell.com>
557 * DataContainer.cs - CheckedforNull before calling the relavant setmethods in each of the
558 SetItemForDataRecord method for all the classes.
560 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
561 * RecordCache.cs : Added CopyRecord mathod that copies single record from one table to another.
563 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
565 - Store and retreival of null and DBNull values reviewed.
566 - Added GetInt64 to support AutoIncrement of DataColumn.
567 - Added missing CopyValue method to BitDataContainer.
568 - Added FillValues method to propagate single value to whole container.
570 2004-06-10 Umadevi S <sumadevi@novell.com>
571 * DataTableMappingCollection.cs - fixed nunit testcase errors
572 IndexOfDataSetTable method
574 2004-06-09 Umadevi S <sumadevi@novell.com>
575 * DataTableMappingCollection.cs - fixed nunit testcase errors
576 - Add, GetByDataSetTable,Insert, Remove, RemoveAt methods.
578 2004-06-09 Umadevi S <sumadevi@novell.com>
579 * DataColumnMappingCollection.cs - fixed nunit testcase errors
580 - GetByDataSetColumn,IndexOfDataSetColumn, Remove methods.
582 2004-06-08 Umadevi S <sumadevi@novell.com>
583 * DataColumnMappingCollection.cs - fixed nunit testcase errors.
584 - remove, removeat, contains methods.
586 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
588 * DataAdapter.cs: added missing protected ctor
589 * DbDataAdapter.cs: added stub for missing protected ctor
590 * DbDataPermission.cs: added stubs for missing protected
591 ctors, added stub for missing Clear method
593 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
594 * DataColumnMappingCollection.cs: added missing attributes on
597 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
598 * DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer.SetValue .
600 2004-05-20 Gert Driesen (drieseng@users.sourceforge.net)
602 * DbDataPermissionAttribute.cs: change AllowMultiple and
603 Inherited to match .NET
605 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
606 * Datacontainer.cs : CompareValues reviewed. set_Item and get_Item of null and DBNull values in case of DataContainers
607 for primitive types reviewed. Added check for null values when reading from IDataRecord.
609 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
610 * RecordCache.cs - added. Each instance of record cache belongs to specific table
611 and manages pool of records ( indexes into data containers) to be used by data rows.
612 * DataContainer.cs - added. Provides implementation for data containers that holds data in arrays
613 of primitives or objects. Each data container belongs to specific DataColumn.
614 * DbDataAdapter.cs - changes to complete data storage redesign. Bug fix in FillTable
615 ( to fetch exact number of records required ).
617 2004-05-13 Umadevi S (sumadevi@novell.com)
618 * DbDataPermissionAttribute.cs - Added KeyRestrictions property with a TODO tag
620 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
621 * ComparerFactory.cs: marked internal
623 2003-04-26 Boris Kirzner <borisk@mainsoft.com>
624 * DataColumnMappingCollection.cs : Small fix in exception message thrown.
626 2003-04-25 Boris Kirzner <borisk@mainsoft.com>
627 * DbDataAdapter.cs : Fixed bug in Fill :
628 - Reader can have empty results (fo example from UPDATE or DELETE).
629 - Reader can have results with no rows (SELECT that returns 0 rows but have columns)
630 - In FillTable - skip rows only once for each table.
632 2003-04-14 Juraj Skripsky <juraj@hotfeet.ch>
633 * DbDataAdapter.cs : Refactoring of Fill. New private method
634 FillTable does most of the work now. Use int[] instead of
635 hashtable for mapping. Move creation of tableArray[] outside
638 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
640 * DbDataPermissionAttribute.cs: Added .Net 1.1 marks
641 * DataColumnMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
642 * DataTableMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
643 * DataColumnMappingConverter: Added stub
644 * DataTableMappingConverter: Added stub
646 2004-03-03 Eran Domb <erand@miansoft.com>
648 * ComparerFactory.cs : Added.
650 2004-01-10 Atsushi Enomoto <atsushi@ximian.com>
652 * DbDataPermission.cs : tiny fix to pass OleDbPermission.
654 2004-01-09 Atsushi Enomoto <atsushi@ximian.com>
656 * DbDataPermission.cs : .ctor(PermissionState state) should not call
657 obsolete .ctor(state, allowBlankPassword). csc reports an error.
659 2003-12-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
661 * DbDataAdapter.cs: handle MissingShemaAction.AddWithKey, call
662 AcceptChanges in Update when a CommandBuilder is used and
663 correctly fill information about primary keys in FillSchema.
664 Patch from Sergei Malinin (smalinin@amurnet.ru).
666 2003-12-23 Tim Coleman <tim@timcoleman.com>
667 * DbConnectionString.cs:
669 * DbProviderFactory.cs:
670 Fix typo to make CLS compliant
672 2003-12-16 Jackson Harper <jackson@ximian.com>
674 * SchemaTableOptionalColumn.cs: Add to fix default build
676 2003-12-16 Tim Coleman <tim@timcoleman.com>
677 * CatalogLocation.cs DbCommand.cs DbCommandBuilder.cs
678 * DbCommandOptionalFeatures.cs DbCommandSet.cs DbConnection.cs
679 * DbConnectionString.cs DbDataSourceEnumerator.cs
680 * DbDataUpdatableRecord.cs DbParameter.cs DbParameterCollection.cs
681 * DbProviderConfigurationHandler.cs DbProviderFactories.cs
682 * DbProviderFactoriesConfigurationHandler.cs DbProviderFactory.cs
683 * DbProviderSupportedClasses.cs DbTable.cs DbTransaction.cs
684 * GroupByBehavior.cs IdentifierCase.cs SchemaLocation.cs
685 * SchemaTableColumn.cs:
686 New stubs added for .NET 1.2
687 * DataAdapter.cs DataColumnMapping.cs DataColumnMappingCollection.cs
688 * DataTableMapping.cs DataTableMappingCollection.cs DbDataAdapter.cs
689 * DbDataPermission.cs DbDataPermissionAttribute.cs DbDataRecord.cs
690 * FieldNameLookup.cs SchemaInfo.cs:
691 Changes made for .NET 1.2
693 2003-10-22 Eran Domb <erand@miansoft.com>
694 * DbDataAdapter.cs : Check if there is mapping to avoid exception.
696 2003-11-26 Tim Coleman <tim@timcoleman.com>
697 * DbDataReader.cs: Add new stub class
699 2003-11-23 Pedro Martínez Juliá <yoros@wanadoo.es>
701 * DbDataAdapter.cs: Call command dispose in self dispose method. We
702 need to dispose the connections and other stuff stored in the
705 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
707 * DataColumnMappingCollection.cs: Fix a missing exception when the
708 required mapping is not in the collection. MS.NET throws an
711 2003-10-22 Eran Domb <erand@miansoft.com>
713 * DbDataAdapter.cs (Fill): add only the mapped column to the dataTable (not all columns of dataReader).
714 Also closing the dataReader if an exception is thrown.
715 (Fill): the same as above.
716 (SetupSchema): in now return string (the table name).
717 (GetFillParameters): fix a bug.
718 (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.
719 (Update): first open the connection if needed. Catch an exception of the ExecuteQuery.
722 2003-09-30 Duncan Mak <duncan@ximian.com>
724 Patch from Eran Domb <eran@mainsoft.com>.
726 * DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
728 2003-09-25 Duncan Mak <duncan@ximian.com>
730 * DbDataAdapter.cs (Fill): Patch from Eran Domb, <eran@mainsoft.com>.
731 Fixes a possible NullReferenceException, more details here:
733 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002116.html
735 2003-09-21 eran <erand@mainsoft.com>
737 * DbDataRecord.cs: The method
738 System.Data.Common.DbDataRecord.GetValues(object[] values) did not
739 put the values of the DbDataRecord into values parameter.
741 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
743 * DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
744 exception. Thanks to Mark Easton <measton@tebiki.co.uk>.
746 2003-07-31 Duncan Mak <duncan@ximian.com>
748 * DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
751 2003-03-21 Alan Tam <Tam@SiuLung.com>
753 * DbDataAdapter.cs: Update now uses correct DataRowVersion
754 when accessing the data.
756 2003-03-17 Aleksey Demakov <avd@openlinksw.com>
758 * DbDataAdapter.cs: BuildSchema now uses ColumnName instead
759 of BaseColumnName (bug #39830) for DataColumn names.
760 BaseTableName is no longer taken into account as well.
762 2003-02-28 Aleksey Demakov <avd@openlinksw.com>
764 * DbDataAdapter.cs: Update (DataSet) updates the default
767 2003-02-25 Alan Tam <Tam@SiuLung.com>
769 * DbDataAdapter.cs: Added support for filling when schema is present.
770 Fixed incorrect behavior when ColumnMapping is present
771 when more than one fields have the same name. Implemented Dispose.
772 Fixed error when there is no ColumnMapping at all.
773 Still have some problems in finding the correct TableMapping
774 because the SourceTable name is not present in BuildSchema
776 2003-02-24 Aleksey Demakov <avd@openlinksw.com>
778 * DbDataAdapter.cs: The original code might pass a null DataTableMapping
779 value which is then used to create a RowUpdatingEventArgs
780 instance. So RowUpdatingEvent handler (for instance
781 CommandBuilder) could get null DataTableMapping which
782 might be unexpected. The patch makes sure that a non-null
783 DataTableMapping is passed.
785 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
787 * DbEnumerator.cs: why does the runtime throw an invalid cast here? The
788 object is an Int16... Gotta fill a bug report and when fixed undo this
791 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
793 * DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.
795 2002-10-31 Daniel Morgan <danmorg@sc.rr.com>
797 * SchemaInfo.cs: added missing properties to fix mcs build
799 2002-05-05 Miguel de Icaza <miguel@ximian.com>
801 * DataTableMapping.cs, DataTableMappingCollection.cs: comment out
802 interfaces we do not implement yet.
804 * DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
805 we do not implement yet.
807 * DbDataPermissionAttribute.cs: call base constructor.