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