1 2006-11-28 Nagappan A <anagappan@novell.com>
3 * DbDataAdapter.cs: Removed bogus MonoTODOs
5 * DataAdapter.cs: Removed bogus MonoTODOs
7 2006-11-15 Nagappan A <anagappan@novell.com>
9 * DbDataAdapter.cs (FillFromReader): Implemented missing API to
10 handle FillErrorEventHandler
11 (DataAdapter): Implemented missing .NET 2.0 function
12 (GetDeleteCommand): Returns DbDataAdapter deleteCommand internal
14 (GetInsertCommand): Returns DbDataAdapter insertCommand internal
16 (GetUpdateCommand): Returns DbDataAdapter updateCommand internal
19 2006-09-06 Konstantin Triger <kostat@mainsoft.com>
21 * DbDataAdapter.cs: added basic implementation for some 2.0 features.
23 2006-08-24 Vladimir Krasnov <vladimirk@mainsoft.com>
25 * DbProviderFactories.cs: added TARGET_JVM block to not supported
28 2006-08-06 Konstantin Triger <kostat@mainsoft.com>
30 * DbDataReader.cs: DbDataReader.Dipose(bool) - implemented.
32 2006-07-17 Senganal T <tsenganal@novell.com>
35 - GetAllRows : Added. Returns all the rows in the current
37 - GetDistinctRows :Added. Returns all the distinct rows (based
38 in Key Columns) in the index.
40 2006-07-13 Senganal T <tsenganal@novell.com>
42 * SchemaInfo.cs DbDataAdapter.cs DbConnectionOptions.cs DbParameter.cs
43 DbMetaDataColumnNames.cs DbTransaction.cs DataTableMapping.cs DataAdapter.cs
44 FieldNameLookup.cs DbDataRecord.cs DataColumnMappingCollection.cs DbCommand.cs
45 DbDataPermission.cs DbProviderFactory.cs DbCommandBuilder.cs DbConnectionString.cs
46 RowUpdatedEventArgs.cs DbDataReader.cs DbConnectionStringBuilder.cs DbConnection.cs
47 DataTableMappingCollection.cs :
50 2006-06-15 Senganal T <tsenganal@novell.com>
53 -Equals : Check for Equality of Sort Order too.
55 2006-04-07 Senganal T <tsenganal@novell.com>
58 * Update () : If the Update/Delete Query has a null check,
59 then populate the parameter value correctly.
61 2006-03-20 Senganal T <tsenganal@novell.com>
64 - Ctor () : Set Default Values for DataAdapter members
66 - Update () : Call row.AcceptChanges only if AcceptChangesDuringUpdate
67 is true. Fixes bug #77776
69 2006-03-09 Senganal T <tsenganal@novell.com>
72 - Update () : Add the new record in the correct position
74 2006-03-07 Senganal T <tsenganal@novell.com>
77 Reverted the changes from the earlier patch.
79 2006-02-22 Senganal T <tsenganal@novell.com>
82 - FillTable : Move BeginLoadData, EndLoadData outside the loop. Also,
83 move EndLoadData outsidet try,catch block. FillError is only for errors
84 occuring during loading the data into datatable.
86 - Set Default value of RowStateFilter to (CurrentRos | OriginalRows).
87 - ContainsVersion : If RowStateFilter is set to default value, return true
88 for Modified Rows as they can contain Default/Original versions.
90 2006-02-18 Raja R Harinath <harinath@gmail.com>
92 * DbConnectionStringBuilder.cs (ICollection.CopyTo): Use
93 _dictionary, not 'this' in cast.
95 2006-02-17 Chris Toshok <toshok@ximian.com>
97 * DbDataAdapter.cs: more 2.0 cleanup.
99 2006-02-17 Chris Toshok <toshok@ximian.com>
101 * DataAdapter.cs, DataColumnMappingCollection.cs,
102 DataColumnMapping.cs, DataTableMappingCollection.cs,
103 DataTableMapping.cs, DbCommandBuilder.cs,
104 DbConnectionStringBuilder.cs, DbParameterCollection.cs,
105 DbParameter.cs: pretty major attribute work.
107 2006-02-17 Chris Toshok <toshok@ximian.com>
109 * DbProviderFactory.cs: remove two methods. and mark the
110 DbProviderSupportedClasses ctor as internal since it's not part of
113 * DbTable.cs: remove this class from 2.0 build.. leave it for the
116 * RowUpdatingEventArgs.cs: this class isn't abstract in 2.0.
118 * RowUpdatedEventArgs.cs: this class isn't abstract in 2.0.
120 * SupportedJoinOperators.cs: new 2.0 enum.
122 * CatalogLocation.cs: fix enum values.
124 * GroupByBehavior.cs: same.
126 * IdentifierCase.cs: same.
128 * SchemaTableColumn.cs: class is static, not sealed. and add
131 * SchemaTableOptionalColumn.cs: same.
133 * DbDataReader.cs: oops, add back in VisibleFieldCount (i missed
134 it in the corcompare output), add EditorBrowsable attributes all
135 over the place, and fix some method signatures.
137 * DbDataUpdatableRecord.cs: remove this 2.0 file.
139 2006-02-17 Chris Toshok <toshok@ximian.com>
141 * DbDataReader.cs: remove VisibleFieldCount attribute, and remove
142 IDataReader2 and IDataRecord2 interfaces.
144 2006-02-13 Senganal T <tsenganal@novell.com>
148 - Add table to schema only if MissingSchemaAction is not Ignore
149 Add schema to table if MissingSchemaAction is set to either of
152 - Set the Schema values only if MissingSchemaAction is set to
155 2006-01-31 Senganal T <tsenganal@novell.com>
158 - Corrected an error in the prev checkin.. Fixes #77415
160 2006-01-27 Senganal T <tsenganal@novell.com>
163 - Modified schema population to follow MissingSchemaAction and MissingMappingAction
164 - Add a column to the Primary Key only if its not a hidden key
165 - Added some argument checks
166 - Removed some redundant code
168 - Added argument checks
170 - Added InvalidEnumException , a helper function to print error msg
172 2006-01-11 Boris Kirzner <borisk@mainsoft.com>
173 * Index.cs: removed redundant call to RebuildIndex() in constructor.
175 2005-12-12 Konstantin Triger <kostat@mainsoft.com>
177 * Key.cs: Added ContainsVersion function, refactoring.
178 * Index.cs: Fixed Reset() to be ready for Update() calls.
179 Otherwise the index can be rebuilt with new values inside the
180 Update() call itself.
181 Fixed FindIndexExact(), Update(), Delete().
183 2005-11-22 Konstantin Triger <kostat@mainsoft.com>
185 * DbProviderFactory.cs: TARGET_JVM ifdef.
187 2005-11-21 Senganal T <tsenganal@novell.com>
193 * DbProviderFactories.cs
195 * DbProviderFactory.cs
196 * DbCommandBuilder.cs
198 * DbParameterCollection.cs
199 - Added stubs and other changes for ADO.NET 2.0 compatibility.
200 * DbMetaDataCollectionNames.cs (new file)
201 - Added DbMetaDataCollectionNames Enumeration
203 2005-10-24 Konstantin Triger <kostat@mainsoft.com>
205 * DataContainer.cs: removed extra type validation for object container
207 2005-10-14 Senganal T <tsenganal@novell.com>
210 - BuildSchema() : Set the value of DataColumn Property 'AllowDBNull'
211 as returned by database. Fixes bug#76433.
213 2005-09-21 Boris Kirzner <borisk@mainsoft.com>
215 - Rebuild index immediately after construction.
216 - Do not add records if they do not padd key filtration.
217 - Do not attempt to remove records if the are not in the index.
219 - Added HasFilter property, CanContain and DependsOn methods.
220 - Equals() uses filter expression comparison.
222 2005-09-07 Boris Kirzner <borisk@mainsoft.com>
223 * DataContainer.cs: Do not convert value if container type
226 2005-08-08 Gert Driesen <drieseng@users.sourceforge.net>
228 * DbTypes.cs: Marked internal to fix public API.
230 2005-08-05 Sureshkumar T <tsureshkumar@novell.com>
233 - Update (): set parameter values only after getting the
234 appropriate command from command builder. Close reader only if it
235 is not closed before. Use parameter's SourceVersion. Whitespace
236 corrections to comply with standard.
238 2005-07-22 Sureshkumar T <tsureshkumar@novell.com>
240 * DataColumnMappingCollection.cs: updated attributes & attribute
241 descriptions to match with masterinfos.
243 2005-07-15 Sureshkumar T <tsureshkumar@novell.com>
245 * DataTableMappingCollection.cs: GetTableMappingBySchemaAction:
246 meaningful error message if mapping is missing.
248 * DbDataAdapter.cs: Update: meaningful message if table is missing.
250 2005-06-22 Sureshkumar T <tsureshkumar@novell.com>
252 * Index.cs: Remove : length for Array.Copy (a, i+1, a, i, length -
255 2005-06-21 Sureshkumar T <tsureshkumar@novell.com>
257 * DbConnectionStringBuilder.cs: Implemented method for parsing
258 connection string through "ConnectionString" property.
260 * DbConnectionStringBuilderHelper.cs: Helper class to provide
261 conversion between string=>.net type mapping for connection string
262 builders. The idea is to use between other providers (odbc) as
265 2005-05-29 Boris Kirzner <borisk@mainsoft.com>
266 * DbCommand.cs - added #ifdef NET_2_0 on DbCommandOptionalFeatures (not used in TARGET_JVM).
267 * ExceptionHelper.cs - removed java references. Exceptions created on formatted text messages. Code styling fixes.
268 * DbParameterCollection.cs - implemented indexer properties.
269 * DbDataAdapter.cs - delagate exceptions creating to ExceptionHelper.
271 2005-05-25 Konstantin Triger <kostat@mainsoft.com>
273 * 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
275 2005-05-20 Umadevi S <sumadevi@novell.com>
276 * Added file DbProviderSpecificTypePropertyAttribute.cs
278 2005-05-19 Umadevi S <sumadevi@novell.com>
280 * RowUpdatingEventArgs.cs - added BaseCommand property for net 2.0
282 2005-05-18 Konstantin Triger <kostat@mainsoft.com>
284 * DbDataAdapter.cs: Initialize the schema values to defaults if the schema does not contain the information
286 2005-05-16 Sureshkumar T <tsureshkumar@novell.com>
288 * RecordCache.cs: quick fix to make build 2.0 profile (follow up
289 for check in 2005-05-16).
291 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
293 * Index.cs: validation that the updated row belongs to the index
295 2005-05-02 Konstantin Triger <kostat@mainsoft.com>
298 Added CharDataContainer, SByteDataContainer, UInt16DataContainer, UInt32DataContainer, UInt64DataContainer, DateTimeDataContainer, DecimalDataContainer
299 SetItemFromDataRecord: Changed to work with ISafeDataRecord or through GetValue to enable conversion
300 return DBNull.Value when the stored value is null
303 Ensure correct order for LoadDataRow
304 Fixing schema creation
308 LoadSchema: Retrieve needed fields only
311 Added Rows-to-Records mapping
312 Added ReadIDataRecord method for correct handling of default/auto increment values
314 * Added Index.cs: Index implementation
315 * Added Key.cs: Index descriptor implementation
318 2005-04-27 Sureshkumar T <tsureshkumar@novell.com>
320 * DbDataReader.cs: Added static method to construct the schema
321 table with default schema. Could be reused in many places.
323 2005-04-22 Sureshkumar T <tsureshkumar@novell.com>
325 * DbDataAdapter.cs: Moved FillTable and BuildSchema as static
326 methods as they are not operating on the current instance. This
327 could be reused to fill any table from a data reader.
329 * RecordCache.cs: While disposing records, make sure that the
330 record is not already disposed. i.e. to make sure later the same
331 record is not reused. Implemented a static method to compare two
332 version of records in a container.
334 2005-04-18 Sureshkumar T <tsureshkumar@novell.com>
336 * DataAdapter.cs: Implemenetd OnFillError handler.
338 * DbDataAdapter.cs: BuildSchema (): the table to be filled might
339 contain few additional columns as well. so mapping length should
340 be columns' length + fields' length.
342 2005-03-24 Sureshkumar T <tsureshkumar@novell.com>
344 * DbDataAdapter.cs: Update: If SourceColumn is null, do not set
345 value for the parameter.
347 2005-05-25 Umadevi S <sumadevi@novell.com>
348 * Added DbException.cs
350 2005-03-23 Sureshkumar T <tsureshkumar@novell.com>
352 * DbDataAdapter.cs: For Update, disable ReadOnly constraint
353 temporarily before updating the row. Info from Ingo Bauersachs.
354 SkipAllRemainingRows should also skip current row (msdn).
356 2005-03-22 Sureshkumar T <tsureshkumar@novell.com>
358 * DbDataAdapter.cs: Update (): update the rows based on the
359 UpdateRowSource property. Process further based on the
360 RowUpdatedEvent handler argument's Status property.
361 Fixes bug #73587. Thanks to mono@rankweg.ch (Ingo Bauersachs) for
362 bug report and patch.
364 * RowUpdatedEventArgs.cs: if custom error is not set, throw a
367 2005-03-01 Sureshkumar T <tsureshkumar@novell.com>
369 * ConnectionStringsSectionHandler.cs: Added. configuration section
370 handler for section "connectionStrings". This handler is a ad hoc
371 solution till the new configuration API is available in mono.
373 2005-02-04 Sureshkumar T <tsureshkumar@novell.com>
375 * DbDataAdapter.cs (Update ()) :
376 - Check for one return result set and map the values back to
378 - Check for output & return value parameters and update the value
379 back to mapped column
380 - check for recordsAffected only after closing the reader.
382 2005-02-02 Sureshkumar T <tsureshkumar@novell.com>
384 * DbConnection.cs: Implement Dispose pattern.
386 2005-01-25 Atsushi Enomoto <atsushi@ximian.com>
388 * DbDataPermission.cs : Empty.Union(Empty) is Empty.
390 2005-01-14 Atsushi Enomoto <atsushi@ximian.com>
392 * DbDataPermissionAttribute.cs, PermissionHelper.cs :
393 fixed some incompatible type of exception between 2.0 and 1.x.
395 Wrap exceptions thrown by SetValue() within ArgumentException.
397 2004-12-10 Sureshkumar T <tsureshkumar@novell.com>
399 * DbDataAdapter.cs (BuildSchema): Add the primary key schema iff
400 MissingSchemaAction is set to AddWithKey. Also, Add auto increment
401 value from the source table. fixes bug #67757 and #69110.
403 2004-11-24 Sureshkumar T <tsureshkumar@novell.com>
405 * DbProviderSupportedClasses.cs: Added correct enum values.
406 * DbConnection.cs: Missing virtual method EnlistTransaction Added.
407 * DbCommand.cs: Implemented ProviderFactory base factory methods.
409 2004-11-22 Sureshkumar T <tsureshkumar@novell.com>
411 * DbConnectionStringBuilder.cs: Class for helping creation of db
412 connection strings added.
414 2004-10-01 Sureshkumar T <tsureshkumar@novell.com>
416 * DbProviderFactories.cs: Implemented all the stubs. Added functionality for
417 getting available provider factories and creating a specified provider factory.
419 * DbProviderFactoriesConfigurationHandler.cs: Added functionality for handling
420 DbProviderFactories configuration section.
422 * DbProviderFactory.cs: Added protected constructor. SupportedClasses property
425 2004-09-14 Sebastien Pouliot <sebastien@ximian.com>
427 * DbDataPermission.cs: Implemented Intersect, IsSubsetOf and Union.
428 Implementation isn't complete as the restrictions seems to change the
429 expected results (breaking some rules like x.IsSubsetOf (x) == false).
430 Better (real-world) tests cases are required.
431 * PermissionHelper.cs: Fixed small differences between System.Data.dll
432 validations wrt to mscorlib.dll (XML and PermissionState).
434 2004-09-13 Sebastien Pouliot <sebastien@ximian.com>
436 * DbConnectionOptions.cs: New class for Fx 2.0. Partial implementation
437 to support new methods in DBDataPermission.
438 * DbConnectionString.cs: Updated class to split from/inherit
439 DbConnectionOptions class.
440 * DbDataPermission.cs: Implemented Add, Clear, Copy, ToXml methods and
441 completed constructors.
442 * DbDataPermissionAttribute.cs: Completed/fixed class.
443 * PermissionHelper.cs: Helper methods to create permission classes.
445 2004-08-31 Francisco Figueiredo Jr. <fxjrlists@yahoo.com.br>
446 * 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.
448 2004-07-21 Umadevi S <sumadevi@novell.com>
449 * DbDataRecord.cs - Fix for bug 58163. Return DBNull instead of null
451 2004-07-07 Umadevi S <sumadevi@novell.com>
452 * DataContainer.cs :CheckedforNull before calling the relavant setmethods in each of the
453 SetItemForDataRecord method for the DateTimeClass
456 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
458 * DataColumnMappingCollection.cs : fixed typo.
459 * DbDataAdapter.cs : column mappings were not filled.
461 2004-06-24 Atsushi Enomoto <atsushi@ximian.com>
463 * DataTableMapping.cs : Clone() should also clone ColumnMappings.
465 2004-06-18 Umadevi S <sumadevi@novell.com>
466 * DataContainer.cs - CheckedforNull before calling the relavant setmethods in each of the
467 SetItemForDataRecord method for all the classes.
469 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
470 * RecordCache.cs : Added CopyRecord mathod that copies single record from one table to another.
472 2004-06-17 Boris Kirzner <borisk@mainsoft.com>
474 - Store and retreival of null and DBNull values reviewed.
475 - Added GetInt64 to support AutoIncrement of DataColumn.
476 - Added missing CopyValue method to BitDataContainer.
477 - Added FillValues method to propagate single value to whole container.
479 2004-06-10 Umadevi S <sumadevi@novell.com>
480 * DataTableMappingCollection.cs - fixed nunit testcase errors
481 IndexOfDataSetTable method
483 2004-06-09 Umadevi S <sumadevi@novell.com>
484 * DataTableMappingCollection.cs - fixed nunit testcase errors
485 - Add, GetByDataSetTable,Insert, Remove, RemoveAt methods.
487 2004-06-09 Umadevi S <sumadevi@novell.com>
488 * DataColumnMappingCollection.cs - fixed nunit testcase errors
489 - GetByDataSetColumn,IndexOfDataSetColumn, Remove methods.
491 2004-06-08 Umadevi S <sumadevi@novell.com>
492 * DataColumnMappingCollection.cs - fixed nunit testcase errors.
493 - remove, removeat, contains methods.
495 2004-06-04 Gert Driesen <drieseng@users.sourceforge.net>
497 * DataAdapter.cs: added missing protected ctor
498 * DbDataAdapter.cs: added stub for missing protected ctor
499 * DbDataPermission.cs: added stubs for missing protected
500 ctors, added stub for missing Clear method
502 2004-06-02 Gert Driesen <drieseng@users.sourceforge.net>
503 * DataColumnMappingCollection.cs: added missing attributes on
506 2004-05-27 Boris Kirzner <borisk@mainsoft.com>
507 * DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer.SetValue .
509 2004-05-20 Gert Driesen (drieseng@users.sourceforge.net)
511 * DbDataPermissionAttribute.cs: change AllowMultiple and
512 Inherited to match .NET
514 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
515 * Datacontainer.cs : CompareValues reviewed. set_Item and get_Item of null and DBNull values in case of DataContainers
516 for primitive types reviewed. Added check for null values when reading from IDataRecord.
518 2004-05-19 Boris Kirzner <borisk@mainsoft.com>
519 * RecordCache.cs - added. Each instance of record cache belongs to specific table
520 and manages pool of records ( indexes into data containers) to be used by data rows.
521 * DataContainer.cs - added. Provides implementation for data containers that holds data in arrays
522 of primitives or objects. Each data container belongs to specific DataColumn.
523 * DbDataAdapter.cs - changes to complete data storage redesign. Bug fix in FillTable
524 ( to fetch exact number of records required ).
526 2004-05-13 Umadevi S (sumadevi@novell.com)
527 * DbDataPermissionAttribute.cs - Added KeyRestrictions property with a TODO tag
529 2004-05-09 Gert Driesen (drieseng@users.sourceforge.net)
530 * ComparerFactory.cs: marked internal
532 2003-04-26 Boris Kirzner <borisk@mainsoft.com>
533 * DataColumnMappingCollection.cs : Small fix in exception message thrown.
535 2003-04-25 Boris Kirzner <borisk@mainsoft.com>
536 * DbDataAdapter.cs : Fixed bug in Fill :
537 - Reader can have empty results (fo example from UPDATE or DELETE).
538 - Reader can have results with no rows (SELECT that returns 0 rows but have columns)
539 - In FillTable - skip rows only once for each table.
541 2003-04-14 Juraj Skripsky <juraj@hotfeet.ch>
542 * DbDataAdapter.cs : Refactoring of Fill. New private method
543 FillTable does most of the work now. Use int[] instead of
544 hashtable for mapping. Move creation of tableArray[] outside
547 2004-03-12 Andreas Nahr <ClassDevelopment@A-SoftTech.com>
549 * DbDataPermissionAttribute.cs: Added .Net 1.1 marks
550 * DataColumnMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
551 * DataTableMapping.cs: DO NOT USE the consts scheme if types can be referenced directly!
552 * DataColumnMappingConverter: Added stub
553 * DataTableMappingConverter: Added stub
555 2004-03-03 Eran Domb <erand@miansoft.com>
557 * ComparerFactory.cs : Added.
559 2004-01-10 Atsushi Enomoto <atsushi@ximian.com>
561 * DbDataPermission.cs : tiny fix to pass OleDbPermission.
563 2004-01-09 Atsushi Enomoto <atsushi@ximian.com>
565 * DbDataPermission.cs : .ctor(PermissionState state) should not call
566 obsolete .ctor(state, allowBlankPassword). csc reports an error.
568 2003-12-30 Gonzalo Paniagua Javier <gonzalo@ximian.com>
570 * DbDataAdapter.cs: handle MissingShemaAction.AddWithKey, call
571 AcceptChanges in Update when a CommandBuilder is used and
572 correctly fill information about primary keys in FillSchema.
573 Patch from Sergei Malinin (smalinin@amurnet.ru).
575 2003-12-23 Tim Coleman <tim@timcoleman.com>
576 * DbConnectionString.cs:
578 * DbProviderFactory.cs:
579 Fix typo to make CLS compliant
581 2003-12-16 Jackson Harper <jackson@ximian.com>
583 * SchemaTableOptionalColumn.cs: Add to fix default build
585 2003-12-16 Tim Coleman <tim@timcoleman.com>
586 * CatalogLocation.cs DbCommand.cs DbCommandBuilder.cs
587 * DbCommandOptionalFeatures.cs DbCommandSet.cs DbConnection.cs
588 * DbConnectionString.cs DbDataSourceEnumerator.cs
589 * DbDataUpdatableRecord.cs DbParameter.cs DbParameterCollection.cs
590 * DbProviderConfigurationHandler.cs DbProviderFactories.cs
591 * DbProviderFactoriesConfigurationHandler.cs DbProviderFactory.cs
592 * DbProviderSupportedClasses.cs DbTable.cs DbTransaction.cs
593 * GroupByBehavior.cs IdentifierCase.cs SchemaLocation.cs
594 * SchemaTableColumn.cs:
595 New stubs added for .NET 1.2
596 * DataAdapter.cs DataColumnMapping.cs DataColumnMappingCollection.cs
597 * DataTableMapping.cs DataTableMappingCollection.cs DbDataAdapter.cs
598 * DbDataPermission.cs DbDataPermissionAttribute.cs DbDataRecord.cs
599 * FieldNameLookup.cs SchemaInfo.cs:
600 Changes made for .NET 1.2
602 2003-10-22 Eran Domb <erand@miansoft.com>
603 * DbDataAdapter.cs : Check if there is mapping to avoid exception.
605 2003-11-26 Tim Coleman <tim@timcoleman.com>
606 * DbDataReader.cs: Add new stub class
608 2003-11-23 Pedro Martínez Juliá <yoros@wanadoo.es>
610 * DbDataAdapter.cs: Call command dispose in self dispose method. We
611 need to dispose the connections and other stuff stored in the
614 2003-11-10 Pedro Martínez Juliá <yoros@wanadoo.es>
616 * DataColumnMappingCollection.cs: Fix a missing exception when the
617 required mapping is not in the collection. MS.NET throws an
620 2003-10-22 Eran Domb <erand@miansoft.com>
622 * DbDataAdapter.cs (Fill): add only the mapped column to the dataTable (not all columns of dataReader).
623 Also closing the dataReader if an exception is thrown.
624 (Fill): the same as above.
625 (SetupSchema): in now return string (the table name).
626 (GetFillParameters): fix a bug.
627 (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.
628 (Update): first open the connection if needed. Catch an exception of the ExecuteQuery.
631 2003-09-30 Duncan Mak <duncan@ximian.com>
633 Patch from Eran Domb <eran@mainsoft.com>.
635 * DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
637 2003-09-25 Duncan Mak <duncan@ximian.com>
639 * DbDataAdapter.cs (Fill): Patch from Eran Domb, <eran@mainsoft.com>.
640 Fixes a possible NullReferenceException, more details here:
642 http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002116.html
644 2003-09-21 eran <erand@mainsoft.com>
646 * DbDataRecord.cs: The method
647 System.Data.Common.DbDataRecord.GetValues(object[] values) did not
648 put the values of the DbDataRecord into values parameter.
650 2003-08-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
652 * DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
653 exception. Thanks to Mark Easton <measton@tebiki.co.uk>.
655 2003-07-31 Duncan Mak <duncan@ximian.com>
657 * DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
660 2003-03-21 Alan Tam <Tam@SiuLung.com>
662 * DbDataAdapter.cs: Update now uses correct DataRowVersion
663 when accessing the data.
665 2003-03-17 Aleksey Demakov <avd@openlinksw.com>
667 * DbDataAdapter.cs: BuildSchema now uses ColumnName instead
668 of BaseColumnName (bug #39830) for DataColumn names.
669 BaseTableName is no longer taken into account as well.
671 2003-02-28 Aleksey Demakov <avd@openlinksw.com>
673 * DbDataAdapter.cs: Update (DataSet) updates the default
676 2003-02-25 Alan Tam <Tam@SiuLung.com>
678 * DbDataAdapter.cs: Added support for filling when schema is present.
679 Fixed incorrect behavior when ColumnMapping is present
680 when more than one fields have the same name. Implemented Dispose.
681 Fixed error when there is no ColumnMapping at all.
682 Still have some problems in finding the correct TableMapping
683 because the SourceTable name is not present in BuildSchema
685 2003-02-24 Aleksey Demakov <avd@openlinksw.com>
687 * DbDataAdapter.cs: The original code might pass a null DataTableMapping
688 value which is then used to create a RowUpdatingEventArgs
689 instance. So RowUpdatingEvent handler (for instance
690 CommandBuilder) could get null DataTableMapping which
691 might be unexpected. The patch makes sure that a non-null
692 DataTableMapping is passed.
694 2003-01-26 Gonzalo Paniagua Javier <gonzalo@ximian.com>
696 * DbEnumerator.cs: why does the runtime throw an invalid cast here? The
697 object is an Int16... Gotta fill a bug report and when fixed undo this
700 2003-01-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
702 * DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.
704 2002-10-31 Daniel Morgan <danmorg@sc.rr.com>
706 * SchemaInfo.cs: added missing properties to fix mcs build
708 2002-05-05 Miguel de Icaza <miguel@ximian.com>
710 * DataTableMapping.cs, DataTableMappingCollection.cs: comment out
711 interfaces we do not implement yet.
713 * DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
714 we do not implement yet.
716 * DbDataPermissionAttribute.cs: call base constructor.