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