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