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