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