1 2007-07-26 Nagappan A <anagappan@novell.com>
3 * DbConnection.cs: Removed bogus TODO.
5 2007-07-22 Nagappan A <anagappan@novell.com>
7 * DbConnection.cs: 2.0 missing features.
9 * DbDataAdapter.cs: 2.0 missing features.
11 2007-06-30 Gert Driesen <drieseng@users.sourceforge.net>
13 * DbDataAdapter.cs: Marked ICloneable.Clone obsolete to match MS.
15 2007-06-21 Nagappan A <anagappan@novell.com>
17 * DbConnectionStringBuilder.cs (Init): Modified the dictionary to
18 use StringComparer.InvariantCultureIgnoreCase.
19 (Add, ContainsKey): Checks whether argument is null or empty string.
21 2007-05-08 Adar Wesley <adarw@mainsoft.com>
23 * DbProviderFactory.cs: minor refactoring for throwing exceptions
25 2007-04-30 Marek Habersack <mhabersack@novell.com>
27 * DbProviderFactories.cs: throw the same exception MS.NET does.
29 2007-03-03 Gert Driesen <drieseng@users.sourceforge.net>
31 * DbProviderFactoriesConfigurationHandler.cs: Added support for
34 2007-03-03 Gert driesen <drieseng@users.sourceforge.net>
36 * ConnectionStringsSectionHandler.cs: Removed since the 2.0 config
38 * DbProviderFactoriesConfigurationHandler.cs: Fixed name of DataSet
39 to match MS. Removed SupportedClasses column since this is no longer
40 part of 2.0 profile (removed during beta). Throw
41 ConfigurationErrorsException for unrecognized elements. Mark methods
42 private, and refactor them. Added FIXMEs for missing checks for
43 unrecognized attributes.
44 * DbProviderFactories.cs: Marked constants internal. Replaced spaces
45 with tabs. Use ConfigurationManager.GetSection instead of deprecated
46 ConfigurationSettings.GetConfig.
48 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
50 * DbProviderFactoriesConfigurationHandler.cs : there was a config
51 test that used to be broken.
53 2007-02-26 Atsushi Enomoto <atsushi@ximian.com>
55 * DbProviderFactoriesConfigurationHandler.cs : remove "support"
56 attribute check, as it does not really do anything.
58 2007-02-19 Atsushi Enomoto <atsushi@ximian.com>
60 * DbProviderFactoriesConfigurationHandler.cs : "support" attribute is
61 optional. Fixed bug #80894.
63 2007-02-09 Nagappan A <anagappan@novell.com>
65 * DbProviderFactory.cs: Derived class has to implement all the
66 methods of this class.
68 * DbProviderFactoriesConfigurationHandler.cs (Create): Removed
71 2007-01-08 Nagappan A <anagappan@novell.com>
73 * DataTableMappingCollection.cs (AddRange): Implemented missing
76 * DbConnection.cs (GetSchema): Implemented missing NET 2.0 API,
77 based on SqlClient implementation.
79 * DbConnectionStringBuilder.cs (AppendKeyValuePair): Implemented
82 * DbDataReader.cs (GetData): Implemented missing API.
83 (GetDbDataReader): Implemented missing API.
85 * DbCommandBuilder.cs (BuildCache, BuildInformation)
86 (IncludedInInsert, IncludedInUpdate, IncludedInWhereClause)
87 (CreateDeleteCommand, CreateInsertCommand, CreateNewCommand)
88 (CreateUpdateCommand, CreateParameter): Added private methods.
89 (QuotedTableName, GetQuotedString, CatalogLocation)
90 (CatalogSeparator, ConflictOption, DataAdapter, QuotePrefix)
91 (QuoteSuffix, SchemaSeparator): Implemented public properties.
92 (SourceCommand): Implemented private property.
93 (Dispose, RowUpdatingHandler): Implemented protected methods.
94 (GetDeleteCommand, GetInsertCommand, GetUpdateCommand)
95 (QuoteIdentifier, UnquoteIdentifier, RefreshSchema): Implemented
98 * DbProviderFactory.cs: Removed MonoTODO's as the derived class
99 has to implement all the methods in this class.
101 * DataAdapter.cs (Fill): Implemented missing method.
103 * DbDataAdapter.cs (FillCommandBehavior): Implemented property.
105 2006-12-20 Nagappan A <anagappan@novell.com>
107 * DataColumnMapping.cs (GetDataColumnBySchemaAction): Implemented
110 * DbDataReader.cs: Removed TODO's where ever the implementation is
113 * RowUpdatedEventArgs.cs: Removed TODO's where ever the
114 implementation is available.
116 * DataAdapter.cs (FillInternal): Moved from DbDataAdapater.cs to
118 (BuildSchema): Moved from DbDataAdapter.cs.
119 (FillTable): Moved from DbDataAdapter.cs.
120 (OnFillErrorInternal): Implemented new internal method to raise an
122 (SetupSchema): Moved from DbDataAdapter.cs.
123 (FillInterl): Moved common implementation from DbDataAdapter.cs.
124 Removed TODO's where ever the implementation is available.
126 * DbDataAdapter.cs (OnRowUpdated): Implemented protected method.
127 (OnRowUpdating): Implemented protected method.
128 (CreateFillErrorEvent): Moved to DataAdapter.cs.
129 (Fill): Moved common implementation to DataAdapter.cs.
130 (FillTable): Moved to DataAdapter.cs.
131 (BuildSchema): Moved to DataAdapter.cs.
132 (SetupSchema): Moved to DataAdapter.cs.
134 2006-12-11 Miguel de Icaza <miguel@novell.com>
136 * DataAdapter.cs: Removed TODO, NotSupportedException was the
137 correct implementation.
139 2006-11-28 Nagappan A <anagappan@novell.com>
141 * DbDataAdapter.cs: Removed bogus MonoTODOs
143 * DataAdapter.cs: Removed bogus MonoTODOs
145 2006-11-15 Nagappan A <anagappan@novell.com>
147 * DbDataAdapter.cs (FillFromReader): Implemented missing API to
148 handle FillErrorEventHandler
149 (DataAdapter): Implemented missing .NET 2.0 function
150 (GetDeleteCommand): Returns DbDataAdapter deleteCommand internal
152 (GetInsertCommand): Returns DbDataAdapter insertCommand internal
154 (GetUpdateCommand): Returns DbDataAdapter updateCommand internal
157 2006-09-06 Konstantin Triger <kostat@mainsoft.com>
159 * DbDataAdapter.cs: added basic implementation for some 2.0 features.
161 2006-08-24 Vladimir Krasnov <vladimirk@mainsoft.com>
163 * DbProviderFactories.cs: added TARGET_JVM block to not supported
166 2006-08-06 Konstantin Triger <kostat@mainsoft.com>
168 * DbDataReader.cs: DbDataReader.Dipose(bool) - implemented.
170 2006-07-17 Senganal T <tsenganal@novell.com>
173 - GetAllRows : Added. Returns all the rows in the current
175 - GetDistinctRows :Added. Returns all the distinct rows (based
176 in Key Columns) in the index.
178 2006-07-13 Senganal T <tsenganal@novell.com>
180 * SchemaInfo.cs DbDataAdapter.cs DbConnectionOptions.cs DbParameter.cs
181 DbMetaDataColumnNames.cs DbTransaction.cs DataTableMapping.cs DataAdapter.cs
182 FieldNameLookup.cs DbDataRecord.cs DataColumnMappingCollection.cs DbCommand.cs
183 DbDataPermission.cs DbProviderFactory.cs DbCommandBuilder.cs DbConnectionString.cs
184 RowUpdatedEventArgs.cs DbDataReader.cs DbConnectionStringBuilder.cs DbConnection.cs
185 DataTableMappingCollection.cs :
188 2006-06-15 Senganal T <tsenganal@novell.com>
191 -Equals : Check for Equality of Sort Order too.
193 2006-04-07 Senganal T <tsenganal@novell.com>
196 * Update () : If the Update/Delete Query has a null check,
197 then populate the parameter value correctly.
199 2006-03-20 Senganal T <tsenganal@novell.com>
202 - Ctor () : Set Default Values for DataAdapter members
204 - Update () : Call row.AcceptChanges only if AcceptChangesDuringUpdate
205 is true. Fixes bug #77776
207 2006-03-09 Senganal T <tsenganal@novell.com>
210 - Update () : Add the new record in the correct position
212 2006-03-07 Senganal T <tsenganal@novell.com>
215 Reverted the changes from the earlier patch.
217 2006-02-22 Senganal T <tsenganal@novell.com>
220 - FillTable : Move BeginLoadData, EndLoadData outside the loop. Also,
221 move EndLoadData outsidet try,catch block. FillError is only for errors
222 occuring during loading the data into datatable.
224 - Set Default value of RowStateFilter to (CurrentRos | OriginalRows).
225 - ContainsVersion : If RowStateFilter is set to default value, return true
226 for Modified Rows as they can contain Default/Original versions.
228 2006-02-18 Raja R Harinath <harinath@gmail.com>
230 * DbConnectionStringBuilder.cs (ICollection.CopyTo): Use
231 _dictionary, not 'this' in cast.
233 2006-02-17 Chris Toshok <toshok@ximian.com>
235 * DbDataAdapter.cs: more 2.0 cleanup.
237 2006-02-17 Chris Toshok <toshok@ximian.com>
239 * DataAdapter.cs, DataColumnMappingCollection.cs,
240 DataColumnMapping.cs, DataTableMappingCollection.cs,
241 DataTableMapping.cs, DbCommandBuilder.cs,
242 DbConnectionStringBuilder.cs, DbParameterCollection.cs,
243 DbParameter.cs: pretty major attribute work.
245 2006-02-17 Chris Toshok <toshok@ximian.com>
247 * DbProviderFactory.cs: remove two methods. and mark the
248 DbProviderSupportedClasses ctor as internal since it's not part of
251 * DbTable.cs: remove this class from 2.0 build.. leave it for the
254 * RowUpdatingEventArgs.cs: this class isn't abstract in 2.0.
256 * RowUpdatedEventArgs.cs: this class isn't abstract in 2.0.
258 * SupportedJoinOperators.cs: new 2.0 enum.
260 * CatalogLocation.cs: fix enum values.
262 * GroupByBehavior.cs: same.
264 * IdentifierCase.cs: same.
266 * SchemaTableColumn.cs: class is static, not sealed. and add
269 * SchemaTableOptionalColumn.cs: same.
271 * DbDataReader.cs: oops, add back in VisibleFieldCount (i missed
272 it in the corcompare output), add EditorBrowsable attributes all
273 over the place, and fix some method signatures.
275 * DbDataUpdatableRecord.cs: remove this 2.0 file.
277 2006-02-17 Chris Toshok <toshok@ximian.com>
279 * DbDataReader.cs: remove VisibleFieldCount attribute, and remove
280 IDataReader2 and IDataRecord2 interfaces.
282 2006-02-13 Senganal T <tsenganal@novell.com>
286 - Add table to schema only if MissingSchemaAction is not Ignore
287 Add schema to table if MissingSchemaAction is set to either of
290 - Set the Schema values only if MissingSchemaAction is set to
293 2006-01-31 Senganal T <tsenganal@novell.com>
296 - Corrected an error in the prev checkin.. Fixes #77415
298 2006-01-27 Senganal T <tsenganal@novell.com>
301 - Modified schema population to follow MissingSchemaAction and MissingMappingAction
302 - Add a column to the Primary Key only if its not a hidden key
303 - Added some argument checks
304 - Removed some redundant code
306 - Added argument checks
308 - Added InvalidEnumException , a helper function to print error msg
310 2006-01-11 Boris Kirzner <borisk@mainsoft.com>
311 * Index.cs: removed redundant call to RebuildIndex() in constructor.
313 2005-12-12 Konstantin Triger <kostat@mainsoft.com>
315 * Key.cs: Added ContainsVersion function, refactoring.
316 * Index.cs: Fixed Reset() to be ready for Update() calls.
317 Otherwise the index can be rebuilt with new values inside the
318 Update() call itself.
319 Fixed FindIndexExact(), Update(), Delete().
321 2005-11-22 Konstantin Triger <kostat@mainsoft.com>
323 * DbProviderFactory.cs: TARGET_JVM ifdef.
325 2005-11-21 Senganal T <tsenganal@novell.com>
331 * DbProviderFactories.cs
333 * DbProviderFactory.cs
334 * DbCommandBuilder.cs
336 * DbParameterCollection.cs
337 - Added stubs and other changes for ADO.NET 2.0 compatibility.
338 * DbMetaDataCollectionNames.cs (new file)
339 - Added DbMetaDataCollectionNames Enumeration
341 2005-10-24 Konstantin Triger <kostat@mainsoft.com>
343 * DataContainer.cs: removed extra type validation for object container
345 2005-10-14 Senganal T <tsenganal@novell.com>
348 - BuildSchema() : Set the value of DataColumn Property 'AllowDBNull'
349 as returned by database. Fixes bug#76433.
351 2005-09-21 Boris Kirzner <borisk@mainsoft.com>
353 - Rebuild index immediately after construction.
354 - Do not add records if they do not padd key filtration.
355 - Do not attempt to remove records if the are not in the index.
357 - Added HasFilter property, CanContain and DependsOn methods.
358 - Equals() uses filter expression comparison.
360 2005-09-07 Boris Kirzner <borisk@mainsoft.com>
361 * DataContainer.cs: Do not convert value if container type
364 2005-08-08 Gert Driesen <drieseng@users.sourceforge.net>
366 * DbTypes.cs: Marked internal to fix public API.
368 2005-08-05 Sureshkumar T <tsureshkumar@novell.com>
371 - Update (): set parameter values only after getting the
372 appropriate command from command builder. Close reader only if it
373 is not closed before. Use parameter's SourceVersion. Whitespace
374 corrections to comply with standard.
376 2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
378 * DataColumnMappingCollection.cs: updated attributes & attribute
379 descriptions to match with masterinfos.
381 2005-07-15 Sureshkumar T <tsureshkumar@novell.com>
383 * DataTableMappingCollection.cs: GetTableMappingBySchemaAction:
384 meaningful error message if mapping is missing.
386 * DbDataAdapter.cs: Update: meaningful message if table is missing.
388 2005-06-22 Sureshkumar T <tsureshkumar@novell.com>
390 * Index.cs: Remove : length for Array.Copy (a, i+1, a, i, length -
393 2005-06-21 Sureshkumar T <tsureshkumar@novell.com>
395 * DbConnectionStringBuilder.cs: Implemented method for parsing
396 connection string through "ConnectionString" property.
398 * DbConnectionStringBuilderHelper.cs: Helper class to provide
399 conversion between string=>.net type mapping for connection string
400 builders. The idea is to use between other providers (odbc) as
403 2005-05-29 Boris Kirzner <borisk@mainsoft.com>
404 * DbCommand.cs - added #ifdef NET_2_0 on DbCommandOptionalFeatures (not used in TARGET_JVM).
405 * ExceptionHelper.cs - removed java references. Exceptions created on formatted text messages. Code styling fixes.
406 * DbParameterCollection.cs - implemented indexer properties.
407 * DbDataAdapter.cs - delagate exceptions creating to ExceptionHelper.
409 2005-05-25 Konstantin Triger <kostat@mainsoft.com>
411 * 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
413 2005-05-20 Umadevi S <sumadevi@novell.com>
414 * Added file DbProviderSpecificTypePropertyAttribute.cs
416 2005-05-19 Umadevi S <sumadevi@novell.com>
418 * RowUpdatingEventArgs.cs - added BaseCommand property for net 2.0
420 2005-05-18 Konstantin Triger <kostat@mainsoft.com>
422 * DbDataAdapter.cs: Initialize the schema values to defaults if the schema does not contain the information
424 2005-05-16 Sureshkumar T <tsureshkumar@novell.com>
426 * RecordCache.cs: quick fix to make build 2.0 profile (follow up
427 for check in 2005-05-16).
429 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
431 * Index.cs: validation that the updated row belongs to the index
433 2005-05-02 Konstantin Triger <kostat@mainsoft.com>
436 Added CharDataContainer, SByteDataContainer, UInt16DataContainer, UInt32DataContainer, UInt64DataContainer, DateTimeDataContainer, DecimalDataContainer
437 SetItemFromDataRecord: Changed to work with ISafeDataRecord or through GetValue to enable conversion
438 return DBNull.Value when the stored value is null
441 Ensure correct order for LoadDataRow
442 Fixing schema creation
446 LoadSchema: Retrieve needed fields only
449 Added Rows-to-Records mapping
450 Added ReadIDataRecord method for correct handling of default/auto increment values
452 * Added Index.cs: Index implementation
453 * Added Key.cs: Index descriptor implementation
456 2005-04-27 Sureshkumar T <tsureshkumar@novell.com>
458 * DbDataReader.cs: Added static method to construct the schema
459 table with default schema. Could be reused in many places.
461 2005-04-22 Sureshkumar T <tsureshkumar@novell.com>
463 * DbDataAdapter.cs: Moved FillTable and BuildSchema as static
464 methods as they are not operating on the current instance. This
465 could be reused to fill any table from a data reader.
467 * RecordCache.cs: While disposing records, make sure that the
468 record is not already disposed. i.e. to make sure later the same
469 record is not reused. Implemented a static method to compare two
470 version of records in a container.
472 2005-04-18 Sureshkumar T <tsureshkumar@novell.com>
474 * DataAdapter.cs: Implemenetd OnFillError handler.
476 * DbDataAdapter.cs: BuildSchema (): the table to be filled might
477 contain few additional columns as well. so mapping length should
478 be columns' length + fields' length.
480 2005-03-24 Sureshkumar T <tsureshkumar@novell.com>
482 * DbDataAdapter.cs: Update: If SourceColumn is null, do not set
483 value for the parameter.
485 2005-05-25 Umadevi S <sumadevi@novell.com>
486 * Added DbException.cs
488 2005-03-23 Sureshkumar T <tsureshkumar@novell.com>
490 * DbDataAdapter.cs: For Update, disable ReadOnly constraint
491 temporarily before updating the row. Info from Ingo Bauersachs.
492 SkipAllRemainingRows should also skip current row (msdn).
494 2005-03-22 Sureshkumar T <tsureshkumar@novell.com>
496 * DbDataAdapter.cs: Update (): update the rows based on the
497 UpdateRowSource property. Process further based on the
498 RowUpdatedEvent handler argument's Status property.
499 Fixes bug #73587. Thanks to mono@rankweg.ch (Ingo Bauersachs) for
500 bug report and patch.
502 * RowUpdatedEventArgs.cs: if custom error is not set, throw a
505 2005-03-01 Sureshkumar T <tsureshkumar@novell.com>
507 * ConnectionStringsSectionHandler.cs: Added. configuration section
508 handler for section "connectionStrings". This handler is a ad hoc
509 solution till the new configuration API is available in mono.
511 2005-02-04 Sureshkumar T <tsureshkumar@novell.com>
513 * DbDataAdapter.cs (Update ()) :
514 - Check for one return result set and map the values back to
516 - Check for output & return value parameters and update the value
517 back to mapped column
518 - check for recordsAffected only after closing the reader.
520 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
522 * DbConnection.cs: Implement Dispose pattern.
524 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
526 * DbDataPermission.cs : Empty.Union(Empty) is Empty.
528 2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
530 * DbDataPermissionAttribute.cs, PermissionHelper.cs :
531 fixed some incompatible type of exception between 2.0 and 1.x.
533 Wrap exceptions thrown by SetValue() within ArgumentException.
535 2004-12-10 Sureshkumar T <tsureshkumar@novell.com>
537 * DbDataAdapter.cs (BuildSchema): Add the primary key schema iff
538 MissingSchemaAction is set to AddWithKey. Also, Add auto increment
539 value from the source table. fixes bug #67757 and #69110.
541 2004-11-24 Sureshkumar T <tsureshkumar@novell.com>
543 * DbProviderSupportedClasses.cs: Added correct enum values.
544 * DbConnection.cs: Missing virtual method EnlistTransaction Added.
545 * DbCommand.cs: Implemented ProviderFactory base factory methods.
547 2004-11-22 Sureshkumar T <tsureshkumar@novell.com>
549 * DbConnectionStringBuilder.cs: Class for helping creation of db
550 connection strings added.
552 2004-10-01 Sureshkumar T <tsureshkumar@novell.com>
554 * DbProviderFactories.cs: Implemented all the stubs. Added functionality for
555 getting available provider factories and creating a specified provider factory.
557 * DbProviderFactoriesConfigurationHandler.cs: Added functionality for handling
558 DbProviderFactories configuration section.
560 * DbProviderFactory.cs: Added protected constructor. SupportedClasses property
563 2004-09-14 Sebastien Pouliot <sebastien@ximian.com>
565 * DbDataPermission.cs: Implemented Intersect, IsSubsetOf and Union.
566 Implementation isn't complete as the restrictions seems to change the
567 expected results (breaking some rules like x.IsSubsetOf (x) == false).
568 Better (real-world) tests cases are required.
569 * PermissionHelper.cs: Fixed small differences between System.Data.dll
570 validations wrt to mscorlib.dll (XML and PermissionState).
572 2004-09-13 Sebastien Pouliot <sebastien@ximian.com>
574 * DbConnectionOptions.cs: New class for Fx 2.0. Partial implementation
575 to support new methods in DBDataPermission.
576 * DbConnectionString.cs: Updated class to split from/inherit
577 DbConnectionOptions class.
578 * DbDataPermission.cs: Implemented Add, Clear, Copy, ToXml methods and
579 completed constructors.
580 * DbDataPermissionAttribute.cs: Completed/fixed class.
581 * PermissionHelper.cs: Helper methods to create permission classes.
583 2004-08-31 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
584 * 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.
586 2004-07-21 Umadevi S <sumadevi@novell.com>
587 * DbDataRecord.cs - Fix for bug 58163. Return DBNull instead of null
589 2004-07-07 Umadevi S <sumadevi@novell.com>
590 * DataContainer.cs :CheckedforNull before calling the relavant setmethods in each of the
591 SetItemForDataRecord method for the DateTimeClass
594 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
596 * DataColumnMappingCollection.cs : fixed typo.
597 * DbDataAdapter.cs : column mappings were not filled.
599 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
601 * DataTableMapping.cs : Clone() should also clone ColumnMappings.
603 2004-06-18 Umadevi S <sumadevi@novell.com>
604 * DataContainer.cs - CheckedforNull before calling the relavant setmethods in each of the
605 SetItemForDataRecord method for all the classes.
607 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
608 * RecordCache.cs : Added CopyRecord mathod that copies single record from one table to another.
610 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
612 - Store and retreival of null and DBNull values reviewed.
613 - Added GetInt64 to support AutoIncrement of DataColumn.
614 - Added missing CopyValue method to BitDataContainer.
615 - Added FillValues method to propagate single value to whole container.
617 2004-06-10 Umadevi S <sumadevi@novell.com>
618 * DataTableMappingCollection.cs - fixed nunit testcase errors
619 IndexOfDataSetTable method
621 2004-06-09 Umadevi S <sumadevi@novell.com>
622 * DataTableMappingCollection.cs - fixed nunit testcase errors
623 - Add, GetByDataSetTable,Insert, Remove, RemoveAt methods.
625 2004-06-09 Umadevi S <sumadevi@novell.com>
626 * DataColumnMappingCollection.cs - fixed nunit testcase errors
627 - GetByDataSetColumn,IndexOfDataSetColumn, Remove methods.
629 2004-06-08 Umadevi S <sumadevi@novell.com>
630 * DataColumnMappingCollection.cs - fixed nunit testcase errors.
631 - remove, removeat, contains methods.
633 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
635 * DataAdapter.cs: added missing protected ctor
636 * DbDataAdapter.cs: added stub for missing protected ctor
637 * DbDataPermission.cs: added stubs for missing protected
638 ctors, added stub for missing Clear method
640 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
641 * DataColumnMappingCollection.cs: added missing attributes on
644 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
645 * DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer.SetValue .
647 2004-05-20 Gert Driesen (drieseng@users.sourceforge.net)
649 * DbDataPermissionAttribute.cs: change AllowMultiple and
650 Inherited to match .NET
652 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
653 * Datacontainer.cs : CompareValues reviewed. set_Item and get_Item of null and DBNull values in case of DataContainers
654 for primitive types reviewed. Added check for null values when reading from IDataRecord.
656 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
657 * RecordCache.cs - added. Each instance of record cache belongs to specific table
658 and manages pool of records ( indexes into data containers) to be used by data rows.
659 * DataContainer.cs - added. Provides implementation for data containers that holds data in arrays
660 of primitives or objects. Each data container belongs to specific DataColumn.
661 * DbDataAdapter.cs - changes to complete data storage redesign. Bug fix in FillTable
662 ( to fetch exact number of records required ).
664 2004-05-13 Umadevi S (sumadevi@novell.com)
665 * DbDataPermissionAttribute.cs - Added KeyRestrictions property with a TODO tag
667 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
668 * ComparerFactory.cs: marked internal
670 2003-04-26 Boris Kirzner <borisk@mainsoft.com>
671 * DataColumnMappingCollection.cs : Small fix in exception message thrown.
673 2003-04-25 Boris Kirzner <borisk@mainsoft.com>
674 * DbDataAdapter.cs : Fixed bug in Fill :
675 - Reader can have empty results (fo example from UPDATE or DELETE).
676 - Reader can have results with no rows (SELECT that returns 0 rows but have columns)
677 - In FillTable - skip rows only once for each table.
679 2003-04-14 Juraj Skripsky <juraj@hotfeet.ch>
680 * DbDataAdapter.cs : Refactoring of Fill. New private method
681 FillTable does most of the work now. Use int[] instead of
682 hashtable for mapping. Move creation of tableArray[] outside
685 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
687 * DbDataPermissionAttribute.cs: Added .Net 1.1 marks
688 * DataColumnMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
689 * DataTableMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
690 * DataColumnMappingConverter: Added stub
691 * DataTableMappingConverter: Added stub
693 2004-03-03 Eran Domb <erand@miansoft.com>
695 * ComparerFactory.cs : Added.
697 2004-01-10 Atsushi Enomoto <atsushi@ximian.com>
699 * DbDataPermission.cs : tiny fix to pass OleDbPermission.
701 2004-01-09 Atsushi Enomoto <atsushi@ximian.com>
703 * DbDataPermission.cs : .ctor(PermissionState state) should not call
704 obsolete .ctor(state, allowBlankPassword). csc reports an error.
706 2003-12-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
708 * DbDataAdapter.cs: handle MissingShemaAction.AddWithKey, call
709 AcceptChanges in Update when a CommandBuilder is used and
710 correctly fill information about primary keys in FillSchema.
711 Patch from Sergei Malinin (smalinin@amurnet.ru).
713 2003-12-23 Tim Coleman <tim@timcoleman.com>
714 * DbConnectionString.cs:
716 * DbProviderFactory.cs:
717 Fix typo to make CLS compliant
719 2003-12-16 Jackson Harper <jackson@ximian.com>
721 * SchemaTableOptionalColumn.cs: Add to fix default build
723 2003-12-16 Tim Coleman <tim@timcoleman.com>
724 * CatalogLocation.cs DbCommand.cs DbCommandBuilder.cs
725 * DbCommandOptionalFeatures.cs DbCommandSet.cs DbConnection.cs
726 * DbConnectionString.cs DbDataSourceEnumerator.cs
727 * DbDataUpdatableRecord.cs DbParameter.cs DbParameterCollection.cs
728 * DbProviderConfigurationHandler.cs DbProviderFactories.cs
729 * DbProviderFactoriesConfigurationHandler.cs DbProviderFactory.cs
730 * DbProviderSupportedClasses.cs DbTable.cs DbTransaction.cs
731 * GroupByBehavior.cs IdentifierCase.cs SchemaLocation.cs
732 * SchemaTableColumn.cs:
733 New stubs added for .NET 1.2
734 * DataAdapter.cs DataColumnMapping.cs DataColumnMappingCollection.cs
735 * DataTableMapping.cs DataTableMappingCollection.cs DbDataAdapter.cs
736 * DbDataPermission.cs DbDataPermissionAttribute.cs DbDataRecord.cs
737 * FieldNameLookup.cs SchemaInfo.cs:
738 Changes made for .NET 1.2
740 2003-10-22 Eran Domb <erand@miansoft.com>
741 * DbDataAdapter.cs : Check if there is mapping to avoid exception.
743 2003-11-26 Tim Coleman <tim@timcoleman.com>
744 * DbDataReader.cs: Add new stub class
746 2003-11-23 Pedro Martínez Juliá <yoros@wanadoo.es>
748 * DbDataAdapter.cs: Call command dispose in self dispose method. We
749 need to dispose the connections and other stuff stored in the
752 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
754 * DataColumnMappingCollection.cs: Fix a missing exception when the
755 required mapping is not in the collection. MS.NET throws an
758 2003-10-22 Eran Domb <erand@miansoft.com>
760 * DbDataAdapter.cs (Fill): add only the mapped column to the dataTable (not all columns of dataReader).
761 Also closing the dataReader if an exception is thrown.
762 (Fill): the same as above.
763 (SetupSchema): in now return string (the table name).
764 (GetFillParameters): fix a bug.
765 (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.
766 (Update): first open the connection if needed. Catch an exception of the ExecuteQuery.
769 2003-09-30 Duncan Mak <duncan@ximian.com>
771 Patch from Eran Domb <eran@mainsoft.com>.
773 * DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
775 2003-09-25 Duncan Mak <duncan@ximian.com>
777 * DbDataAdapter.cs (Fill): Patch from Eran Domb, <eran@mainsoft.com>.
778 Fixes a possible NullReferenceException, more details here:
780 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002116.html
782 2003-09-21 eran <erand@mainsoft.com>
784 * DbDataRecord.cs: The method
785 System.Data.Common.DbDataRecord.GetValues(object[] values) did not
786 put the values of the DbDataRecord into values parameter.
788 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
790 * DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
791 exception. Thanks to Mark Easton <measton@tebiki.co.uk>.
793 2003-07-31 Duncan Mak <duncan@ximian.com>
795 * DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
798 2003-03-21 Alan Tam <Tam@SiuLung.com>
800 * DbDataAdapter.cs: Update now uses correct DataRowVersion
801 when accessing the data.
803 2003-03-17 Aleksey Demakov <avd@openlinksw.com>
805 * DbDataAdapter.cs: BuildSchema now uses ColumnName instead
806 of BaseColumnName (bug #39830) for DataColumn names.
807 BaseTableName is no longer taken into account as well.
809 2003-02-28 Aleksey Demakov <avd@openlinksw.com>
811 * DbDataAdapter.cs: Update (DataSet) updates the default
814 2003-02-25 Alan Tam <Tam@SiuLung.com>
816 * DbDataAdapter.cs: Added support for filling when schema is present.
817 Fixed incorrect behavior when ColumnMapping is present
818 when more than one fields have the same name. Implemented Dispose.
819 Fixed error when there is no ColumnMapping at all.
820 Still have some problems in finding the correct TableMapping
821 because the SourceTable name is not present in BuildSchema
823 2003-02-24 Aleksey Demakov <avd@openlinksw.com>
825 * DbDataAdapter.cs: The original code might pass a null DataTableMapping
826 value which is then used to create a RowUpdatingEventArgs
827 instance. So RowUpdatingEvent handler (for instance
828 CommandBuilder) could get null DataTableMapping which
829 might be unexpected. The patch makes sure that a non-null
830 DataTableMapping is passed.
832 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
834 * DbEnumerator.cs: why does the runtime throw an invalid cast here? The
835 object is an Int16... Gotta fill a bug report and when fixed undo this
838 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
840 * DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.
842 2002-10-31 Daniel Morgan <danmorg@sc.rr.com>
844 * SchemaInfo.cs: added missing properties to fix mcs build
846 2002-05-05 Miguel de Icaza <miguel@ximian.com>
848 * DataTableMapping.cs, DataTableMappingCollection.cs: comment out
849 interfaces we do not implement yet.
851 * DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
852 we do not implement yet.
854 * DbDataPermissionAttribute.cs: call base constructor.