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