fixed tests
[mono.git] / mcs / class / System.Data / System.Data.Common / ChangeLog
1 2007-02-26  Atsushi Enomoto  <atsushi@ximian.com>
2
3         * DbProviderFactoriesConfigurationHandler.cs : there was a config
4           test that used to be broken.
5
6 2007-02-26  Atsushi Enomoto  <atsushi@ximian.com>
7
8         * DbProviderFactoriesConfigurationHandler.cs : remove "support"
9           attribute check, as it does not really do anything.
10
11 2007-02-19  Atsushi Enomoto  <atsushi@ximian.com>
12
13         * DbProviderFactoriesConfigurationHandler.cs : "support" attribute is
14           optional. Fixed bug #80894.
15
16 2007-02-09  Nagappan A  <anagappan@novell.com>
17
18         * DbProviderFactory.cs: Derived class has to implement all the
19         methods of this class.
20
21         * DbProviderFactoriesConfigurationHandler.cs (Create): Removed
22         bogus MonoTODO
23
24 2007-01-08  Nagappan A  <anagappan@novell.com>
25
26         * DataTableMappingCollection.cs (AddRange):  Implemented missing
27         NET 2.0 API.
28
29         * DbConnection.cs (GetSchema): Implemented missing NET 2.0 API,
30         based on SqlClient implementation.
31
32         * DbConnectionStringBuilder.cs (AppendKeyValuePair): Implemented
33         missing API.
34
35         * DbDataReader.cs (GetData): Implemented missing API.
36         (GetDbDataReader): Implemented missing API.
37
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
49         public methods.
50
51         * DbProviderFactory.cs: Removed MonoTODO's as the derived class
52         has to implement all the methods in this class.
53
54         * DataAdapter.cs (Fill): Implemented missing method.
55
56         * DbDataAdapter.cs (FillCommandBehavior): Implemented property.
57
58 2006-12-20  Nagappan A  <anagappan@novell.com>
59
60         * DataColumnMapping.cs (GetDataColumnBySchemaAction): Implemented
61         2.0 profile method.
62
63         * DbDataReader.cs: Removed TODO's where ever the implementation is
64         available.
65
66         * RowUpdatedEventArgs.cs: Removed TODO's where ever the
67         implementation is available.
68
69         * DataAdapter.cs (FillInternal): Moved from DbDataAdapater.cs to
70         here.
71         (BuildSchema): Moved from DbDataAdapter.cs.
72         (FillTable): Moved from DbDataAdapter.cs.
73         (OnFillErrorInternal): Implemented new internal method to raise an
74         event.
75         (SetupSchema): Moved from DbDataAdapter.cs.
76         (FillInterl): Moved common implementation from DbDataAdapter.cs.
77         Removed TODO's where ever the implementation is available.
78
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.
86
87 2006-12-11  Miguel de Icaza  <miguel@novell.com>
88
89         * DataAdapter.cs: Removed TODO, NotSupportedException was the
90         correct implementation. 
91
92 2006-11-28  Nagappan A  <anagappan@novell.com>
93
94         * DbDataAdapter.cs: Removed bogus MonoTODOs
95
96         * DataAdapter.cs: Removed bogus MonoTODOs
97         
98 2006-11-15  Nagappan A  <anagappan@novell.com>
99
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
104         variable.
105         (GetInsertCommand): Returns DbDataAdapter insertCommand internal
106         variable.
107         (GetUpdateCommand): Returns DbDataAdapter updateCommand internal
108         variable.
109
110 2006-09-06  Konstantin Triger <kostat@mainsoft.com>
111
112         * DbDataAdapter.cs: added basic implementation for some 2.0 features.
113
114 2006-08-24  Vladimir Krasnov <vladimirk@mainsoft.com>
115
116         * DbProviderFactories.cs: added TARGET_JVM block to not supported
117         functionality
118
119 2006-08-06  Konstantin Triger <kostat@mainsoft.com>
120
121         * DbDataReader.cs: DbDataReader.Dipose(bool) - implemented.
122
123 2006-07-17  Senganal T <tsenganal@novell.com>
124
125         * Index.cs :
126                 - GetAllRows : Added. Returns all the rows in the current
127                 index.
128                 - GetDistinctRows :Added. Returns all the distinct rows (based
129                 in Key Columns) in the index.
130                 
131 2006-07-13  Senganal T <tsenganal@novell.com>
132
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 :
139                 2.0 Api fixes
140
141 2006-06-15  Senganal T <tsenganal@novell.com>
142
143         * Key.cs : 
144                 -Equals : Check for Equality of Sort Order too.
145                 
146 2006-04-07  Senganal T <tsenganal@novell.com>
147
148         * DbDataAdapter.cs :
149                 * Update () : If the Update/Delete Query has a null check,
150                 then populate the parameter value correctly.
151
152 2006-03-20  Senganal T <tsenganal@novell.com>
153
154         * DataAdapter.cs :
155                 - Ctor () : Set Default Values for DataAdapter members
156         * DbDataAdapter.cs : 
157                 - Update () : Call row.AcceptChanges only if AcceptChangesDuringUpdate
158                 is true. Fixes bug #77776
159
160 2006-03-09  Senganal T <tsenganal@novell.com>
161         
162         * Index.cs :
163                 - Update () : Add the new record in the correct position
164
165 2006-03-07  Senganal T <tsenganal@novell.com>
166
167         * Key.cs : 
168                 Reverted the changes from the earlier patch.
169
170 2006-02-22  Senganal T <tsenganal@novell.com>
171
172         * DbDataAdapter.cs :
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.
176         * Key.cs :
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.
180
181 2006-02-18  Raja R Harinath  <harinath@gmail.com>
182
183         * DbConnectionStringBuilder.cs (ICollection.CopyTo): Use
184         _dictionary, not 'this' in cast.
185
186 2006-02-17  Chris Toshok  <toshok@ximian.com>
187
188         * DbDataAdapter.cs: more 2.0 cleanup.
189
190 2006-02-17  Chris Toshok  <toshok@ximian.com>
191
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.
197         
198 2006-02-17  Chris Toshok  <toshok@ximian.com>
199
200         * DbProviderFactory.cs: remove two methods.  and mark the
201         DbProviderSupportedClasses ctor as internal since it's not part of
202         the public api.
203
204         * DbTable.cs: remove this class from 2.0 build.. leave it for the
205         JVM build, I guess?
206
207         * RowUpdatingEventArgs.cs: this class isn't abstract in 2.0.
208
209         * RowUpdatedEventArgs.cs: this class isn't abstract in 2.0.
210
211         * SupportedJoinOperators.cs: new 2.0 enum.
212
213         * CatalogLocation.cs: fix enum values.
214
215         * GroupByBehavior.cs: same.
216
217         * IdentifierCase.cs: same.
218
219         * SchemaTableColumn.cs: class is static, not sealed.  and add
220         missing elements.
221         
222         * SchemaTableOptionalColumn.cs: same.
223         
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.
227
228         * DbDataUpdatableRecord.cs: remove this 2.0 file.
229
230 2006-02-17  Chris Toshok  <toshok@ximian.com>
231
232         * DbDataReader.cs: remove VisibleFieldCount attribute, and remove
233         IDataReader2 and IDataRecord2 interfaces.
234         
235 2006-02-13  Senganal T  <tsenganal@novell.com>
236
237         * DbDataAdapter.cs :
238                 - FillSchema  : 
239                         - Add table to schema only if MissingSchemaAction is not Ignore
240                         Add schema to table if MissingSchemaAction is set to either of
241                         Add or AddWithKey
242                 - BuildSchema :
243                         - Set the Schema values only if MissingSchemaAction is set to
244                         AddWithKey
245
246 2006-01-31  Senganal T  <tsenganal@novell.com>
247
248         * DbDataAdapter.cs :
249                 - Corrected an error in the prev checkin.. Fixes #77415
250
251 2006-01-27  Senganal T  <tsenganal@novell.com>
252
253         * DbDataAdapter.cs :
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
258         * DataAdapter :
259                 - Added argument checks
260         * ExceptionHelper :
261                 - Added InvalidEnumException , a helper function to print error msg
262                 
263 2006-01-11 Boris Kirzner <borisk@mainsoft.com>
264         * Index.cs: removed redundant call to RebuildIndex() in constructor.
265
266 2005-12-12  Konstantin Triger <kostat@mainsoft.com>
267
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().
273
274 2005-11-22  Konstantin Triger <kostat@mainsoft.com>
275
276         * DbProviderFactory.cs: TARGET_JVM ifdef.
277
278 2005-11-21  Senganal T <tsenganal@novell.com>
279
280         * DbDataAdapter.cs
281         * DbParameter.cs
282         * DbTransaction.cs
283         * DbTable.cs
284         * DbProviderFactories.cs
285         * DbException.cs
286         * DbProviderFactory.cs
287         * DbCommandBuilder.cs
288         * DbDataReader.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 
293
294 2005-10-24  Konstantin Triger <kostat@mainsoft.com>
295
296         * DataContainer.cs: removed extra type validation for object container
297
298 2005-10-14  Senganal T  <tsenganal@novell.com>
299
300         * DbDataAdapter.cs : 
301                 - BuildSchema() : Set the value of DataColumn Property 'AllowDBNull'
302                 as returned by database. Fixes bug#76433. 
303
304 2005-09-21 Boris Kirzner <borisk@mainsoft.com>
305         * Index.cs: 
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.
309         * Key.cs:
310                 - Added HasFilter property, CanContain and DependsOn methods.
311                 - Equals() uses filter expression comparison.           
312
313 2005-09-07 Boris Kirzner <borisk@mainsoft.com>
314         * DataContainer.cs: Do not convert value if container type 
315         is System.Object.
316
317 2005-08-08  Gert Driesen  <drieseng@users.sourceforge.net>
318
319         * DbTypes.cs: Marked internal to fix public API.
320
321 2005-08-05  Sureshkumar T  <tsureshkumar@novell.com>
322
323         * DbDataAdapter.cs:
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.
328
329 2005-07-22  Sureshkumar T  <tsureshkumar@novell.com>
330
331         * DataColumnMappingCollection.cs: updated attributes & attribute
332         descriptions to match with masterinfos.
333
334 2005-07-15  Sureshkumar T  <tsureshkumar@novell.com>
335
336         * DataTableMappingCollection.cs: GetTableMappingBySchemaAction:
337         meaningful error message if mapping is missing.
338
339         * DbDataAdapter.cs: Update: meaningful message if table is missing.
340
341 2005-06-22  Sureshkumar T  <tsureshkumar@novell.com>
342
343         * Index.cs: Remove : length for Array.Copy (a, i+1, a, i, length -
344         (i+1)) corrected.
345
346 2005-06-21  Sureshkumar T  <tsureshkumar@novell.com>
347
348         * DbConnectionStringBuilder.cs: Implemented method for parsing
349         connection string through "ConnectionString" property.
350
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
354         well.
355
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.
361         
362 2005-05-25 Konstantin Triger <kostat@mainsoft.com>
363
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
365
366 2005-05-20 Umadevi S <sumadevi@novell.com>
367         * Added file DbProviderSpecificTypePropertyAttribute.cs
368
369 2005-05-19 Umadevi S <sumadevi@novell.com>
370
371         * RowUpdatingEventArgs.cs - added BaseCommand property for net 2.0
372
373 2005-05-18 Konstantin Triger <kostat@mainsoft.com>
374
375         * DbDataAdapter.cs: Initialize the schema values to defaults if the schema does not contain the information
376
377 2005-05-16  Sureshkumar T  <tsureshkumar@novell.com>
378
379         * RecordCache.cs: quick fix to make build 2.0 profile (follow up
380         for check in 2005-05-16).
381
382 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
383
384         * Index.cs: validation that the updated row belongs to the index
385
386 2005-05-02 Konstantin Triger <kostat@mainsoft.com>
387
388         * DataContainer.cs: 
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
392         
393         * DbDataAdapter.cs:
394                 Ensure correct order for LoadDataRow
395                 Fixing schema creation
396                 Use NewRowArray API
397         
398         * DbEnumerator.cs:
399                 LoadSchema: Retrieve needed fields only
400         
401         * RecordCache.cs:
402                 Added Rows-to-Records mapping
403                 Added ReadIDataRecord method for correct handling of default/auto increment values
404         
405         * Added Index.cs: Index implementation
406         * Added Key.cs: Index descriptor implementation
407
408
409 2005-04-27  Sureshkumar T  <tsureshkumar@novell.com>
410
411         * DbDataReader.cs: Added static method to construct the schema
412         table with default schema. Could be reused in many places.
413
414 2005-04-22  Sureshkumar T  <tsureshkumar@novell.com>
415
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.
419
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.
424
425 2005-04-18  Sureshkumar T  <tsureshkumar@novell.com>
426
427         * DataAdapter.cs: Implemenetd OnFillError handler.
428
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.
432
433 2005-03-24  Sureshkumar T  <tsureshkumar@novell.com>
434
435         * DbDataAdapter.cs: Update: If  SourceColumn is null, do not set
436         value for the parameter.
437
438 2005-05-25 Umadevi S <sumadevi@novell.com>
439         * Added DbException.cs
440
441 2005-03-23  Sureshkumar T  <tsureshkumar@novell.com>
442
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).
446
447 2005-03-22  Sureshkumar T  <tsureshkumar@novell.com>
448
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.
454
455         * RowUpdatedEventArgs.cs: if custom error is not set, throw a
456         default error.
457
458 2005-03-01  Sureshkumar T  <tsureshkumar@novell.com>
459
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.
463
464 2005-02-04  Sureshkumar T  <tsureshkumar@novell.com>
465
466         * DbDataAdapter.cs (Update ()) :
467         - Check for one return result set and map the values back to
468           datatable.
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.
472
473 2005-02-02  Sureshkumar T  <tsureshkumar@novell.com>
474
475         * DbConnection.cs: Implement Dispose pattern.
476
477 2005-01-25  Atsushi Enomoto  <atsushi@ximian.com>
478
479         * DbDataPermission.cs : Empty.Union(Empty) is Empty.
480
481 2005-01-14  Atsushi Enomoto  <atsushi@ximian.com>
482
483         * DbDataPermissionAttribute.cs, PermissionHelper.cs :
484           fixed some incompatible type of exception between 2.0 and 1.x.
485         * DataContainer.cs :
486           Wrap exceptions thrown by SetValue() within ArgumentException.
487
488 2004-12-10  Sureshkumar T  <tsureshkumar@novell.com>
489
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.
493
494 2004-11-24  Sureshkumar T  <tsureshkumar@novell.com>
495
496         * DbProviderSupportedClasses.cs: Added correct enum values.
497         * DbConnection.cs: Missing virtual method EnlistTransaction Added.
498         * DbCommand.cs: Implemented ProviderFactory base factory methods.
499
500 2004-11-22  Sureshkumar T  <tsureshkumar@novell.com>
501
502         * DbConnectionStringBuilder.cs: Class for helping creation of db
503         connection strings added.
504
505 2004-10-01  Sureshkumar T  <tsureshkumar@novell.com>
506
507         * DbProviderFactories.cs: Implemented all the stubs. Added functionality for
508         getting available provider factories and creating a specified provider factory.
509
510         * DbProviderFactoriesConfigurationHandler.cs: Added functionality for handling
511         DbProviderFactories configuration section.
512
513         * DbProviderFactory.cs: Added protected constructor. SupportedClasses property
514         is made abstract.
515
516 2004-09-14  Sebastien Pouliot  <sebastien@ximian.com>
517
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).
524
525 2004-09-13  Sebastien Pouliot  <sebastien@ximian.com>
526
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.
535
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.
538
539 2004-07-21 Umadevi S <sumadevi@novell.com>
540         * DbDataRecord.cs - Fix for bug 58163. Return DBNull instead of null
541
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
545
546
547 2004-06-24  Atsushi Enomoto  <atsushi@ximian.com>
548
549         * DataColumnMappingCollection.cs : fixed typo.
550         * DbDataAdapter.cs : column mappings were not filled.
551
552 2004-06-24  Atsushi Enomoto  <atsushi@ximian.com>
553
554         * DataTableMapping.cs : Clone() should also clone ColumnMappings.
555
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.
559
560 2004-06-17  Boris Kirzner  <borisk@mainsoft.com>
561         * RecordCache.cs : Added CopyRecord mathod that copies single record from one table to another.
562
563 2004-06-17  Boris Kirzner  <borisk@mainsoft.com>
564         * Datacontainer.cs : 
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.
569         
570 2004-06-10 Umadevi S <sumadevi@novell.com>
571         * DataTableMappingCollection.cs - fixed nunit testcase errors
572         IndexOfDataSetTable method
573
574 2004-06-09 Umadevi S <sumadevi@novell.com>
575         * DataTableMappingCollection.cs - fixed nunit testcase errors
576         - Add, GetByDataSetTable,Insert, Remove, RemoveAt methods.
577
578 2004-06-09 Umadevi S <sumadevi@novell.com>
579         * DataColumnMappingCollection.cs - fixed nunit testcase errors
580         - GetByDataSetColumn,IndexOfDataSetColumn, Remove methods.      
581
582 2004-06-08 Umadevi S <sumadevi@novell.com>
583         * DataColumnMappingCollection.cs - fixed nunit testcase errors.
584         - remove, removeat, contains methods.
585
586 2004-06-04  Gert Driesen <drieseng@users.sourceforge.net>
587
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
592
593 2004-06-02  Gert Driesen <drieseng@users.sourceforge.net>
594        * DataColumnMappingCollection.cs: added missing attributes on
595        indexers
596
597 2004-05-27  Boris Kirzner  <borisk@mainsoft.com>
598         * DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer.SetValue .
599
600 2004-05-20  Gert Driesen (drieseng@users.sourceforge.net)
601
602         *  DbDataPermissionAttribute.cs: change AllowMultiple and
603         Inherited to match .NET
604
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.
608         
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 ).
616         
617 2004-05-13 Umadevi S (sumadevi@novell.com)
618         * DbDataPermissionAttribute.cs - Added KeyRestrictions property with a TODO tag
619
620 2004-05-09  Gert Driesen (drieseng@users.sourceforge.net)
621         * ComparerFactory.cs: marked internal
622
623 2003-04-26  Boris Kirzner <borisk@mainsoft.com>
624         * DataColumnMappingCollection.cs : Small fix in exception message thrown.
625           
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.
631         
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
636         of loop.
637
638 2004-03-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
639
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
645
646 2004-03-03  Eran Domb  <erand@miansoft.com>
647         
648         * ComparerFactory.cs : Added.
649         
650 2004-01-10  Atsushi Enomoto  <atsushi@ximian.com>
651
652         * DbDataPermission.cs : tiny fix to pass OleDbPermission.
653
654 2004-01-09  Atsushi Enomoto  <atsushi@ximian.com>
655
656         * DbDataPermission.cs : .ctor(PermissionState state) should not call
657           obsolete .ctor(state, allowBlankPassword). csc reports an error.
658
659 2003-12-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
660
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).
665
666 2003-12-23  Tim Coleman <tim@timcoleman.com>
667         * DbConnectionString.cs:
668                 Some implementation
669         * DbProviderFactory.cs:
670                 Fix typo to make CLS compliant
671
672 2003-12-16  Jackson Harper <jackson@ximian.com>
673
674         * SchemaTableOptionalColumn.cs: Add to fix default build
675         
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
692
693 2003-10-22  Eran Domb  <erand@miansoft.com>
694         * DbDataAdapter.cs : Check if there is mapping to avoid exception.
695
696 2003-11-26  Tim Coleman <tim@timcoleman.com>
697         * DbDataReader.cs: Add new stub class
698
699 2003-11-23  Pedro Martínez Juliá  <yoros@wanadoo.es>
700
701         * DbDataAdapter.cs: Call command dispose in self dispose method. We
702         need to dispose the connections and other stuff stored in the
703         commands.
704
705 2003-11-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
706
707         * DataColumnMappingCollection.cs: Fix a missing exception when the
708         required mapping is not in the collection. MS.NET throws an
709         exception there.
710
711 2003-10-22  Eran Domb  <erand@miansoft.com>
712
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.
720         
721
722 2003-09-30  Duncan Mak  <duncan@ximian.com>
723
724         Patch from Eran Domb <eran@mainsoft.com>.
725         
726         * DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
727
728 2003-09-25  Duncan Mak  <duncan@ximian.com>
729
730         * DbDataAdapter.cs (Fill): Patch from Eran Domb, <eran@mainsoft.com>.
731         Fixes a possible NullReferenceException, more details here:
732
733         http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002116.html
734
735 2003-09-21  eran <erand@mainsoft.com>
736
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.
740
741 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
742
743         * DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
744         exception. Thanks to Mark Easton <measton@tebiki.co.uk>.
745
746 2003-07-31  Duncan Mak  <duncan@ximian.com>
747
748         * DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
749         NET_1_1.
750
751 2003-03-21  Alan Tam <Tam@SiuLung.com>
752
753         * DbDataAdapter.cs: Update now uses correct DataRowVersion
754         when accessing the data.
755
756 2003-03-17  Aleksey Demakov <avd@openlinksw.com>
757
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.
761
762 2003-02-28  Aleksey Demakov <avd@openlinksw.com>
763
764         * DbDataAdapter.cs: Update (DataSet) updates the default
765         table only.
766
767 2003-02-25  Alan Tam <Tam@SiuLung.com>
768         
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
775
776 2003-02-24  Aleksey Demakov <avd@openlinksw.com>
777
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.
784
785 2003-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
786
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
789         patch.
790
791 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
792
793         * DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.
794
795 2002-10-31  Daniel Morgan <danmorg@sc.rr.com>
796
797         * SchemaInfo.cs: added missing properties to fix mcs build
798
799 2002-05-05  Miguel de Icaza  <miguel@ximian.com>
800
801         * DataTableMapping.cs, DataTableMappingCollection.cs: comment out
802         interfaces we do not implement yet.
803
804         * DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
805         we do not implement yet.
806
807         * DbDataPermissionAttribute.cs: call base constructor.
808