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