2002-10-29 Rodrigo Moya <rodrigo@ximian.com>
[mono.git] / mcs / class / System.Data / ChangeLog
1 2002-10-29  Rodrigo Moya <rodrigo@ximian.com>
2
3         * makefile.gnu: added Test directory.
4
5 2002-10-29  Ville Palo <vi64pa@koti.soon.fi>
6
7         * System.Data.SqlTypes/SqlGuid.cs: Fixed some bugs and finished 
8         couple of MonoTODOs.
9         
10 2002-10-28  Tim Coleman (tim@timcoleman.com)
11         * System.Data.SqlClient/SqlCommand.cs:
12                 Add some error handling
13         * System.Data.SqlClient/SqlDataReader.cs:
14                 Add some error handling
15                 Add precision/scale to schema table
16         * System.Data.SqlClient/SqlException.cs:
17                 Generate a SqlException from TDS error
18                 collection
19         * System.Data.SqlClient/SqlTransaction.cs:
20                 Add some error handling
21
22
23 2002-10-28  Ville Palo <vi64pa@koti.soon.fi>
24
25         * System.Data.SqlTypes/SqlBinary.cs:
26         * System.Data.SqlTypes/SqlBoolean.cs:
27         * System.Data.SqlTypes/SqlByte.cs:
28         * System.Data.SqlTypes/SqlDateTime.cs:
29         * System.Data.SqlTypes/SqlDecimal.cs:
30         * System.Data.SqlTypes/SqlDouble.cs:
31         * System.Data.SqlTypes/SqlDecimal.cs:
32         * System.Data.SqlTypes/SqlDouble.cs:
33         * System.Data.SqlTypes/SqlGuid.cs:
34         * System.Data.SqlTypes/SqlInt16.cs:
35         * System.Data.SqlTypes/SqlInt32.cs:
36         * System.Data.SqlTypes/SqlInt64.cs:
37         * System.Data.SqlTypes/Money.cs:
38         * System.Data.SqlTypes/SqlSingle.cs:
39         * System.Data.SqlTypes/SqlString.cs:
40         * System.Data.SqlTypes/SqlSingle.cs: Fixed internal loop bugs and
41         some other minor fixes.
42
43 2002-10-27  Rodrigo Moya <rodrigo@ximian.com>
44
45         * System.Data.OleDb/OleDbDataAdapter.cs (Fill, FillSchema,
46         GetFillParameters, Update): added overloaded methods.
47
48         * System.Data.OleDb/OleDbCommand.cs:
49         * System.Data.OleDb/OleDbDataReader.cs:
50         * System.Data.OleDb/OleDbConnection.cs: removed limitation of one
51         data adapter at a time. Mono's version can open as many as you want,
52         for free.
53
54 2002-10-25  Tim Coleman (tim@timcoleman.com)
55         * System.Data.SqlClient/SqlConnectionPool.cs:
56                 New class added
57         * System.Data.SqlClient/SqlClientPermission.cs:
58         * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
59         * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
60         * System.Data.SqlClient/SqlInfoMessageEventHandler.cs:
61         * System.Data.SqlClient/SqlParameter.cs:
62         * System.Data.SqlClient/SqlParameterCollection.cs:
63                 Code reformatting
64         * System.Data.SqlClient/SqlCommand.cs:
65         * System.Data.SqlClient/SqlConnection.cs:
66         * System.Data.SqlClient/SqlException.cs:
67         * System.Data.SqlClient/SqlTransaction.cs:
68                 New code based on work in TDS Client
69         * list:
70                 New files added for SqlClient, and TdsClient.Internal
71         * System.Data.build:
72                 Added reference to System.EnterpriseServices.dll
73                 Still leave SqlClient out of build until danmorg
74                 can fix.
75
76 2002-10-23  Ville Palo <vi64pa@koti.soon.fi>
77
78         * System.Data.SqlTypes/SqlDouble.cs:
79         * System.Data.SqlTypes/SqlSingle.cs: Finished
80         
81 2002-10-23  Ville Palo <vi64pa@koti.soon.fi>
82         
83         * System.Data.SqlTypes/SqlByte.cs:
84         * System.Data.SqlTypes/SqlBoolean.cs:
85         * System.Data.SqlTypes/SqlInt16.cs:
86         * System.Data.SqlTypes/SqlInt32.cs:
87         * System.Data.SqlTypes/SqlInt64.cs: Finished. 
88                 
89 2002-10-21  Rodrigo Moya <rodrigo@ximian.com>
90
91         * list: removed libodbchelper.cs file, which has been removed.
92
93 2002-10-16  Tim Coleamn <tim@timcoleman.com>
94         * list:
95         * System.Data.build:
96                 Exclude compiling of System.Data.SqlClient in
97                 preparation for overhauls of that system.
98
99 2002-10-16  Daniel Morgan <danmorg@sc.rr.com>\r
100 \r
101         * ParmUtil.cs\r
102         * PostgresLibrary.cs\r
103         * PostgresTypes.cs\r
104         * SqlClientPermission.cs\r
105         * SqlClientPermissionAttribute.cs\r
106         * SqlCommand.cs\r
107         * SqlCommandBuilder.cs\r
108         * SqlConnection.cs\r
109         * SqlDataAdapter.cs\r
110         * SqlDataReader.cs\r
111         * SqlError.cs\r
112         * SqlErrorCollection.cs\r
113         * SqlException.cs\r
114         * SqlInfoMessageEventArgs.cs\r
115         * SqlInfoMessageEventHandler.cs\r
116         * SqlParameter.cs\r
117         * SqlParameterCollection.cs\r
118         * SqlRowUpdatedEventArgs.cs\r
119         * SqlRowUpdatedEventHandler.cs\r
120         * SqlRowUpdatingEventArgs.cs\r
121         * SqlRowUpdatingEventHandler.cs\r
122         * SqlTransaction.cs: thanks to Miguel de Icaza, he \r
123         copied files on the mono cvs server\r
124         from mcs/class/System.Data/System.Data.SqlClient \r
125         for the PostgreSQL provider\r
126         to mcs/class/Mono.Data.PostgreSqlClient.  \r
127         This frees up\r
128         mcs/class/System.Data/System.Data.SqlClient for \r
129         the Microsoft SQL Server provider.  \r
130         Any Mono.Data.PostgreSqlClient/Sql*.cs files\r
131         were copied on the cvs server \r
132         to Mono.Data.PostgreSqlClient/PgSql*.cs files \r
133         and the old Mono.Data.PostgreSqlClient/Sql*.cs\r
134         files were removed.  Copying, renaming, and removing\r
135         was done on the cvs server so we could keep \r
136         the cvs change history.\r
137
138 2002-10-15  Daniel Morgan <danmorg@sc.rr.com>
139
140         * System.Data.OleDb/libgda.cs: added more functions
141         to platfrom invoke into shared library libgda
142         
143         * System.Data.OleDb/OleDbDataReader.cs: implemented
144         GetSchemaTable() and GetFieldType()
145
146 2002-10-13  Daniel Morgan <danmorg@sc.rr.com>
147
148         * System.Data/DataRow.cs: don't throw exception 
149         if DBNull is false.  Had to do comment this line
150         to allow a typeof(Type).
151         
152         * System.Data.SqlClient/SqlCommand.cs: the "DataType"
153         DataColumn and DataRows in a DataTable for a schema should 
154         be typeof Type, not string.  This is to make it 
155         compatible with MS.NET
156         
157         * System.Data.SqlClient/SqlConnection.cs: the 
158         isolation level should be set before
159         beginning the transaction
160         
161         * Test/SqlSharpCli.cs: change string to Type for
162         "DataType" from a DataRow in a DataTable 
163         that contains a schema.  
164
165 2002-10-14  Rodrigo Moya <rodrigo@ximian.com>
166
167         * list: added missing Odbc files.
168
169 2002-10-09  Rodrigo Moya <rodrigo@ximian.com>
170
171         * list: added System.Data.Odbc files.
172
173 2002-10-09  Brian Ritchie <brianlritchie@hotmail.com>
174
175         * System.Data.Odbc/*: added first version of ODBC managed provider.
176
177 2002-10-07  Gonzalo Paniagua Javier <gonzalo@ximian.com>
178
179         * System.Data/ConstraintCollection.cs:
180         * System.Data/DataColumnCollection.cs:
181         * System.Data/DataRowCollection.cs:
182         * System.Data/DataTableCollection.cs:
183         * System.Data/InternalDataCollectionBase.cs: made List internal to fix
184         the build with csc. It must be a mcs bug. I will try to get a test case.
185
186 2002-10-06  Luis Fernandez <luifer@onetel.net.uk>
187
188         * System.Data/Constraint.cs (AssertConstraint): added overloaded
189         method.
190
191         * System.Data/DataColumnCollection.cs: added constraints when needed.
192
193         * System.Data/DataRow.cs: validate UniqueConstraint's.
194
195         * System.Data/DataRowCollection.cs (ValidateDataRowInternal): new
196         internal method to validate a given DataRow with respect to the
197         DataRowCollection.
198
199         * System.Data/ForeignKeyConstraint.cs (AssertConstraint): stubs for
200         new overloaded method.
201
202         * System.Data/UniqueConstraint.cs: added implementation.
203         (AseertConstraint): implemented new overloaded method.
204         
205 2002-10-01  Rodrigo Moya <rodrigo@ximian.com>
206
207         * System.Data.OleDb/OleDbConnection.cs (Open): commented code from
208         last commit, which wasn't supposed to be in CVS yet.
209
210 2002-10-01  Luis Fernandez <luifer@onetel.net.uk>
211
212         * System.Data/DataColumn.cs:
213         * System.Data/DataRow.cs:
214         * System.Data/DataRowCollection.cs:
215         * System.Data/DataTable.cs: some fixes and implementation.
216
217 2002-09-28  Vladimir Vukicevic <vladimir@pobox.com>
218
219         * System.Data.OleDb/OleDbConnection.cs: Close
220         reader properly in call to ExecuteScalar().
221
222 2002-09-07  Rodrigo Moya <rodrigo@ximian.com>
223
224         * System.Data.OleDb/OleDbConnection.cs (Open): changed to use OleDb
225         connection strings, which are then converted to GDA connection
226         strings, instead of using directly GDA data source names.
227
228         * System.Data.OleDb/libgda.cs: added more needed functions.
229         
230 2002-09-06  Franklin Wise <gracenote@earthlink.net>
231         
232         * System.Data/DataColumn.cs: More flushing out.
233
234         * System.Data/ForeignKeyConstraint.cs: Implemented GetHashCode()
235
236         * System.Data/UniqueKeyConstraint.cs: Implemented GetHashCode()
237         
238         * Tests:  See Changelog for System.Data/Test
239         
240 2002-09-04  Franklin Wise <gracenote@earthlink.net>
241         
242         * Tests:  See Changelog for System.Data/Test
243         
244         * New Files:
245                 System.Data/DataColumnCollectionTest.cs
246                 System.Data/DataRowCollectionTest.cs
247                 System.Data/DataRowTest.cs
248
249         * System.Data/DataColumn.cs:  Flushing out validation, type conversion for
250         autoincrement.  Added lots of TODO's.
251         * System.Data/DataColumnCollection.cs:  Wrote out add logic as a comment.
252         Tagged implementation with FIXME tags.  Lot's more validation
253         and setup needs to be done, much of which is now tagged as todo's
254         or FIXME's
255
256         * System.Data/DataRow.cs: Lot's of fixme's added.
257         
258         * System.Data/DataRowCollection.cs: TODO's added.
259
260         * System.Data/DataTable.cs:  Implemented PrimaryKey.  
261
262         * System.Data/UniqueConstraint.cs: Implemented related PrimaryKey
263         helpers.
264
265 2002-08-25  Rodrigo Moya <rodrigo@ximian.com>
266
267         * System.Data.OleDb/OleDbTransaction.cs (OleDbTransaction): manage
268         correctly the isolation level.
269         (IsolationLevel): likewise.
270         (~OleDbTransaction): implemented.
271
272         * System.Data.OleDb/libgda.cs: added more needed stuff.
273
274 2002-08-22  Daniel Morgan <danmorg@sc.rr.com>
275
276         * System.Data.SqlClient/SqlParameter.cs: flush
277         
278         * System.Data.SqlClient/SqlParameterCollection.cs: fixes
279         for the Item property, IndexOf, and Contains.
280         
281         * Test/SqlSharpCli.cs: added input parameters support.
282         when a query is executed, if a parameter name matches
283         a SQL# internal variable name, it uses that value for the parameter; otherwise,
284         the user is prompted for the parameter value.  Currently, it only supports 
285         string parameters.
286
287 2002-08-21  Rodrigo Moya <rodrigo@ximian.com>
288
289         * System.Data.OleDb/libgda.cs: adapted to changes in libgda (get_vtype
290         and get_type for GdaValue).
291
292         * System.Data.OleDb/OleDbDataReader.cs: adapted to changes in
293         libgda.cs.
294
295 2002-08-20  Rodrigo Moya <rodrigo@ximian.com>
296
297         * System.Data.OleDb/OleDbConnection.cs (DataReader): new internal
298         property.
299         (Close): set the dataReader to null.
300
301         * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader): set the
302         connection's DataReader property to this object.
303         (Close): set it to null here.
304         (Depth, IsDbNull): implemented.
305         (this): implemented the Item property with a string indexer.
306
307         * System.Data.OleDb/OleDbCommand.cs (ExecuteNonQuery, ExecuteReader,
308         ExecuteScalar): do nothing if there's already an open data reader.
309
310         * System.Data.OleDb/libgda.cs: more API functions.
311
312         * System.Data.OleDb/TestOleDb.cs (TestDataReader): close the data
313         reader before continuing.
314
315 2002-08-20  Franklin Wise <gracenote@earthlink.net>
316         
317         * System.Data/System.Data.build: added nowarn:0679
318
319         * System.Data/System.DataTable: cleaned up class, added MonoTODO tags
320         setup to begin implementing.  Implemented ctor().
321
322         * Tests: See System.Data\Test\ChangeLog
323         
324
325 2002-08-19  Rodrigo Moya <rodrigo@ximian.com>
326
327         * System.Data.OleDb/OleDbSchemaGuid.cs: initialize static members.
328         
329 2002-08-19  Franklin Wise <gracenote@earthlink.net>
330         
331         * Tests: See System.Data\Test\ChangeLog
332         
333         * System.Data/UniqueConstraint.cs: More validation.
334         
335         * System.Data/ForeignKeyConstraint.cs: Added more validation rules.
336         Another LAMESPEC tag.  Implemented more of Add/Remove Setup/Cleanup
337         logic.
338         
339         * System.Data/DataTable.cs: Added more MonoTODO tags
340         
341         * class/System.Data/.cvsignore: added tmp & Temp
342
343         * System.Data/Constraint.cs: Changed abstract helpers to virtual and
344         internal.
345
346         * System.Data/ConstraintCollection.cs: Commented out unused line.
347
348 2002-08-18  Rodrigo Moya <rodrigo@ximian.com>
349
350         * System.Data.OleDb/OleDbConnection.cs (ChangeDatabase): implemented.
351
352         * System.Data.OleDb/OleDbException.cs (OleDbException): added internal
353         constructor.
354         (ErrorCode, Message, Source, Errors): implemented.
355
356         * System.Data.OleDb/OleDbError.cs: implemented the full class.
357
358         * System.Data.OleDb/libgda.cs: added more libgda functions.
359
360         * System.Data.OleDb/TestOleDb.cs (TestOleDb): display properties for
361         the opened connection.
362
363 2002-08-18  Rodrigo Moya <rodrigo@ximian.com>
364
365         * System.Data.OleDb/OleDbConnection.cs (ServerVersion): implemented.
366
367         * System.Data.OleDb/OleDbDataReader.cs (Close): clear the results
368         ArrayList after releasing the items.
369         (GetName, GetDateTime, GetDouble, GetSingle, GetInt16, GetInt32,
370          GetOrdinal, GetString): implemented.
371         (GetDataTypeName): made it get the type from the data model, not from
372         the current value, which could not have been retrieved yet.
373         (GetValue): call the Get* method corresponding with the data type of
374         the requested column.
375
376         * System.Data.OleDb/libgda.cs: added more libgda functions.
377         (GdaTimestamp, GdaDate, GdaTime): new marshalled structures.
378
379         * System.Data.OleDb/TestOleDb.cs (TestDateReader): display column
380         titles via OleDbDataReader.GetName ().
381         (TestOleDb): create temporary table with a date field.
382         (InsertRow): set current date for the date field.
383
384 2002-08-18  Rodrigo Moya <rodrigo@ximian.com>
385
386         * System.Data.OleDb/OleDbDataReader.cs (this[]): made it just call
387         GetValue, which will take care of all the work needed.
388         (Close): implemented basic stuff.
389         (~OleDbDataReader): implemented.
390
391         * System.Data.OleDb/libgda.cs: added more needed functions.
392
393 2002-08-16  Rodrigo Moya <rodrigo@ximian.com>
394
395         * System.Data.OleDb/TestOleDb.cs: made it work with a temporary table
396         we create.
397         (TestTransaction): added test for transactions.
398
399 2002-08-16  Rodrigo Moya <rodrigo@ximian.com>
400
401         * System.Data.OleDb/libgda.cs: added new needed libgda functions.
402
403         * System.Data.OleDb/OleDbDataReader.cs (GetBoolean): throw exceptions
404         when there are errors.
405         (GetByte, GetChar, GetDataTypeName, GetValue, Read): implemented.
406
407         * System.Data.OleDb/TestOleDb.cs: added more testing code for data
408         readers.
409
410 2002-08-15  Rodrigo Moya <rodrigo@ximian.com>
411
412         * System.Data.OleDb/libgda.cs: added new needed libgda functions.
413
414         * System.Data.OleDb/OleDbParameterCollection.cs (GdaParameterList):
415         create an empty GdaParameterList.
416
417         * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): check values
418         for NULL before passing them to Marshal.PtrToStructure, which issues
419         an exception if the value is NULL.
420
421 2002-08-15  Rodrigo Moya <rodrigo@ximian.com>
422
423         * System.Data/UniqueConstraint.cs (UniqueConstraint): commented
424         unreachable code to avoid compiler warning.
425
426         * System.Data.OleDb/libgda.cs (GdaList): added new internal class.
427
428         * System.Data.OleDb/OleDbConnection.cs (DataSource): implemented.
429         (OpenReader): removed internal method.
430
431         * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): split correctly
432         the list of returned data models.
433
434 2002-08-15  Franklin Wise <gracenote@earthlink.net>
435         
436         * System.Data/Constraint.cs: Added helper virtual functions
437
438         * System.Data/ConstraintCollection.cs: Improved constraint removal,
439         validation.  Removed specific knowledge of subclasses of 
440         Constraint.
441
442         * System.Data/DataColumn.cs: Added static helper function to compare
443         if two DataColumn arrays are the same.
444
445         * System.Data/ForeignKeyConstraint.cs: Continued to flush out.
446
447         * System.Data/UniqueConstraint.cs: Implemented.  Still some constraint
448         validation to do.
449         
450 2002-08-13  Franklin Wise <gracenote@earthlink.net>
451
452         * System.Data/DataRow.cs: Added several fixme tags.
453         
454 2002-08-13  Rodrigo Moya <rodrigo@ximian.com>
455
456         * System.Data.SqlClient/SqlDataAdapter.cs (DeleteCommand,
457         InsertCommand, SelectCommand, UpdateCommand): removed 'new' keyword
458         to avoid compiler warnings.
459
460 2002-08-12  Franklin Wise <gracenote@earthlink.net>
461
462         * System.Data/Constraint.cs: Implemented
463
464         * System.Data/UniqueConstraint.cs: GetHashCode() &
465         special case Ctor. Still need to be implemented. LAMESPEC tags
466         added.
467
468         * System.Data/ConstraintCollection.cs: Clear() &
469         AddRange() need to be finished. Several LAMESPEC tags.
470
471         * Allow Constraint collection to be created in DataTable.
472
473         * System.Data/ForeignKeyConstraint: Added a couple of
474         helper functions.
475
476         * System.Data/DataColumnCollection New/Added DataColumns now have
477         Table property set.
478
479 2002-08-11  Rodrigo Moya <rodrigo@ximian.com>
480
481         * System.Data.OleDb/libgda.cs: added some GdaValue functions.
482
483         * System.Data.OleDb/OleDbCommand.cs (OpenReader): removed this
484         internal method, since we don't need it.
485         (ExecuteReader): call SetupGdaCommand before executing the command
486         via libgda functions.
487         (ExecuteScalar): implemented.
488
489         * System.Data.OleDb/OleDbDateReader.cs (OleDbDataReader): removed call
490         to OleDbCommand.OpenReader.
491         (GetBoolean): implemented.
492
493 2002-08-08  Franklin Wise <gracenote@earthlink.net>
494
495         * System.Data/IDbComand.cs: IDbCommand now inherits IDisposable
496
497         * System.Data/IDbConnection.cs: IDbConnection now inherits IDisposable
498
499         * System.Data.SqlTypes/SqlCompareOptions.cs: Enum now set to correct
500         values.
501
502 2002-08-06  Gonzalo Paniagua Javier <gonzalo@ximian.com>
503
504         * System.Data.OleDb/OleDbConnection.cs: little fixes to make it work
505         and don't show a warning in Open.
506
507         * System.Data.OleDb/TestOleDb.cs: added Close.
508
509 2002-08-05  Rodrigo Moya <rodrigo@ximian.com>
510
511         * System.Data.OleDb/OleDbConnection.cs (ConnectionString,
512         ConnectionTimeout, ServerVersion, GdaConnection):
513         corrected style.
514         (OleDbConnection): call libgda.gda_init on constructor.
515
516         * System.Data.OleDb/libgda.cs (libgda): removed static constructor,
517         which wasn't been called.
518
519         * System.Data.OleDb/TestOleDb.cs (TestOleDb): updated to really
520         make some tests.
521
522 2002-08-04  Rodrigo Moya <rodrigo@ximian.com>
523
524         * list: added missing System.Data.OleDb and
525         System.Data.Common files.
526
527         * System.Data.OleDb/ChangeLog: removed and merged with
528         System.Data's ChangeLog.
529
530         * System.Data.OleDb/OleDbDataAdapter.cs:
531         * System.Data.OleDb/OleDbPermission.cs: compilation fixes.
532
533 2002-07-30  Rodrigo Moya <rodrigo@ximian.com>
534
535         * System.Data.OleDb/OleDbDataReader.cs (FieldCount): implemented.
536         (IsClosed, Item, RecordsAffected): implemented some properties.
537
538         * libgda.cs: added GdaDataModel methods.
539
540 2002-07-29  Rodrigo Moya <rodrigo@ximian.com>
541
542         * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader constructor): changed to receive
543         a second argument (ArrayList results).
544         (NextResult): implemented.
545
546         * System.Data.OleDb/OleDbCommand.cs: don't store the ArrayList of results, since we'll
547         pass that to the OleDbDataReader.
548         (OleDbCommand constructor): don't create the ArrayList of results.
549         (GdaResults): removed property.
550         (ExecuteReader): create a temporary ArrayList and pass that to the
551         OleDbDataReader constructor.
552
553 2002-07-28  Rodrigo Moya <rodrigo@ximian.com>
554
555         * System.Data.OleDb/OleDbCommand.cs (ExecuteReader):
556         (CreateParameter): implemented IDbCommand methods.
557         (CommandText): don't create many GdaCommand's, only one is needed.
558         (ExecuteNonQuery): set up the internal GDA command object.
559         (ExecuteReader): use correctly the unique GDA command object.
560
561         * System.Data.OleDb/libgda.cs: added new libgda calls.
562
563 2002-07-27  Rodrigo Moya <rodrigo@ximian.com>
564
565         * System.Data.OleDb/OleDbConnection.cs (CreateCommand):
566         (BeginTransaction): implemented IDbConnection methods.
567
568 2002-07-12  Rodrigo Moya <rodrigo@ximian.com>
569
570         * list: added System.Data.OleDb files to file list.
571
572 2002-07-11  Rodrigo Moya <rodrigo@ximian.com>
573
574         * System.Data.OleDb/libgda.cs: added new libgda functions and some enumerations.
575
576         * System.Data.OleDb/OleDbParameter.cs (IsNullable): removed explicit implementation
577         of the set method for this property.
578
579         * System.Data.OleDb/OleDbDataAdapter.cs (MissingMappingAction): implemented.
580         (MissingSchemaAction): implemented.
581
582 2002-07-10  Tim Coleman <tim@timcoleman.com>
583         
584         * System.Data.OleDb/OleDbCommandBuilder.cs: Added new methods, properties
585         * System.Data.OleDb/OleDbConnection.cs: Modified constructor
586         * System.Data.OleDb/OleDbError.cs: Added stubbs
587         * System.Data.OleDb/OleDbException.cs: Added stubbs
588         * System.Data.OleDb/OleDbInfoMessageEventArgs.cs: Added stubbs
589         * System.Data.OleDb/OleDbInfoMessageEventHandler.cs: style change
590         * System.Data.OleDb/OleDbParameter.cs: Added conversion from type to OleDbType
591         * System.Data.OleDb/OleDbPermission.cs: Added stubbs
592         * System.Data.OleDb/OleDbSchemaGuid.cs: Added stubbs
593         * System.Data.OleDb/OleDbTransaction.cs: New constructors, changes to methods to
594         support transaction nesting
595         * System.Data.OleDb/libgda.cs: Added my name to this file
596
597 2002-07-09  Tim Coleman <tim@timcoleman.com>
598         
599         * System.Data.OleDb/OleDbCommand.cs: Style changes, added new methods
600         * System.Data.OleDb/OleDbConnection.cs: Style changes, added new methods
601         * System.Data.OleDb/OleDbDataAdapter.cs: Implementation
602         * System.Data.OleDb/OleDbDataReader.cs: Added stubbs
603         * System.Data.OleDb/OleDbErrorCollection.cs: Added stubbs, some implementation
604         * System.Data.OleDb/OleDbParameter.cs: Style changes, added new methods
605         * System.Data.OleDb/OleDbParameterCollection.cs: Style changes, added new methods
606         * System.Data.OleDb/OleDbPermissionAttribute.cs: Style changes, added new methods
607         * System.Data.OleDb/OleDbRowUpdatedEventArgs.cs: Added stubbs
608         * System.Data.OleDb/OleDbRowUpdatingEventArgs.cs: Added stubbs
609         * System.Data.OleDb/OleDbTransaction.cs: Style changes, added new methods
610         * System.Data.OleDb/OleDbType.cs: Fixed two typos
611         * System.Data.OleDb/libgda.cs: Style changes, added new methods
612
613 2002-07-09  Tim Coleman <tim@timcoleman.com>
614         
615         * System.Data.build: remove restriction on System.Data.OleDb build
616
617 2002-06-03  Rodrigo Moya <rodrigo@ximian.com>
618
619         * System.Data.OleDb/OleDbParameterCollection.cs (GetEnumerator, SyncRoot,
620         IsSynchronized): implemented.
621
622 2002-06-02  Rodrigo Moya <rodrigo@ximian.com>
623
624         * System.Data.OleDb/OleDbTransaction.cs (Dispose): added missing method.
625
626         * System.Data.OleDb/OleDbCommand.cs (Clone): added missing methods.
627         (Parameters, Transaction, Connection): made these overload
628         IDbCommand's ones.
629
630         * System.Data.OleDb/OleDbParameterCollection.cs (IndexOf, Remove, RemoveAt):
631         call m_list methods, not own ones.
632
633         * System.Data.OleDb/OleDbParameter.cs: more implementation.
634         
635 2002-06-02  Rodrigo Moya <rodrigo@ximian.com>
636
637         * System.Data.OleDb/OleDbTransaction.cs (Connection, IsolationLevel, Begin,
638         Commit, Rollback): implemented.
639         (GdaConnection): added new internal property.
640
641         * System.Data.OleDb/OleDbParameter.cs:
642         * System.Data.OleDb/OleDbParameterCollection.cs: implemented some methods and
643         properties.
644
645         * System.Data.OleDb/libgda.cs: added yet more libgda API functions.
646
647 2002-06-01  Rodrigo Moya <rodrigo@ximian.com>
648
649         * System.Data.OleDb/libgda.cs: added new libgda API functions.
650
651         * System.Data.OleDb/OleDbConnection.cs (Provider): implemented.
652         (BeginTransaction): made it overload IDbConnection methods.
653         (ChangeDatabase): new stub, needs some work on libgda for being
654         implemented.
655         (Clone): new stub.
656         (Close): implemented.
657         (CreateCommand): implemented.
658         (GetOleDbSchemaTable): new stub, until I understand what to do here.
659         (Open): implemented basic stuff, which is just supporting connection
660         strings that represent a GDA data source name. More to come.
661         (InfoMessage, StateChange): added events.
662
663         * System.Data.OleDb/TestOleDb.cs: test program for System.Data.OleDb.
664
665 2002-05-29  Rodrigo Moya <rodrigo@ximian.com>
666
667         * System.Data.OleDb/libgda.cs: added static constructor.
668         (GdaClient): new static property to get the underlying GdaClient
669         object.
670
671         * System.Data.OleDb/OleDbConnection.cs: removed GDA initialization, which belongs to
672         the static 'libgda' class.
673
674 2002-05-29  Rodrigo Moya <rodrigo@ximian.com>
675
676         * System.Data.OleDb/libgda.cs: static class for libgda API calls.
677
678         * System.Data.OleDb/OleDbConnection.cs: implemented constructors.
679         (ConnectionString, Connectiontimeout, Database, State):
680         implemented class properties.
681         (BeginTransaction): implemented.
682
683         * System.Data.OleDb/OleDbTransaction.cs: implemented protected constructors.
684
685         * System.Data.OleDb/TestGDA.cs: simple test for libgda API.
686
687 2002-05-27  Rodrigo Moya <rodrigo@ximian.com>
688
689         * System.Data.OleDb/*: started System.Data.OleDb provider, based on libgda.
690
691 2002-06-06  Rodrigo Moya <rodrigo@ximian.com>
692
693         * list: added missing PostgresTypes.cs file.
694
695 2002-06-02  Francisco Jr. <fxjrlists@yahoo.com.br>
696
697         * System.Data.SqlClient/SqlParameterCollection.cs: implemented missing
698         methods.
699
700 2002-05-30  Daniel Morgan <danmorg@sc.rr.com>
701
702         * System.Data.SqlClient/SqlConnection.cs: modifed -
703         start to implement the interfaces properly and
704         properly doing a Close(), Dispose(), and 
705         releasing resources
706         
707         * Test/SqlSharpCli.cs: modified -
708         add support for MySQL in Mono.Data.MySql
709         and OleDb support in System.Data.OleDb.  However,
710         the OleDb support is commented right now.
711         When the program starts up, a shorter help menu should
712         display the most important commands: help and quit
713
714 2002-05-28  Rodrigo Moya <rodrigo@ximian.com>
715
716         * System.Data.build: exclude System.Data.OleDb files.
717
718 2002-05-27  Daniel Morgan <danmorg@sc.rr.com>
719
720         * System.Data.SqlClient/SqlCommand.cs: typo
721         should be CommandBehavior.KeyInfo
722         
723         * Test/SqlSharpCli.cs: refactored and added a few more
724         features.
725
726 2002-05-27  Tim Coleman <tim@timcoleman.com>
727         * list: update to compile properly (add missing
728         files and switch path delimiter from '\' to '/').
729
730 2002-05-26  Daniel Morgan <danmorg@sc.rr.com>
731
732         * System.Data/DataRow.cs
733         * System.Data.Common/DbDataAdapter.cs: fix to
734         get Test/TestSqlDataAdapter.cs to work again
735         
736         * Test/TestSqlDataAdapter.cs: removed comment
737         about SqlDataReader:NextResult() not being implemented; it
738         bas been implemented
739
740 2002-05-26  Daniel Morgan <danmorg@sc.rr.com>
741
742         * System.Data/DataRow.cs: modified
743         support setting of DBNull.Value
744         using the Item indexer this[DataColumn]
745         
746         * System.Data.SqlClient/SqlCommand.cs: modified
747         tweaks to show TODO's for other CommandBehavior.
748         Set AllowDBNull column to true for IsKey row 
749         in schema DataTable.
750         
751         * System.Data.SqlClient/SqlConnection.cs: modified
752         if transaction is in progress when a Close() is called,
753         do a transaction Rollback.
754
755 2002-05-26  Daniel Morgan <danmorg@sc.rr.com>
756
757         * Test/SqlSharpCli.cs: added file
758         My new toy.  SQL# is a command-line tool to enter
759         SQL     commands and queries using Mono System.Data.
760         It also serves as a test for Mono System.Data.
761         
762         * System.Data.SqlClient/SqlCommand.cs: modified
763         - ExecuteNonQuery(), ExecuteScalar(), and ExecuteReader()
764         should handle the results from SQL Commands and Queries.
765         - Internal class SqlResult should not create schema Table
766         for the result from a SQL Command.  Also, set the RecordsRetrieved
767         property for SqlDataReader.
768         - Closing the SqlDataReader should Close() the SqlConnection for
769         a CommandBehavior.CloseConnection.
770         - Set defaults for SqlResult
771         
772         * System.Data.SqlClient/SqlConnection.cs: modified - 
773         when SqlDataReader is Close()
774         should Close() the SqlConnection for
775         a CommandBehavior.CloseConnection.  Changed internal Property
776         from OpenReader get/set to IsReaderOpen get and created
777         internal methods OpenReader()/CloseReader() for SqlCommand to call.
778         SqlConnection needs to be prevented from doing while SqlDataReader
779         is being used.
780         
781         * System.Data.SqlClient/SqlDataReader.cs: modified -
782         call SqlCommand's OpenReader() internal method.  get
783         RecordsRetrieved from SqlResult.  set/reset default
784         values for SqlDataReader.
785         
786         * Test/PostgresTest.cs
787         * Test/TestExecuteScalar.cs
788         * Test/TestSqlDataReader.cs: modified
789         for the Execute...() methods in SqlCommand
790         to test SQL Queries and Commands
791         
792         * Test/System.Data_test.build: modified
793         exclude new file Test/SqlSharpCli.cs from 
794         test build
795         
796 2002-05-24  Tim Coleman <tim@timcoleman.com>
797         * System.Data.Common/DbDataAdapter.cs: remove IDbCommands, except
798         for get accessors.  These should be implemented in derived classes.  See
799         SqlDataAdapter for clues.
800         * System.Data.SqlClient/SqlDataAdapter.cs: implement IDbDataAdapter
801         * System.Data.Common/DataAdapter.cs:
802         * System.Data.Common/DataTableMappingCollection.cs:
803         * System.Data.Common/DataTableMapping.cs:
804         * System.Data.Common/DataColumnMappingCollection.cs:
805         * System.Data.Common/DataColumnMapping.cs:
806         Properly (I hope!) implement all of the appropriate interfaces
807         for these classes.  
808
809
810 2002-05-23  Tim Coleman <tim@timcoleman.com>
811         * System.Data.SqlClient/SqlCommand.cs: include
812         the BaseColumnName in the schema table.  Was missed before.
813         * System.Data.Common/DbDataAdapter.cs: Use DataTable
814         mappings so that the DataSet and DataTable are more closely tied.
815         Get schema information from the DataTable using GetSchemaTable ()
816         Various other little fixes
817         * System.Data.Common/DataColumnMappingCollection.cs:
818         * System.Data.Common/DataTableMapping.cs:
819         * System.Data.Common/DataTableMappingCollection.cs: Some
820         implementation, enough to be used by DbDataAdapter.
821
822 2002-05-23  Daniel Morgan <danmorg@sc.rr.com>
823
824         * System.Data.SqlClient/SqlCommand.cs: set
825         the "ProviderType" to the PostgreSQL type oid
826         
827         * System.Data.SqlClient/SqlDataReader.cs: fix
828         for various properties and methods that 
829         return meta data: Item indexers this[name] and this[index],
830         GetFieldType, GetName, and GetOrdinal.  SqlDataAdapter
831         should work again.
832
833 2002-05-22  Daniel Morgan <danmorg@sc.rr.com>
834
835         * System.Data/DataRow.cs: change suggested
836         by tim: in Item indexer, do an EndEdit()
837         
838         * System.Data.SqlClient/SqlCommand.cs: more
839         fixes to SqlResult.  After setting each item in
840         the DataRow, do an AcceptChanges() to commit
841         the changes in the DataRow.  For DataType, use a Type
842         of System.String since System.Type nor System.Object
843         seems to work.
844         
845         * Test/TestSqlDataReader.cs
846         * Test/PostgresTest.cs: updated to to be on
847         the way schema table is suppose to work
848
849 2002-05-22  Daniel Morgan <danmorg@sc.rr.com>
850
851         * System.Data.SqlClient/SqlCommand.cs: more work on 
852         building the schema table
853
854 2002-05-22  Tim Coleman <tim@timcoleman.com>
855         * System.Data.SqlClient/SqlCommand.cs: preliminary work
856         on getting the schema table correctly built.
857
858 2002-05-21  Daniel Morgan <danmorg@sc.rr.com>
859
860         * System.Data.SqlClient/ParmUtil.cs: added file - to
861         provide utility for conversion of input parameters
862         
863         * System.Data.SqlClient/PostgresTypes.cs: added file - 
864         moved the PostgreHelper class to here.  May eventually
865         move the internal class PostgresTypes that's inside the 
866         SqlConnection to here as well.  
867         Handling of PostgreSQL <-> .NET types need to be though
868         out more. Also, the PostgreHelper has a method to convert
869         from .NET types to a string which can be put into used in
870         an SQL statement to execute against a PostgreSQL database.
871         This is the beginnings of parameters support.  It currently
872         only supports input parameters.  Still need to do output,
873         input/output, and return parameters.
874         
875         * Test/TestSqlParameters.cs: new test to test the input
876         parameters in System.Data.SqlClient against a 
877         PostgreSQL db.
878         
879         * System.Data.SqlClient/PostgresLibrary.cs: moved 
880         PostgresHelper class to file PostgresTypes.cs.  Also 
881         moved struct PostgresType there too.
882         
883         * System.Data.SqlClient/SqlCommand.cs: added input 
884         parameters support
885         
886         * System.Data.SqlClient/SqlParameter.cs: got 
887         SqlParameter to work
888         
889         * System.Data.SqlClient/SqlParameterCollection.cs: got 
890         SqlParameterCollection to work
891         
892         * Test/System.Data_test.build: added files to exclude 
893         from test build
894         
895         * System.Data.SqlClient/SqlConnection.cs: release resources
896         no longer used
897
898 2002-05-18  Daniel Morgan <danmorg@sc.rr.com>
899
900         * System.Xml: added directory for classes with namespace
901         System.Xml to go into the System.Data.dll assembly
902         
903         * System.Xml/XmlDataDocument: added file
904         for stubbed concrete class XmlDataDocument which 
905         inherits from XmlDocument.  Its purpose is to provide
906         a W3C XML DOM Document for relational data and interacting
907         with a DataSet
908
909 2002-05-18  Daniel Morgan <danmorg@sc.rr.com>
910
911         * System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
912         Text, TableDirect, and StoredProcedure
913         
914         * Test/PostgresTest.cs: changed call to version() 
915         stored procedure to use the CommandType of StoredProcedure
916         
917         * Test/TestSqlDataReader.cs: test all the CommandTypes
918
919 2002-05-18  Daniel Morgan <danmorg@sc.rr.com>
920
921         * System.Data.build: took out all excluded
922         files except the ones in the Test directory
923         because all files compile now.  It does not
924         mean they all work or have implementations
925         though.
926         
927         * System.Data/DataRelationCollection.cs
928         * System.Data/DataTableRelationCollection.cs
929         * System.Data/InternalDataCollectionBase.cs
930         * System.Data.Common/DbDataPermission.cs
931         * System.Data.SqlClient/SqlInfoMessageEventArgs.cs
932         * System.Data.SqlClient/SqlClientPermission.cs
933         * System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
934         to get all System.Data* files to compile.
935         
936         * System.Data.SqlClient/SqlCommand.cs: started coding
937         to prevent SqlConnection and SqlCommand from doing
938         anyting while fetching data using SqlDataReader.  Also,
939         started coding to undo this prevention once the 
940         SqlDataReader is closed.
941         
942         * System.Data.SqlClient/SqlConnection.cs: get database server
943         version.  Started coding to prevent connection from 
944         doing anything while fetching data and undo once the reader 
945         is closed.  Include events SqlInfoMessage and StateChange.
946         
947         * System.Data.SqlClient/SqlDataReader.cs: start coding to
948         prevent connection and command from doing anything while
949         fetching data, and undo when closed.
950         
951         * Test/PostgresTest.cs: added test to get ServerVersion
952         property from SqlConnection
953
954 2002-05-18  Tim Coleman <tim@timcoleman.com>
955         * System.Data/DataRow.cs: More implementation,
956         as well as boundary checks and small semantic
957         repairs
958
959 2002-05-18  Tim Coleman <tim@timcoleman.com>
960         * System.Data/DataRow.cs: Try to reduce memory
961         usage by only creating the original and proposed
962         arrays as required in BeginEdit, and then destroying
963         proposed during EndEdit, and original during AcceptChanges.
964         * System.Data.Common/DbDataAdapter.cs: Make the
965         startRecord and maxRecords parameters work correctly.
966
967 2002-05-18  Tim Coleman <tim@timcoleman.com>
968         * System.Data/DataRow.cs: Move the null check in
969         ItemArray set to above the Invalid Cast check, so
970         that we don't get null reference exceptions.
971
972 2002-05-17  Daniel Morgan <danmorg@sc.rr.com>
973
974         * System.Data.SqlClient/PostgresLibrary.cs: handle
975         data value from database being NULL
976         
977         * System.Data.SqlClient/SqlCommand.cs: for ExecuteReader, 
978         allow multiple result sets.  Added new internal class
979         SqlResult to pass result set data from SqlCommand
980         to SqlDataReader.
981         
982         * System.Data.SqlClient/SqlDataReader.cs: allow
983         multiple result sets.
984         
985         * System.Data.SqlClient/SqlConnection.cs: moved 
986         things around.  Implement IDisposable.
987         
988         * Test/TestSqlDataReader.cs: test for execution
989         of multiple result sets and display the results
990         of these multiple results sets
991         
992         * Test/TestSqlDataAdapter.cs: tweaks
993
994 2002-05-17  Tim Coleman <tim@timcoleman.com>
995         * System.Data.Common/DbDataAdapter.cs:
996                 - More implementation of Fill methods
997                 - Get rid of isDirty flag, because we can just check
998                         if the table exists
999                 - Do *not* remove DataTables before Filling them
1000                 - Implicitly open the connection before doing a Fill
1001                         if it does not exist.
1002         * System.Data.SqlClient/SqlDataAdapter.cs:
1003                 - Minor fixup
1004         * System.Data/DataTableCollection.cs:
1005                 - Add DataSet to internal, undocumented constructor
1006                 - When a table is created, set its DataSet property
1007                 - Default table name for creation is "Table1" (see .NET)
1008                 - Inherit the ArrayList list from InternalDataCollecitonBase
1009                         and maintain a hashtable between table names and
1010                         DataTables
1011         * System.Data/DataTable.cs:
1012                 - Add internal dataSet field.  This is used by 
1013                         DataTableCollection when the DataTable is constructed.
1014         * System.Data/DataSet.cs:
1015                 - Pass a reference to the DataSet when constructing the
1016                         DataTableCollection.
1017
1018 2002-05-16  Tim Coleman <tim@timcoleman.com>
1019         * System.Data.Common/DbDataAdapter.cs:
1020                 Use table.Rows.Add (itemArray) instead of
1021                 table.Rows.Add (thisRow) to provide better
1022                 abstraction.
1023         * System.Data/DataRowCollection.cs:
1024                 Some implementation of this class.
1025         * System.Data/InternalDataCollectionBase.cs:
1026                 Some implementation.  Most notably, this now
1027                 has an enumerator so we can use foreach (DataRow row in table.Rows)
1028                 in the test classes.
1029         * System.Data/DataTable.cs:
1030                 Since DataRowCollection now accepts a DataTable in
1031                 its internal constructor, we must pass one in.
1032
1033 2002-05-16  Daniel Morgan <danmorg@sc.rr.com>
1034
1035         * Test/TestSqlDataAdapter.cs: added new test 
1036         for SqlDataAdapter, DataSet, DataTableCollection, DataTable, 
1037         DataRowCollection, and DataRow.  It tests retrieving data
1038         based on a SQL SELECT query.  This test is based on Tim Coleman's
1039         test he sent to me.
1040
1041 2002-05-16  Tim Coleman <tim@timcoleman.com>
1042         * System.Data.Common/DbDataAdapter.cs:
1043                 Use table.Rows.Add (thisRow) instead of 
1044                 table.ImportRow (thisRow)
1045         * System.Data/DataRowCollection.cs:
1046                 Construct the ArrayList before using it
1047
1048 2002-05-16  Tim Coleman <tim@timcoleman.com>
1049         * System.Data/DataTable.cs:
1050                 Construct the DataRowCollection in the DataTable
1051                 constructor.  Otherwise, it's a null reference.
1052
1053 2002-05-16  Tim Coleman <tim@timcoleman.com>
1054         * System.Data.SqlClient/SqlDataReader.cs:
1055                 Modify GetValues to use Array.Copy() to copy
1056                 the results from fields to values, rather than
1057                 an assignment, which results in loss of data.
1058
1059 2002-05-16  Tim Coleman <tim@timcoleman.com>
1060         * System.Data/DataRow.cs:
1061                 More implementation and documentation.  It should
1062                 work more like expected, although there is no way
1063                 to demonstrate this well yet.  DataTable requires
1064                 more work.
1065
1066 2002-05-15  Tim Coleman <tim@timcoleman.com>
1067         * System.Data/DataRow.cs:
1068                         Minor tweaks as I determine exactly how to
1069                                         implement this class.
1070
1071
1072 2002-05-14  Duncan Mak  <duncan@ximian.com>
1073
1074         * System.Data/DataTable.cs (NewRow): Added missing paren to fix build.
1075
1076 2002-05-14  Tim Coleman
1077         * System.Data/DataRow.cs:
1078         * System.Data/DataRowBuilder.cs:
1079         * System.Data/DataTable.cs:
1080                 More implementation of these classes.  DataRow
1081                 can now (possibly) do some useful things.
1082                 Still not sure what DataRowBuilder is all about,
1083                 other than passing a DataTable in.
1084
1085 2002-05-14  Tim Coleman
1086         * System.Data/DataRowBuilder.cs:
1087                 Add stubb for this internal class.
1088
1089 2002-05-13  Tim Coleman
1090         * System.Data.Common/DbDataAdapter.cs:
1091                 The maxRecords check was not correct.
1092
1093 2002-05-13  Tim Coleman
1094         * System.Data/DataTableCollection.cs:
1095                 Fix an issue when adding a DataTable and size == 0.
1096                 Now explicitly checks if size > 0 before doing Array.Copy ()
1097         * System.Data.Common/DbDataAdapter.cs:
1098                 Move closer to a working implementation.
1099                 Make the IDbCommand fields protected so that they can
1100                 be inherited.
1101         * System.Data.SqlClient/SqlDataAdapter.cs:
1102                 This should inherit the IDbCommands instead of having its
1103                 own.  An explicit cast is used to force conversion between
1104                 IDbCommand and SqlCommand
1105
1106 2002-05-13  Tim Coleman
1107         * System.Data.Common/DataTableMappingCollection.cs:
1108                 Some implementation to allow progress with DbDataAdapter
1109
1110 2002-05-13  Tim Coleman
1111         * System.Data.Common/DbDataAdapter.cs:
1112                 Modify to not break compile.
1113
1114 2002-05-13  Tim Coleman
1115         * System.Data.build:
1116                 include SqlDataAdapter, SqlRowUpdatedEventArgs,
1117                 SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
1118                 SqlRowUpdatingEventHandler in the build.
1119
1120 2002-05-13  Tim Coleman
1121         * System.Data.Common/DbDataAdapter.cs:
1122                 More implementation.
1123         * System.Data.Common/DataAdapter.cs:
1124                 Correction of some of the stubbing, as well as a
1125                 little bit more implementation
1126
1127 2002-05-11  Tim Coleman
1128         * System.Data.SqlClient/SqlDataAdapter.cs:
1129         * System.Data.Common/DbDataAdapter.cs:
1130                 Moved methods that weren't supposed to 
1131                 be in SqlDataAdapter out.  They should be implemented
1132                 in DbDataAdapter.
1133         
1134
1135 2002-05-11  Tim Coleman
1136         * System.Data.SqlClient/SqlDataAdapter.cs:
1137                 some implementation of this class.  Note
1138                 that none of the functionality has been
1139                 tested yet, but I felt it should be checked
1140                 in at this point as it compiles.
1141         * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
1142         * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
1143                 Modified so that they will compile properly.
1144                 Needed to include SqlDataAdapter in the build.
1145
1146 2002-05-11  Rodrigo Moya <rodrigo@ximian.com>
1147
1148         * System.Data/DataTable.cs (Clear): implemented.
1149         (DataTable): removed repeated code in constructors, and call the
1150         basic constructor from the others.
1151
1152         * System.Data/DataColumn.cs: some tweaks.
1153
1154         * System.Data/DataRow.cs (RowState): implemented.
1155         (CancelEdit): set rowState property back to Unchanged.
1156         (RejectChanges): call CancelEdit.
1157         (Delete): set rowState to Deleted.
1158
1159 2002-05-11  Daniel Morgan <danmorg@sc.rr.com>
1160
1161         * System.Data.build: added copy of System.Data.dll to Test directory
1162         for easy testing.  Also, added clean for it too.
1163         
1164         * System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
1165         from PostgreSQL data type to .NET type.
1166         
1167         * System.Data.SqlClient/SqlDataReader.cs: beginnings
1168         handling of a NULL value from the database
1169         
1170         * Test/PostgresTest.cs: added tests for NULL values retrieved
1171         from the database
1172         
1173         * Test/ReadPostgresData.cs
1174         * Test/TestExecuteScalar.cs
1175         * Test/TestSqlDataReader.cs
1176         * Test/TestSqlException.cs
1177         * Test/TestSqlIsolationLevel.cs: updated tests to use databas user
1178         "postgres".  These tests may eventually be removed since they
1179         are not flexible.
1180
1181 2002-05-10  Rodrigo Moya <rodrigo@ximian.com>
1182
1183         * System.Data.build: removed reference to non-existant
1184         TestDataColumn.cs file.
1185
1186         * System.Data/DataSet.cs: added some implementation.
1187
1188 2002-05-09  Daniel Morgan <danmorg@sc.rr.com>
1189
1190         * System.Data.SqlClient/PostgresLibrary.cs: got
1191         PostgreSQL data types time, date, timestamp (DateTime like)
1192         mapped to .NET System.DateTime working based 
1193         on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
1194         Also mapped pg type boolean to .net Boolean
1195         
1196         * SqlClient/SqlConnection.cs: run SQL command to set
1197         Date style to ISO
1198         
1199         * Test/PostgresTest.cs: added test for an UPDATE SQL command,
1200         added tests for aggregates min(), max(), sum(), count().  could
1201         not get avg() to work due to some formatting error; someone claimed
1202         that it was my locale settings.  added tests for SELECT of columns
1203         of type boolean, float, double, date, time, and timestamp.  They
1204         have not been fully tested, but its a start.
1205
1206 2002-05-09  Tim Coleman <tim@timcoleman.com>
1207         * System.Data.SqlTypes/SqlDecimal.cs: Implementations of 
1208         addition, subtraction, and multiplication for the
1209         SqlDecimal type, as well as modification of some other
1210         operations.  More to come on this one.
1211
1212 2002-05-08  Rodrigo Moya <rodrigo@ximian.com>
1213
1214         * Test/System.Data_test.build: excluded TestDataColumn, which
1215         should be replaced with a nunit test.
1216
1217         * Test/TestDataColumn.cs: added basic test for DataColumn.cs.
1218
1219 2002-05-07  Tim Coleman <tim@timcoleman.com>
1220         * SqlBinary.cs:
1221         * SqlBoolean.cs:
1222         * SqlByte.cs:
1223         * SqlDateTime.cs:
1224         * SqlDecimal.cs:
1225         * SqlDouble.cs:
1226         * SqlGuid.cs:
1227         * SqlInt16.cs:
1228         * SqlInt32.cs:
1229         * SqlInt64.cs:
1230         * SqlMoney.cs:
1231         * SqlSingle.cs:
1232         * SqlString.cs:
1233                 Fix the broken build I made before.  Bad
1234                 me.
1235
1236 2002-05-07  Tim Coleman <tim@timcoleman.com>
1237         * SqlString.cs:
1238                 Fix a symantic error I made in SqlString
1239                 Equals where I copied and pasted wrongly
1240
1241 2002-05-07  Tim Coleman <tim@timcoleman.com>
1242         * INullable.cs:
1243         * SqlBinary.cs:
1244         * SqlBoolean.cs:
1245         * SqlByte.cs:
1246         * SqlCompareOptions.cs:
1247         * SqlDateTime.cs:
1248         * SqlDecimal.cs:
1249         * SqlDouble.cs:
1250         * SqlGuid.cs:
1251         * SqlInt16.cs:
1252         * SqlInt32.cs:
1253         * SqlInt64.cs:
1254         * SqlMoney.cs:
1255         * SqlSingle.cs:
1256         * SqlString.cs:
1257                 Implement CompareTo, Equals, and String conversions 
1258                 for many types
1259
1260 2002-05-05  Daniel Morgan <danmorg@sc.rr.com>
1261
1262         * Test/PostgresTest.cs: modified to run completely.  There
1263         are many TODOs in System.Data, so not all data types are
1264         included in the SELECT SQL query.  Also, I made it to where
1265         it would connect 
1266         using "host=localhost;dbname=test;user=postgres"
1267         instead of my userid and password.  When more types are included,
1268         update this test.
1269
1270 2002-05-05  Daniel Morgan <danmorg@sc.rr.com>
1271
1272         * Test/PostgresTest.cs: added - ported
1273         libgda postgres-test.c originally by 
1274         Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
1275         to C#.
1276
1277 2002-05-05  Tim Coleman <tim@timcoleman.com>
1278         * System.Data.SqlTypes/SqlBinary.cs:
1279         * System.Data.SqlTypes/SqlBoolean.cs:
1280         * System.Data.SqlTypes/SqlByte.cs:
1281         * System.Data.SqlTypes/SqlDateTime.cs:
1282         * System.Data.SqlTypes/SqlDecimal.cs:
1283         * System.Data.SqlTypes/SqlDouble.cs:
1284         * System.Data.SqlTypes/SqlGuid.cs:
1285         * System.Data.SqlTypes/SqlInt16.cs:
1286         * System.Data.SqlTypes/SqlInt32.cs:
1287         * System.Data.SqlTypes/SqlInt64.cs:
1288         * System.Data.SqlTypes/SqlMoney.cs:
1289         * System.Data.SqlTypes/SqlSingle.cs:
1290         * System.Data.SqlTypes/SqlString.cs:
1291                 More implementation, and code clean-up for consistency.
1292                 Also, I had implemented many conversions as explicit
1293                 that should have been implicit.  This should remove
1294                 many of the red X's and green pluses from the 
1295                 System.Data.SqlTypes namespace.
1296
1297 2002-05-05  Miguel de Icaza  <miguel@ximian.com>
1298
1299         * System.Data/DataSet.cs: Remove [Serializable] attributes from
1300         methods, those only apply to structs or classes.
1301
1302         Stub out ISerializable, ISupportInitialize, and IListSource methods 
1303         
1304         * System.Data/DataRowView.cs: Stub out interface methods for
1305         IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
1306
1307         * System.Data/DataView.cs: Comment out non-implemented
1308         interfaces. 
1309
1310         * System.Data/DataViewSettingsCollection.cs: Type cast variables
1311         to the correct type to make it compile.
1312
1313         * System.Data/DataViewSettings.cs: remove reference to
1314         non-existance type ApplyDefaultSort, it is a boolean.
1315         
1316
1317 2002-05-05  Tim Coleman <tim@timcoleman.com>
1318         * System.Data.SqlTypes/SqlBinary.cs:
1319         * System.Data.SqlTypes/SqlBoolean.cs:
1320         * System.Data.SqlTypes/SqlByte.cs:
1321         * System.Data.SqlTypes/SqlDecimal.cs:
1322         * System.Data.SqlTypes/SqlDouble.cs:
1323         * System.Data.SqlTypes/SqlGuid.cs:
1324         * System.Data.SqlTypes/SqlInt16.cs:
1325         * System.Data.SqlTypes/SqlInt32.cs:
1326         * System.Data.SqlTypes/SqlInt64.cs:
1327         * System.Data.SqlTypes/SqlMoney.cs:
1328         * System.Data.SqlTypes/SqlSingle.cs:
1329         * System.Data.SqlTypes/SqlString.cs:
1330                 Various fixes, including adding the SqlNullValueException
1331                 when trying to retrieve the value of a null SqlType,
1332                 and when casting values, a Null of type A converts to a
1333                 Null of type B.
1334
1335 2002-05-04  Daniel Morgan <danmorg@sc.rr.com>
1336         
1337         * System.Data.SqlClient/PostgresLibrary.cs
1338         * System.Data.SqlClient/SqlCommand.cs
1339         * System.Data.SqlClient/SqlConnection.cs
1340         * System.Data.SqlClient/SqlDataReader.cs
1341         oid should not be hard coded because they
1342         can change from one version of PostgreSQL
1343         to the next.  Use the typname's instead.
1344         The PostgreSQL type data retrieves
1345         at database connection time.  Any unimplemented
1346         types just default to string.  These were things
1347         suggested by Gonzalo.
1348         
1349         * Test/ReadPostgresData.cs - stuff
1350         * Test/TestSqlDataReader.cs - stuff
1351         
1352         * System.Data.SqlTypes/SqlInt32.cs - added a using
1353
1354 2002-05-03  Tim Coleman <tim@timcoleman.com>
1355         * System.Data.build: Fix the build so that test depends on build
1356
1357 2002-05-03  Tim Coleman <tim@timcoleman.com>
1358         * System.Data.SqlTypes/SqlByte.cs:
1359         * System.Data.SqlTypes/SqlDateTime.cs:
1360         * System.Data.SqlTypes/SqlDecimal.cs:
1361         * System.Data.SqlTypes/SqlDouble.cs:
1362         * System.Data.SqlTypes/SqlGuid.cs:
1363         * System.Data.SqlTypes/SqlInt16.cs:
1364         * System.Data.SqlTypes/SqlInt64.cs:
1365         * System.Data.SqlTypes/SqlMoney.cs:
1366         * System.Data.SqlTypes/SqlSingle.cs:
1367                 These files were mysteriously excluded from the last
1368                 patch I made and sent to Rodrigo
1369         * System.Data.build: include the System.Data.SqlTypes in the build
1370
1371 2002-05-03  Daniel Morgan <danmorg@sc.rr.com>
1372
1373         * System.Data.build: removed comments
1374
1375         * System.Data.SqlClient/PostgresLibrary.cs: changed
1376         the hard-coded PostgreSQL oid type int's to using an
1377         enum.  Also, added PostgreSQL bpchar (character) type.
1378         
1379         * Test/TestSqlDataReader.cs: updated test
1380         to include new bpchar PostgreSQL type
1381
1382 2002-05-03  Rodrigo Moya <rodrigo@ximian.com>
1383
1384         * System.Data.SqlTypes/SqlBinary.cs:
1385         * System.Data.SqlTypes/SqlBoolean.cs:
1386         * System.Data.SqlTypes/SqlInt32.cs:
1387         * System.Data.SqlTypes/SqlString.cs: more implementation, by
1388         Tim Coleman <tcoleman@opentext.com>.
1389
1390 2002-05-03  Daniel Morgan <danmorg@sc.rr.com>
1391
1392         * Test/TestExecuteScalar.cs: added test for 
1393         method ExecuteScalar in class SqlCommand.
1394         
1395         * System.Data/DataColumnCollection.cs - it should
1396         inherit properties from base InternalDataCollectionBase
1397         and use them instead of overriding them, such as, List.
1398         
1399         * System.Data/DataColumn.cs
1400         * System.Data/DataTable.cs: tweaks to retrieve
1401         meta data from the database
1402         
1403         * System.Data.SqlClient/PostgresLibrary.cs -
1404         added method OidToType to convert PostgreSQL oid type 
1405         to System.Type.  Renamed method OidTypeToSystem
1406         to ConvertPgTypeToSystem for converting the data value
1407         from a PostgreSQL type to a .NET System type.
1408         
1409         * System.Data.SqlClient/SqlCommand.cs: implemented
1410         method ExecuteReader which returns a SqlDataReader
1411         for a light forward only read only result set. 
1412         It works on types int4 ==> Int32 and 
1413         varchar ==> String.  Other types
1414         will come later.
1415         
1416         * System.Data.SqlClient/SqlConnection.cs: added comment
1417         
1418         * System.Data.SqlClient/SqlDataReader.cs: implemented
1419         class.  It works, but still lots to do.
1420         
1421         * Test/ReadPostgresData.cs: stuff
1422         
1423         * Test/TestSqlDataReader.cs: updated test for SqlDataReader
1424         to display meta data and the data
1425         
1426 2002-05-03  Duncan Mak  <duncan@ximian.com>
1427
1428         * TODO: Took out all the Exceptions. They should be all done now.
1429
1430         * System.Data/ConstraintException.cs: 
1431         * System.Data/DBConcurrencyException.cs:
1432         * System.Data/DataException.cs: 
1433         * System.Data/DeletedRowInaccessibleException.cs: 
1434         * System.Data/DuplicateNameException.cs:
1435         * System.Data/EvaluateException.cs: 
1436         * System.Data/InRowChangingEventException.cs: 
1437         * System.Data/InvalidConstraintException.cs: 
1438         * System.Data/InvalidExpressionException.cs: 
1439         * System.Data/MissingPrimaryKeyException.cs:
1440         * System.Data/NoNullAllowedException.cs: 
1441         * System.Data/ReadOnlyException.cs: 
1442         * System.Data/RowNotInTableException.cs: 
1443         * System.Data/StrongTypingException.cs:
1444         * System.Data/SyntaxErrorException.cs: 
1445         * System.Data/TypeDataSetGeneratorException.cs: 
1446         * System.Data/VersionNotFoundException.cs: Added to CVS.
1447
1448         * System.Data.SqlTypes/SqlNullValueException.cs: 
1449         * System.Data.SqlTypes/SqlTruncateException.cs: 
1450         * System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
1451
1452 2002-05-02  Rodrigo Moya <rodrigo@ximian.com>
1453
1454         * System.Data/DataViewSettingCollection.cs: implemented.
1455
1456         * System.Data/DataRowView.cs: new stubs.
1457
1458         * System.Data.SqlTypes/SqlByte.cs:
1459         * System.Data.SqlTypes/SqlDateTime.cs:
1460         * System.Data.SqlTypes/SqlDecimal.cs:
1461         * System.Data.SqlTypes/SqlDouble.cs:
1462         * System.Data.SqlTypes/SqlGuid.cs:
1463         * System.Data.SqlTypes/SqlInt16.cs:
1464         * System.Data.SqlTypes/SqlInt64.cs:
1465         * System.Data.SqlTypes/SqlMoney.cs:
1466         * System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
1467         by Tim Coleman <tcoleman@opentext.com>
1468
1469         * System.Data.build: excluded newly-added files.
1470
1471 2002-05-02  Daniel Morgan <danmorg@sc.rr.com>
1472
1473         * System.Data.SqlClient/PostgresLibrary.cs: included new 
1474         internal class that will be a helper class in using
1475         PostgreSQL.  PostgresLibrary is used for the 
1476         pinvoke methods to the PostgreSQL Client
1477         native C library libpq while the class PostgresHelper 
1478         is used for     wrapper or helper methods.  It currently only
1479         has one static method OidTypeToSystem in converting
1480         PostgreSQL types to .NET System.<type>s, such as,
1481         a PostgreSQL int8 becomes a .NET System.Int64.
1482         Only a few types have been added, such as, int2,
1483         int4, int8, varchar, text, bool, and char.  Other types
1484         will come later.
1485         
1486         * System.Data.SqlClient/SqlCommand.cs: implemented
1487         method ExecuteScalar which allows us to do aggregate
1488         functions, such as, count, avg, min, max, and sum.  We
1489         also are able to retrieve the result, convert it to the .NET type
1490         as an object.  The user of the returned object must explicitly cast.
1491         
1492         * Test/ReadPostgresData.cs: updated sample
1493         to help us learn to retrieve data in System.Data.SqlClient
1494         classes
1495
1496 2002-05-01  Daniel Morgan <danmorg@sc.rr.com>
1497
1498         * System.Data.build: added /nowarn: nnnn arguments 
1499         so you will not get a ton of warnings.  The warnings
1500         being excluded are: 1595, 0067, 0109, 0169, and 0649
1501
1502 2002-05-01  Daniel Morgan <danmorg@sc.rr.com>
1503
1504         * System.Data.build: modified to exclude more 
1505         files from the build
1506
1507 2002-05-01  Rodrigo Moya <rodrigo@ximian.com>
1508
1509         * System.Data.SqlClient/SqlClientPermission.cs: added missing
1510         'using's.
1511
1512         * System.Data/MergeFailedEventArgs.cs: new class, contributed
1513         by John Dugaw <jdugaw@unizenconsulting.com>.
1514
1515         * System.Data.build: excluded new files from build.
1516
1517 2002-04-29  Daniel Morgan <danmorg@sc.rr.com>
1518
1519         * Test/ReadPostgresData.cs: added - Uses the 
1520         PostgresLibrary to retrieve a recordset.
1521         This is not meant to be used in Production, but as a
1522         learning aid in coding 
1523         class System.Data.SqlClient.SqlDataReader.
1524         This sample does work.
1525         
1526         * Test/TestSqlDataReader.cs: added - used
1527         to test SqlDataReader (does not work yet)
1528         Forgot to add to ChangeLog on last commit.
1529
1530 2002-04-28  Rodrigo Moya <rodrigo@ximian.com>
1531
1532         * System.Data/DataViewSetting.cs: new class.
1533         
1534 2002-04-28  Rodrigo Moya <rodrigo@ximian.com>
1535
1536         * System.Data/DataViewManager.cs: new class.
1537         
1538         * System.Data.SqlTypes/INullable.cs: properties for interfaces
1539         don't have implementation.
1540
1541         * System.Data.SqlTypes/SqlInt32.cs:
1542         * System.Data.SqlTypes/SqlString.cs:
1543         * System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
1544         these are strctures.
1545
1546         * System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
1547         missing 'using's.
1548         
1549 2002-04-28  Rodrigo Moya <rodrigo@ximian.com>
1550         
1551         * System.Data/DataTableRelationCollection.cs: use 'new' keyword
1552         for correctly hiding parent class' members.
1553         (AddRange): use 'override' keyword on overriden method.
1554         (Clear): likewise.
1555         (Contains): likewise.
1556         (IndexOf): likewise.
1557         (OnCollectionChanged): likewise.
1558         (OnCollectionChanging): likewise.
1559         (RemoveCore): likewise.
1560
1561         * System.Data/DataColumnCollection.cs: use 'new' keyword.
1562
1563         * System.Data/DataSet.cs: added missing 'using's.
1564         
1565 2002-04-28  Rodrigo Moya <rodrigo@ximian.com>
1566
1567         * System.Data/DataSet.cs:
1568         * System.Data/DataTableCollection.cs:
1569         * System.Data/DataView.cs: compilation fixes on Linux.
1570
1571 2002-04-28  Daniel Morgan <danmorg@sc.rr.com>
1572
1573         * System.Data/DataRelation.cs
1574         * System.Data/ForeignKeyConstraint.cs
1575         * System.Data/UniqueConstraint.cs: added more stubs
1576         
1577         * System.Data/DataTableRelationCollection.cs: added back to cvs
1578         and modified for compile errors.  DataRelationCollection is an
1579         abstract class and there must be a class that implements for
1580         DataTable/DataSet.  DataTableRelationCollection was changed
1581         to an internal class.
1582         
1583         * System.Data.build: modified - new files added
1584         also wanted to include files/classes in the build 
1585         so we can get a compilable forward read only result set.
1586         It compiles now using csc/nant with warnings, but this 
1587         is a start for adding functionality for the result set.  
1588         Classes associated with/and DataSet are still excluded.
1589         
1590         * TODO: modified - updated to do list for System.Data
1591         
1592         * System.Data/Constraint.cs
1593         * System.Data/ConstraintCollection.cs
1594         * System.Data/DataRelationCollection.cs
1595         * System.Data/DataRow.cs
1596         * System.Data/DataRowChangeEventArgs.cs
1597         * System.Data/DataRowCollection.cs
1598         * System.Data/DataTable.cs
1599         * System.Data/DataTableCollection.cs
1600         * System.Data/InternalDataCollectionBase.cs
1601         * System.Data/PropertyCollection.cs: modified -
1602         changes to compile SqlDataReader/DataTable and
1603         dependencies
1604         
1605         * System.Data/IDbCommand.cs
1606         * System.Data.SqlClient/SqlCommand.cs: modified -
1607         un-commented overloaded methods ExecuteReader 
1608         which returns a SqlDataReader
1609
1610 2002-04-28  Rodrigo Moya <rodrigo@ximian.com>
1611
1612         * System.Data/DataTableCollection.cs: more implementation.
1613         (Count): added 'override' keyword, as pointer out by Martin.
1614
1615         * System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
1616         only call Array.Copy when there is really stuff to be copied.
1617         (CopyTo): don't create the temporary array, it's not needed.
1618
1619         * System.Data.build: excluded newly added file from build.
1620
1621 2002-04-27  Rodrigo Moya <rodrigo@ximian.com>
1622
1623         * System.Data/DataTableRelationCollection.cs: removed, it's not
1624         on MS SDK documentation.
1625
1626         * System.Data/DataTableCollection.cs: new class.
1627
1628 2002-04-27  Daniel Morgan <danmorg@sc.rr.com>
1629
1630         * System.Data/DataRowChangeEventArgs.cs
1631         * System.Data/DataRowCollection.cs
1632         * System.Data/DataView.cs
1633         * System.Data/PropertyCollection.cs: added new stubs
1634
1635         * System.Data.build: modified - added new files to exclude
1636         from build
1637         
1638         * TODO: modified - removed files from TODO list 
1639         that were stubbed above
1640         
1641         * System.Data/DataColumn.cs
1642         * System.Data/DataRow.cs: modified - various tweaks
1643         and added internal method SetTable to set the reference
1644         to a DataTable
1645         
1646         * System.Data/DataSet.cs: modified - class was not
1647         completely stubbed.
1648         
1649         * System.Data/DataTable.cs: modified - temporarily commented
1650         DataSet and DataView references - trying to compile a SqlDataReader,
1651         DataTable, and dependencies for a forward read-only result set.
1652         SqlDataAdapter, DataSet, and DataView will come later once we can get
1653         a forward read only result set working.
1654         
1655         * System.Data/IDataRecord.cs: modified - source code lines should
1656         not be > 80
1657         
1658         * System.Data/InternalDataCollectionBase.cs: modified - started 
1659         implementing this base class for collection of data rows,
1660         columns, tables, relations, and constraints
1661         
1662         * System.Data.SqlClient/SqlException.cs: modified -
1663         call base(message) so a unhandled exception displays
1664         the message of a SQL error instead of the 
1665         default SystemException message
1666         
1667         * Test/TestSqlException.cs: modified - 
1668         handle the rollback properly for a SqlException on a
1669         failure to connect
1670
1671 2002-04-23  Daniel Morgan <danmorg@sc.rr.com>
1672
1673         * System.Data.build: modified - added new
1674         files to exclude from build 
1675         
1676         * System.Data/Constraint.cs
1677         * System.Data/ConstraintCollection.cs
1678         * System.Data/InternalDataCollectionBase.cs: added -
1679         stubs which are needed to build DataTable.cs
1680         
1681         * TODO: modified - added more classes TODO and
1682         added more stuff TODO, such as, create script
1683         to create test database monotestdb for testing
1684         classes in System.Data
1685
1686 2002-04-23  Rodrigo Moya <rodrigo@ximian.com>
1687
1688         * System.Data.Common/DataAdapter.cs:
1689         * System.Data.Common/DataColumnMappingCollection.cs:
1690         * System.Data.Common/DataTableMappingCollection.cs:
1691         * System.Data.Common/DbDataPermission.cs:
1692         * System.Data.Common/DbDataPermissionAttribute.cs: some
1693         compilation errors fixed.
1694
1695 2002-04-23  Daniel Morgan <danmorg@sc.rr.com>
1696
1697         * TODO: modified - added classes TODO, and
1698         a poor attempt at System.Data plan
1699
1700 2002-04-23  Daniel Morgan <danmorg@sc.rr.com>
1701
1702         * ChangeLog: modified - put tabs where they belong
1703         
1704         * System.Data.SqlClient/SqlDataReader.cs
1705         * System.Data/DataColumn.cs: modified - compile errors
1706         trying to compile SqlDataAdapter and dependencies
1707
1708 2002-04-23  Daniel Morgan <danmorg@sc.rr.com>
1709
1710         * System.Data.SqlTypes/SqlBoolean.cs
1711         * System.Data.SqlTypes/SqlCompareOptions.cs
1712         * System.Data.SqlTypes/SqlInt32.cs
1713         * System.Data.SqlTypes/SqlString.cs: added - new stubs
1714
1715         * System.Data/DataTable.cs
1716         * System.Data.SqlClient/SqlCommand.cs
1717         * System.Data.SqlClient/SqlConnection.cs
1718         * System.Data.SqlClient/SqlError.cs
1719         * System.Data.SqlClient/SqlTransaction.cs: modified - 
1720         misc. tweaks
1721
1722         * System.Data.SqlClient/SqlException.cs: modified -
1723         missing Message on indexer for Message property
1724
1725 2002-04-21  Daniel Morgan <danmorg@sc.rr.com>
1726
1727         * System.Data.SqlClient/SqlCommand.cs: modified - to 
1728         compile using mcs.  This problem is
1729         returning a stronger type in csc vs. msc
1730
1731         * System.Data.SqlClient/SqlConnection.cs: modified - msc
1732         can not do a using PGconn = IntPtr; and then declare
1733         with PGconn pgConn = IntPtr.Zero;
1734         Thiw works under csc though.  Had to comment using and
1735         changed declaration to IntPtr pgConn = IntPtr.Zero;
1736         Also, got rid of compile warnings for hostaddr and port.
1737
1738         * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
1739         rid of compile warnings.  Commented MonoTODO attribute because mcs
1740         doesn't seem to work with C# array property indexer (Item)
1741         this[int index]
1742
1743         * System.Data.SqlClient/SqlParameterCollection.cs: modified -
1744         commented MonoTODO attribute for indexer for mcs compiling
1745
1746         * Test/TestSqlIsolationLevel.cs:
1747         * Test/TestSqlInsert.cs:
1748         * Test/TestSqlException.cs: modified -
1749         removed extra ExecuteNonQuery which caused two inserted rows
1750
1751 2002-04-20  Daniel Morgan <danmorg@sc.rr.com>
1752
1753         * System.Data/StateChangeEventArgs.cs - added
1754         needed to compile System.Data.dll with mcs.  
1755
1756 2002-04-20  Daniel Morgan <danmorg@sc.rr.com>
1757
1758         * System.Data.OleDb: added directory - for OleDb database 
1759         provider classes
1760
1761         * System.Data.SqlClient/SqlClientPermission.cs
1762         * System.Data.SqlClient/SqlClientPermissionAttribute.cs
1763         * System.Data.SqlClient/SqlCommandBuilder.cs
1764         * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
1765         * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
1766         * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
1767         * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
1768         * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
1769         * Test/TestSqlException.cs
1770         * Test/TestSqlIsolationLevel.cs: added - more tests
1771
1772         * System.Data.build: modified - added new files - excludes these too
1773
1774         * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
1775
1776         * System.Data.SqlClient/SqlConnection.cs 
1777         * System.Data.SqlClient/SqlCommand.cs
1778         * System.Data.SqlClient/SqlTransaction.cs
1779         * System.Data.SqlClient/SqlException.cs
1780         * System.Data.SqlClient/SqlErrorCollection.cs
1781         * System.Data.SqlClient/SqlError.cs: modified - transaction and
1782         exception/error handling. SqlConnection(connectionString) 
1783         constructor should not automatically connect.
1784   
1785         * System.Data.SqlClient/SqlDataReader.cs
1786         * System.Data.SqlClient/SqlDataAdapter.cs
1787         * System.Data.SqlClient/SqlParameter.cs
1788         * System.Data.SqlClient/SqlParameterCollection.cs: modified - 
1789         added using System.ComponentModel;
1790   
1791         * Test/TestSqlInsert.cs: modified - to use transaction
1792
1793 2002-04-17  Rodrigo Moya <rodrigo@ximian.com>
1794
1795         * System.Data/DataRow.cs: new skeletons.
1796
1797         * System.Data.Common/DataAdapter.cs:
1798         * System.Data.Common/DataColumnMapping.cs:
1799         * System.Data.Common/DataColumnMappingCollection.cs:
1800         * System.Data.Common/DataTableMapping.cs:
1801         * System.Data.Common/DataTableMappingCollection.cs:
1802         * System.Data.Common/DbDataAdapter.cs:
1803         * System.Data.Common/RowUpdatedEventArgs.cs:
1804         * System.Data.SqlClient/SqlDataAdapter.cs:
1805         * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
1806         fixes for Linux.
1807
1808         * System.Data.Common/DbDataRecord.cs:
1809         * System.Data.Common/DbEnumerator.cs: removed MS implementation
1810         internal classes.
1811
1812 2002-04-17  Daniel Morgan <danmorg@sc.rr.com>
1813
1814         * Test/TestSqlInsert.cs: modified - do
1815           a SQL DELETE before SQL INSERT of row so you can use this
1816           test over and over.
1817         
1818         * System.Data.SqlClient/SqlTransaction.cs: modified - default
1819           IsolationLevel for PostgreSQL is ReadCommitted.  However,
1820           PostgreSQL allows Serializable as well. 
1821       (Thanks to Gonzalo for that!)
1822         
1823         * System.Data.SqlClient/SqlConnection.cs: modified
1824         * System.Data.SqlClient/SqlCommand.cs: modified
1825         * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
1826           working; however, we still need to implement SQL errors
1827           and exceptions to properly handle transactions.  Also, added
1828           status and error message support from the PostgreSQL database.
1829           Currently, this does a Console.WriteLine() to display the
1830           status and error messages, but this is a TODO 
1831           for SQL errors and exceptions.
1832         
1833         * System.Data/TODOAttribute.cs: added - needed MonoTODO
1834       attribute for System.Data.dll assembly 
1835
1836         * System.Data/IDbCommand.cs: modified - commented
1837           overloaded method ExecuteReader 
1838           so System.Data.SqlClient.SqlCommand can compile
1839           
1840         * System.Data/IDbCommand.cs: modified
1841         * System.Data/IDbConnection.cs: modified - added using System;
1842         * System.Data/IDataParameter.cs
1843         
1844         * System.Data.build: modified - build classes
1845           in System.Data.SqlClient and exclude others in System.Data
1846         
1847         * System.Data.SqlClient/PostgresLibrary.cs: modified - change
1848           parameter data type from IntPtr to enum ExecStatusType
1849         
1850         * ChangeLog: modified - corrected previous entries in log
1851
1852 2002-04-16  Rodrigo Moya <rodrigo@ximian.com>
1853
1854         * System.Data.Common/DataColumnMappingCollection.cs: added basic
1855         implementation. Still missing some stuff.
1856
1857 2002-04-16  Daniel Morgan <danmorg@sc.rr.com>
1858
1859         * System.Data.SqlClient/SqlConnection.cs: modified - got 
1860       to compile, run, and connect to PostgreSQL database
1861       
1862         * System.Data.SqlClient/SqlCommand.cs: modified - got 
1863       to compile, run, and execute a SQL INSERT command 
1864       which successfully inserted a row 
1865       into the PostgreSQL database
1866
1867         * System.Data.SqlClient/SqlTransaction.cs: modified
1868         * System.Data.SqlClient/SqlParameter.cs: modified
1869         * System.Data.SqlClient/SqlParameterCollection.cs: modified
1870         * System.Data.SqlClient/SqlError.cs: modified
1871         * System.Data.SqlClient/SqlErrorCollection.cs: modified
1872         * System.Data.SqlClient/SqlException.cs: modified
1873         * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
1874
1875         * System.Data.SqlClient/SqlAdapter: modified
1876         * System.Data.SqlClient/SqlReader: modified - add more stubs
1877         
1878 2002-04-16  Daniel Morgan <danmorg@sc.rr.com>
1879
1880         * Test/TestSqlInsert.cs: added 
1881
1882 2002-04-15  Daniel Morgan <danmorg@sc.rr.com>
1883
1884         * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
1885           class SqlConnecition
1886         * System.Data.SqlClient/SqlErrorCollection.cs: added
1887         * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
1888
1889 2002-04-15  Christopher Podurgiel <cpodurgiel@msn.com>
1890         
1891         * System.Data.IDbDataParameter: Added Interface to IDataParameter.
1892         * System.Data.IDbTransaction: Added Interface to IDisposable.
1893         * System.Data.IDbCommand: Fixed Capitalization of class name.
1894         * System.Data.IDbConnection: Fixed Capitalization of class name.
1895
1896 2002-04-15  Rodrigo Moya <rodrigo@ximian.com>
1897
1898         * System.Data.Common/DbDataPermissionAttribute.cs:
1899         * System.Data.Common/DataAdapter.cs:
1900         * System.Data.Common/DataColumnMapping.cs:
1901         * System.Data.Common/DbDataPermission.cs: added some implementation.
1902
1903 2002-04-15  Rodrigo Moya <rodrigo@ximian.com>
1904
1905         * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
1906         syntax, as pointed out by Levent Camlibel.
1907
1908 2002-04-14  Rodrigo Moya <rodrigo@ximian.com>
1909
1910         * System.Data.SqlTypes/SqlBinary.cs:
1911         * System.Data.SqlTypes/INullable.cs: new skeletons.
1912
1913 2002-04-14  Daniel Morgan <danmorg@sc.rr.com>
1914
1915         * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
1916         contains all calls the the PostgreSQL client library, to be used
1917         everywhere in System.Data.SqlClient.
1918
1919 2002-03-30  Rodrigo Moya <rodrigo@ximian.com>
1920
1921         * System.Data.SqlClient/SqlConnection.cs: implemented basic
1922         constructors.
1923
1924         * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
1925
1926 2002-03-29  Rodrigo Moya <rodrigo@ximian.com>
1927
1928         * System.Data.Common/DbDataRecord.cs:
1929         * System.Data.Common/DbEnumerator.cs:
1930         * System.Data.Common/RowUpdatedEventArgs.cs:
1931         * System.Data.Common/RowUpdatingEventArgs.cs:
1932         * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
1933
1934 2002-03-28  Rodrigo Moya <rodrigo@ximian.com>
1935
1936         * System.Data.Common/DataTableMappingCollection.cs:
1937         * System.Data.Common/DbDataAdapter.cs:
1938         * System.Data.Common/DbDataPermission.cs:
1939         * System.Data.Common/DataTableMapping.cs: new skeletons.
1940
1941         * System.Data.SqlClient/SqlDataAdapter.cs:
1942         * System.Data.SqlClient/SqlDataReader.cs:
1943         * System.Data.SqlClient/SqlErrors.cs:
1944         * System.Data.SqlClient/SqlError.cs:
1945         * System.Data.SqlClient/SqlException.cs:
1946         * System.Data.SqlClient/SqlParameter.cs:
1947         * System.Data.SqlClient/SqlParameterCollection.cs:
1948         * System.Data.SqlClient/SqlTransaction.cs:
1949         * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
1950
1951 2002-03-27  Rodrigo Moya <rodrigo@ximian.com>
1952
1953         * System.Data.Common/DataColumnMapping.cs:
1954         * System.Data.Common/DataColumnMappingCollection.cs:
1955         * System.Data.Common/DataAdapter.cs: created skeletons.
1956
1957         * System.Data.build: exclude new directories from build.
1958
1959 2002-03-27  Rodrigo Moya <rodrigo@ximian.com>
1960
1961         * System.Data.SqlClient/SqlTransaction.cs: started implementation.
1962         
1963         * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
1964         implemented (2 methods).
1965
1966 2002-03-24  Duncan Mak  <duncan@ximian.com>
1967
1968         * System.Data.build: Excluded System.Data.SqlClient from the build.
1969         The stubs are incomplete and they are stopping the build.
1970
1971         * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
1972
1973 2002-03-24  Rodrigo Moya <rodrigo@ximian.com>
1974
1975         * System.Data.SqlClient/*: added skeletons for the SQL managed
1976         provider for ADO.Net, to be based initially in PostgreSQL.
1977
1978 2002-03-15  Christopher Podurgiel <cpodurgiel@msn.com>
1979         
1980         Changed the Namespace on some Enums from mono.System.Data to System.Data
1981
1982 2002-03-01  Christopher Podurgiel <cpodurgiel@msn.com>
1983
1984         * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a 
1985                 default name if the ColumnName is null.
1986         * DataSet.cs : Added
1987         * DataTable.cs : Added
1988         * DataRelationCollection.cs : Added
1989         * DataTableRelationCollection.cs : Added
1990         * DataColumn : Added
1991
1992 2002-02-11  Christopher Podurgiel <cpodurgiel@msn.com>
1993
1994         * DataColumnChangeEventArgs.cs : Added
1995         * DataColumnCollection.cs : Added
1996
1997 2002-02-10  Christopher Podurgiel <cpodurgiel@msn.com>
1998         
1999         * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
2000         * Updated all Enums, Interfaces, and Delegates in System.Data