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