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