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