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