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