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