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