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