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