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