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