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