2007-07-26 Nagappan A <anagappan@novell.com>
[mono.git] / mcs / class / System.Data / System.Data.Common / ChangeLog
1 2007-07-26  Nagappan A  <anagappan@novell.com>
2
3         * DbConnection.cs: Removed bogus TODO.
4
5 2007-07-22  Nagappan A  <anagappan@novell.com>
6
7         * DbConnection.cs: 2.0 missing features.
8
9         * DbDataAdapter.cs: 2.0 missing features.
10
11 2007-06-30  Gert Driesen  <drieseng@users.sourceforge.net>
12
13         * DbDataAdapter.cs: Marked ICloneable.Clone obsolete to match MS.
14
15 2007-06-21  Nagappan A  <anagappan@novell.com>
16
17         * DbConnectionStringBuilder.cs (Init): Modified the dictionary to
18         use StringComparer.InvariantCultureIgnoreCase.
19         (Add, ContainsKey): Checks whether argument is null or empty string.
20
21 2007-05-08  Adar Wesley <adarw@mainsoft.com>
22
23         * DbProviderFactory.cs: minor refactoring for throwing exceptions
24
25 2007-04-30  Marek Habersack  <mhabersack@novell.com>
26
27         * DbProviderFactories.cs: throw the same exception MS.NET does.
28
29 2007-03-03  Gert Driesen  <drieseng@users.sourceforge.net>
30
31         * DbProviderFactoriesConfigurationHandler.cs: Added support for
32         clear node.
33
34 2007-03-03  Gert driesen  <drieseng@users.sourceforge.net>
35
36         * ConnectionStringsSectionHandler.cs: Removed since the 2.0 config
37         API is in place.
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.
47
48 2007-02-26  Atsushi Enomoto  <atsushi@ximian.com>
49
50         * DbProviderFactoriesConfigurationHandler.cs : there was a config
51           test that used to be broken.
52
53 2007-02-26  Atsushi Enomoto  <atsushi@ximian.com>
54
55         * DbProviderFactoriesConfigurationHandler.cs : remove "support"
56           attribute check, as it does not really do anything.
57
58 2007-02-19  Atsushi Enomoto  <atsushi@ximian.com>
59
60         * DbProviderFactoriesConfigurationHandler.cs : "support" attribute is
61           optional. Fixed bug #80894.
62
63 2007-02-09  Nagappan A  <anagappan@novell.com>
64
65         * DbProviderFactory.cs: Derived class has to implement all the
66         methods of this class.
67
68         * DbProviderFactoriesConfigurationHandler.cs (Create): Removed
69         bogus MonoTODO
70
71 2007-01-08  Nagappan A  <anagappan@novell.com>
72
73         * DataTableMappingCollection.cs (AddRange):  Implemented missing
74         NET 2.0 API.
75
76         * DbConnection.cs (GetSchema): Implemented missing NET 2.0 API,
77         based on SqlClient implementation.
78
79         * DbConnectionStringBuilder.cs (AppendKeyValuePair): Implemented
80         missing API.
81
82         * DbDataReader.cs (GetData): Implemented missing API.
83         (GetDbDataReader): Implemented missing API.
84
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
96         public methods.
97
98         * DbProviderFactory.cs: Removed MonoTODO's as the derived class
99         has to implement all the methods in this class.
100
101         * DataAdapter.cs (Fill): Implemented missing method.
102
103         * DbDataAdapter.cs (FillCommandBehavior): Implemented property.
104
105 2006-12-20  Nagappan A  <anagappan@novell.com>
106
107         * DataColumnMapping.cs (GetDataColumnBySchemaAction): Implemented
108         2.0 profile method.
109
110         * DbDataReader.cs: Removed TODO's where ever the implementation is
111         available.
112
113         * RowUpdatedEventArgs.cs: Removed TODO's where ever the
114         implementation is available.
115
116         * DataAdapter.cs (FillInternal): Moved from DbDataAdapater.cs to
117         here.
118         (BuildSchema): Moved from DbDataAdapter.cs.
119         (FillTable): Moved from DbDataAdapter.cs.
120         (OnFillErrorInternal): Implemented new internal method to raise an
121         event.
122         (SetupSchema): Moved from DbDataAdapter.cs.
123         (FillInterl): Moved common implementation from DbDataAdapter.cs.
124         Removed TODO's where ever the implementation is available.
125
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.
133
134 2006-12-11  Miguel de Icaza  <miguel@novell.com>
135
136         * DataAdapter.cs: Removed TODO, NotSupportedException was the
137         correct implementation. 
138
139 2006-11-28  Nagappan A  <anagappan@novell.com>
140
141         * DbDataAdapter.cs: Removed bogus MonoTODOs
142
143         * DataAdapter.cs: Removed bogus MonoTODOs
144         
145 2006-11-15  Nagappan A  <anagappan@novell.com>
146
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
151         variable.
152         (GetInsertCommand): Returns DbDataAdapter insertCommand internal
153         variable.
154         (GetUpdateCommand): Returns DbDataAdapter updateCommand internal
155         variable.
156
157 2006-09-06  Konstantin Triger <kostat@mainsoft.com>
158
159         * DbDataAdapter.cs: added basic implementation for some 2.0 features.
160
161 2006-08-24  Vladimir Krasnov <vladimirk@mainsoft.com>
162
163         * DbProviderFactories.cs: added TARGET_JVM block to not supported
164         functionality
165
166 2006-08-06  Konstantin Triger <kostat@mainsoft.com>
167
168         * DbDataReader.cs: DbDataReader.Dipose(bool) - implemented.
169
170 2006-07-17  Senganal T <tsenganal@novell.com>
171
172         * Index.cs :
173                 - GetAllRows : Added. Returns all the rows in the current
174                 index.
175                 - GetDistinctRows :Added. Returns all the distinct rows (based
176                 in Key Columns) in the index.
177                 
178 2006-07-13  Senganal T <tsenganal@novell.com>
179
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 :
186                 2.0 Api fixes
187
188 2006-06-15  Senganal T <tsenganal@novell.com>
189
190         * Key.cs : 
191                 -Equals : Check for Equality of Sort Order too.
192                 
193 2006-04-07  Senganal T <tsenganal@novell.com>
194
195         * DbDataAdapter.cs :
196                 * Update () : If the Update/Delete Query has a null check,
197                 then populate the parameter value correctly.
198
199 2006-03-20  Senganal T <tsenganal@novell.com>
200
201         * DataAdapter.cs :
202                 - Ctor () : Set Default Values for DataAdapter members
203         * DbDataAdapter.cs : 
204                 - Update () : Call row.AcceptChanges only if AcceptChangesDuringUpdate
205                 is true. Fixes bug #77776
206
207 2006-03-09  Senganal T <tsenganal@novell.com>
208         
209         * Index.cs :
210                 - Update () : Add the new record in the correct position
211
212 2006-03-07  Senganal T <tsenganal@novell.com>
213
214         * Key.cs : 
215                 Reverted the changes from the earlier patch.
216
217 2006-02-22  Senganal T <tsenganal@novell.com>
218
219         * DbDataAdapter.cs :
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.
223         * Key.cs :
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.
227
228 2006-02-18  Raja R Harinath  <harinath@gmail.com>
229
230         * DbConnectionStringBuilder.cs (ICollection.CopyTo): Use
231         _dictionary, not 'this' in cast.
232
233 2006-02-17  Chris Toshok  <toshok@ximian.com>
234
235         * DbDataAdapter.cs: more 2.0 cleanup.
236
237 2006-02-17  Chris Toshok  <toshok@ximian.com>
238
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.
244         
245 2006-02-17  Chris Toshok  <toshok@ximian.com>
246
247         * DbProviderFactory.cs: remove two methods.  and mark the
248         DbProviderSupportedClasses ctor as internal since it's not part of
249         the public api.
250
251         * DbTable.cs: remove this class from 2.0 build.. leave it for the
252         JVM build, I guess?
253
254         * RowUpdatingEventArgs.cs: this class isn't abstract in 2.0.
255
256         * RowUpdatedEventArgs.cs: this class isn't abstract in 2.0.
257
258         * SupportedJoinOperators.cs: new 2.0 enum.
259
260         * CatalogLocation.cs: fix enum values.
261
262         * GroupByBehavior.cs: same.
263
264         * IdentifierCase.cs: same.
265
266         * SchemaTableColumn.cs: class is static, not sealed.  and add
267         missing elements.
268         
269         * SchemaTableOptionalColumn.cs: same.
270         
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.
274
275         * DbDataUpdatableRecord.cs: remove this 2.0 file.
276
277 2006-02-17  Chris Toshok  <toshok@ximian.com>
278
279         * DbDataReader.cs: remove VisibleFieldCount attribute, and remove
280         IDataReader2 and IDataRecord2 interfaces.
281         
282 2006-02-13  Senganal T  <tsenganal@novell.com>
283
284         * DbDataAdapter.cs :
285                 - FillSchema  : 
286                         - Add table to schema only if MissingSchemaAction is not Ignore
287                         Add schema to table if MissingSchemaAction is set to either of
288                         Add or AddWithKey
289                 - BuildSchema :
290                         - Set the Schema values only if MissingSchemaAction is set to
291                         AddWithKey
292
293 2006-01-31  Senganal T  <tsenganal@novell.com>
294
295         * DbDataAdapter.cs :
296                 - Corrected an error in the prev checkin.. Fixes #77415
297
298 2006-01-27  Senganal T  <tsenganal@novell.com>
299
300         * DbDataAdapter.cs :
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
305         * DataAdapter :
306                 - Added argument checks
307         * ExceptionHelper :
308                 - Added InvalidEnumException , a helper function to print error msg
309                 
310 2006-01-11 Boris Kirzner <borisk@mainsoft.com>
311         * Index.cs: removed redundant call to RebuildIndex() in constructor.
312
313 2005-12-12  Konstantin Triger <kostat@mainsoft.com>
314
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().
320
321 2005-11-22  Konstantin Triger <kostat@mainsoft.com>
322
323         * DbProviderFactory.cs: TARGET_JVM ifdef.
324
325 2005-11-21  Senganal T <tsenganal@novell.com>
326
327         * DbDataAdapter.cs
328         * DbParameter.cs
329         * DbTransaction.cs
330         * DbTable.cs
331         * DbProviderFactories.cs
332         * DbException.cs
333         * DbProviderFactory.cs
334         * DbCommandBuilder.cs
335         * DbDataReader.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 
340
341 2005-10-24  Konstantin Triger <kostat@mainsoft.com>
342
343         * DataContainer.cs: removed extra type validation for object container
344
345 2005-10-14  Senganal T  <tsenganal@novell.com>
346
347         * DbDataAdapter.cs : 
348                 - BuildSchema() : Set the value of DataColumn Property 'AllowDBNull'
349                 as returned by database. Fixes bug#76433. 
350
351 2005-09-21 Boris Kirzner <borisk@mainsoft.com>
352         * Index.cs: 
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.
356         * Key.cs:
357                 - Added HasFilter property, CanContain and DependsOn methods.
358                 - Equals() uses filter expression comparison.           
359
360 2005-09-07 Boris Kirzner <borisk@mainsoft.com>
361         * DataContainer.cs: Do not convert value if container type 
362         is System.Object.
363
364 2005-08-08  Gert Driesen  <drieseng@users.sourceforge.net>
365
366         * DbTypes.cs: Marked internal to fix public API.
367
368 2005-08-05  Sureshkumar T  <tsureshkumar@novell.com>
369
370         * DbDataAdapter.cs:
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.
375
376 2005-07-22  Sureshkumar T  <tsureshkumar@novell.com>
377
378         * DataColumnMappingCollection.cs: updated attributes & attribute
379         descriptions to match with masterinfos.
380
381 2005-07-15  Sureshkumar T  <tsureshkumar@novell.com>
382
383         * DataTableMappingCollection.cs: GetTableMappingBySchemaAction:
384         meaningful error message if mapping is missing.
385
386         * DbDataAdapter.cs: Update: meaningful message if table is missing.
387
388 2005-06-22  Sureshkumar T  <tsureshkumar@novell.com>
389
390         * Index.cs: Remove : length for Array.Copy (a, i+1, a, i, length -
391         (i+1)) corrected.
392
393 2005-06-21  Sureshkumar T  <tsureshkumar@novell.com>
394
395         * DbConnectionStringBuilder.cs: Implemented method for parsing
396         connection string through "ConnectionString" property.
397
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
401         well.
402
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.
408         
409 2005-05-25 Konstantin Triger <kostat@mainsoft.com>
410
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
412
413 2005-05-20 Umadevi S <sumadevi@novell.com>
414         * Added file DbProviderSpecificTypePropertyAttribute.cs
415
416 2005-05-19 Umadevi S <sumadevi@novell.com>
417
418         * RowUpdatingEventArgs.cs - added BaseCommand property for net 2.0
419
420 2005-05-18 Konstantin Triger <kostat@mainsoft.com>
421
422         * DbDataAdapter.cs: Initialize the schema values to defaults if the schema does not contain the information
423
424 2005-05-16  Sureshkumar T  <tsureshkumar@novell.com>
425
426         * RecordCache.cs: quick fix to make build 2.0 profile (follow up
427         for check in 2005-05-16).
428
429 2005-05-16 Konstantin Triger <kostat@mainsoft.com>
430
431         * Index.cs: validation that the updated row belongs to the index
432
433 2005-05-02 Konstantin Triger <kostat@mainsoft.com>
434
435         * DataContainer.cs: 
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
439         
440         * DbDataAdapter.cs:
441                 Ensure correct order for LoadDataRow
442                 Fixing schema creation
443                 Use NewRowArray API
444         
445         * DbEnumerator.cs:
446                 LoadSchema: Retrieve needed fields only
447         
448         * RecordCache.cs:
449                 Added Rows-to-Records mapping
450                 Added ReadIDataRecord method for correct handling of default/auto increment values
451         
452         * Added Index.cs: Index implementation
453         * Added Key.cs: Index descriptor implementation
454
455
456 2005-04-27  Sureshkumar T  <tsureshkumar@novell.com>
457
458         * DbDataReader.cs: Added static method to construct the schema
459         table with default schema. Could be reused in many places.
460
461 2005-04-22  Sureshkumar T  <tsureshkumar@novell.com>
462
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.
466
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.
471
472 2005-04-18  Sureshkumar T  <tsureshkumar@novell.com>
473
474         * DataAdapter.cs: Implemenetd OnFillError handler.
475
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.
479
480 2005-03-24  Sureshkumar T  <tsureshkumar@novell.com>
481
482         * DbDataAdapter.cs: Update: If  SourceColumn is null, do not set
483         value for the parameter.
484
485 2005-05-25 Umadevi S <sumadevi@novell.com>
486         * Added DbException.cs
487
488 2005-03-23  Sureshkumar T  <tsureshkumar@novell.com>
489
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).
493
494 2005-03-22  Sureshkumar T  <tsureshkumar@novell.com>
495
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.
501
502         * RowUpdatedEventArgs.cs: if custom error is not set, throw a
503         default error.
504
505 2005-03-01  Sureshkumar T  <tsureshkumar@novell.com>
506
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.
510
511 2005-02-04  Sureshkumar T  <tsureshkumar@novell.com>
512
513         * DbDataAdapter.cs (Update ()) :
514         - Check for one return result set and map the values back to
515           datatable.
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.
519
520 2005-02-02  Sureshkumar T  <tsureshkumar@novell.com>
521
522         * DbConnection.cs: Implement Dispose pattern.
523
524 2005-01-25  Atsushi Enomoto  <atsushi@ximian.com>
525
526         * DbDataPermission.cs : Empty.Union(Empty) is Empty.
527
528 2005-01-14  Atsushi Enomoto  <atsushi@ximian.com>
529
530         * DbDataPermissionAttribute.cs, PermissionHelper.cs :
531           fixed some incompatible type of exception between 2.0 and 1.x.
532         * DataContainer.cs :
533           Wrap exceptions thrown by SetValue() within ArgumentException.
534
535 2004-12-10  Sureshkumar T  <tsureshkumar@novell.com>
536
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.
540
541 2004-11-24  Sureshkumar T  <tsureshkumar@novell.com>
542
543         * DbProviderSupportedClasses.cs: Added correct enum values.
544         * DbConnection.cs: Missing virtual method EnlistTransaction Added.
545         * DbCommand.cs: Implemented ProviderFactory base factory methods.
546
547 2004-11-22  Sureshkumar T  <tsureshkumar@novell.com>
548
549         * DbConnectionStringBuilder.cs: Class for helping creation of db
550         connection strings added.
551
552 2004-10-01  Sureshkumar T  <tsureshkumar@novell.com>
553
554         * DbProviderFactories.cs: Implemented all the stubs. Added functionality for
555         getting available provider factories and creating a specified provider factory.
556
557         * DbProviderFactoriesConfigurationHandler.cs: Added functionality for handling
558         DbProviderFactories configuration section.
559
560         * DbProviderFactory.cs: Added protected constructor. SupportedClasses property
561         is made abstract.
562
563 2004-09-14  Sebastien Pouliot  <sebastien@ximian.com>
564
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).
571
572 2004-09-13  Sebastien Pouliot  <sebastien@ximian.com>
573
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.
582
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.
585
586 2004-07-21 Umadevi S <sumadevi@novell.com>
587         * DbDataRecord.cs - Fix for bug 58163. Return DBNull instead of null
588
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
592
593
594 2004-06-24  Atsushi Enomoto  <atsushi@ximian.com>
595
596         * DataColumnMappingCollection.cs : fixed typo.
597         * DbDataAdapter.cs : column mappings were not filled.
598
599 2004-06-24  Atsushi Enomoto  <atsushi@ximian.com>
600
601         * DataTableMapping.cs : Clone() should also clone ColumnMappings.
602
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.
606
607 2004-06-17  Boris Kirzner  <borisk@mainsoft.com>
608         * RecordCache.cs : Added CopyRecord mathod that copies single record from one table to another.
609
610 2004-06-17  Boris Kirzner  <borisk@mainsoft.com>
611         * Datacontainer.cs : 
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.
616         
617 2004-06-10 Umadevi S <sumadevi@novell.com>
618         * DataTableMappingCollection.cs - fixed nunit testcase errors
619         IndexOfDataSetTable method
620
621 2004-06-09 Umadevi S <sumadevi@novell.com>
622         * DataTableMappingCollection.cs - fixed nunit testcase errors
623         - Add, GetByDataSetTable,Insert, Remove, RemoveAt methods.
624
625 2004-06-09 Umadevi S <sumadevi@novell.com>
626         * DataColumnMappingCollection.cs - fixed nunit testcase errors
627         - GetByDataSetColumn,IndexOfDataSetColumn, Remove methods.      
628
629 2004-06-08 Umadevi S <sumadevi@novell.com>
630         * DataColumnMappingCollection.cs - fixed nunit testcase errors.
631         - remove, removeat, contains methods.
632
633 2004-06-04  Gert Driesen <drieseng@users.sourceforge.net>
634
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
639
640 2004-06-02  Gert Driesen <drieseng@users.sourceforge.net>
641        * DataColumnMappingCollection.cs: added missing attributes on
642        indexers
643
644 2004-05-27  Boris Kirzner  <borisk@mainsoft.com>
645         * DataContainer.cs : Bug fixes in BitDataContainer.get_Item and StringDataContainer.SetValue .
646
647 2004-05-20  Gert Driesen (drieseng@users.sourceforge.net)
648
649         *  DbDataPermissionAttribute.cs: change AllowMultiple and
650         Inherited to match .NET
651
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.
655         
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 ).
663         
664 2004-05-13 Umadevi S (sumadevi@novell.com)
665         * DbDataPermissionAttribute.cs - Added KeyRestrictions property with a TODO tag
666
667 2004-05-09  Gert Driesen (drieseng@users.sourceforge.net)
668         * ComparerFactory.cs: marked internal
669
670 2003-04-26  Boris Kirzner <borisk@mainsoft.com>
671         * DataColumnMappingCollection.cs : Small fix in exception message thrown.
672           
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.
678         
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
683         of loop.
684
685 2004-03-12  Andreas Nahr <ClassDevelopment@A-SoftTech.com>
686
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
692
693 2004-03-03  Eran Domb  <erand@miansoft.com>
694         
695         * ComparerFactory.cs : Added.
696         
697 2004-01-10  Atsushi Enomoto  <atsushi@ximian.com>
698
699         * DbDataPermission.cs : tiny fix to pass OleDbPermission.
700
701 2004-01-09  Atsushi Enomoto  <atsushi@ximian.com>
702
703         * DbDataPermission.cs : .ctor(PermissionState state) should not call
704           obsolete .ctor(state, allowBlankPassword). csc reports an error.
705
706 2003-12-30  Gonzalo Paniagua Javier <gonzalo@ximian.com>
707
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).
712
713 2003-12-23  Tim Coleman <tim@timcoleman.com>
714         * DbConnectionString.cs:
715                 Some implementation
716         * DbProviderFactory.cs:
717                 Fix typo to make CLS compliant
718
719 2003-12-16  Jackson Harper <jackson@ximian.com>
720
721         * SchemaTableOptionalColumn.cs: Add to fix default build
722         
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
739
740 2003-10-22  Eran Domb  <erand@miansoft.com>
741         * DbDataAdapter.cs : Check if there is mapping to avoid exception.
742
743 2003-11-26  Tim Coleman <tim@timcoleman.com>
744         * DbDataReader.cs: Add new stub class
745
746 2003-11-23  Pedro Martínez Juliá  <yoros@wanadoo.es>
747
748         * DbDataAdapter.cs: Call command dispose in self dispose method. We
749         need to dispose the connections and other stuff stored in the
750         commands.
751
752 2003-11-10  Pedro Martínez Juliá  <yoros@wanadoo.es>
753
754         * DataColumnMappingCollection.cs: Fix a missing exception when the
755         required mapping is not in the collection. MS.NET throws an
756         exception there.
757
758 2003-10-22  Eran Domb  <erand@miansoft.com>
759
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.
767         
768
769 2003-09-30  Duncan Mak  <duncan@ximian.com>
770
771         Patch from Eran Domb <eran@mainsoft.com>.
772         
773         * DbDataAdapter.cs (Fill): Fixed an Exception from being thrown.
774
775 2003-09-25  Duncan Mak  <duncan@ximian.com>
776
777         * DbDataAdapter.cs (Fill): Patch from Eran Domb, <eran@mainsoft.com>.
778         Fixes a possible NullReferenceException, more details here:
779
780         http://lists.ximian.com/archives/public/mono-devel-list/2003-September/002116.html
781
782 2003-09-21  eran <erand@mainsoft.com>
783
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.
787
788 2003-08-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
789
790         * DbDataAdapter.cs: provide a Type for ToArray to avoid invalid cast
791         exception. Thanks to Mark Easton <measton@tebiki.co.uk>.
792
793 2003-07-31  Duncan Mak  <duncan@ximian.com>
794
795         * DataAdapter.cs (CloneInternals): Mark with ObsoleteAttribute for
796         NET_1_1.
797
798 2003-03-21  Alan Tam <Tam@SiuLung.com>
799
800         * DbDataAdapter.cs: Update now uses correct DataRowVersion
801         when accessing the data.
802
803 2003-03-17  Aleksey Demakov <avd@openlinksw.com>
804
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.
808
809 2003-02-28  Aleksey Demakov <avd@openlinksw.com>
810
811         * DbDataAdapter.cs: Update (DataSet) updates the default
812         table only.
813
814 2003-02-25  Alan Tam <Tam@SiuLung.com>
815         
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
822
823 2003-02-24  Aleksey Demakov <avd@openlinksw.com>
824
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.
831
832 2003-01-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
833
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
836         patch.
837
838 2003-01-08  Gonzalo Paniagua Javier <gonzalo@ximian.com>
839
840         * DbDataRecord.cs: return DbNull.Value in GetValue () if value is null.
841
842 2002-10-31  Daniel Morgan <danmorg@sc.rr.com>
843
844         * SchemaInfo.cs: added missing properties to fix mcs build
845
846 2002-05-05  Miguel de Icaza  <miguel@ximian.com>
847
848         * DataTableMapping.cs, DataTableMappingCollection.cs: comment out
849         interfaces we do not implement yet.
850
851         * DbDataAdapter.cs: Stub IEnumerable, comment out interfaces
852         we do not implement yet.
853
854         * DbDataPermissionAttribute.cs: call base constructor.
855