2002-05-14 Tim Coleman
[mono.git] / mcs / class / System.Data / ChangeLog
1 2002-05-14  Tim Coleman
2         * System.Data/DataRow.cs:
3         * System.Data/DataRowBuilder.cs:
4         * System.Data/DataTable.cs:
5                 More implementation of these classes.  DataRow
6                 can now (possibly) do some useful things.
7                 Still not sure what DataRowBuilder is all about,
8                 other than passing a DataTable in.
9
10 2002-05-14  Tim Coleman
11         * System.Data/DataRowBuilder.cs:
12                 Add stubb for this internal class.
13
14 2002-05-13  Tim Coleman
15         * System.Data.Common/DbDataAdapter.cs:
16                 The maxRecords check was not correct.
17
18 2002-05-13  Tim Coleman
19         * System.Data/DataTableCollection.cs:
20                 Fix an issue when adding a DataTable and size == 0.
21                 Now explicitly checks if size > 0 before doing Array.Copy ()
22         * System.Data.Common/DbDataAdapter.cs:
23                 Move closer to a working implementation.
24                 Make the IDbCommand fields protected so that they can
25                 be inherited.
26         * System.Data.SqlClient/SqlDataAdapter.cs:
27                 This should inherit the IDbCommands instead of having its
28                 own.  An explicit cast is used to force conversion between
29                 IDbCommand and SqlCommand
30
31 2002-05-13  Tim Coleman
32         * System.Data.Common/DataTableMappingCollection.cs:
33                 Some implementation to allow progress with DbDataAdapter
34
35 2002-05-13  Tim Coleman
36         * System.Data.Common/DbDataAdapter.cs:
37                 Modify to not break compile.
38
39 2002-05-13  Tim Coleman
40         * System.Data.build:
41                 include SqlDataAdapter, SqlRowUpdatedEventArgs,
42                 SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
43                 SqlRowUpdatingEventHandler in the build.
44
45 2002-05-13  Tim Coleman
46         * System.Data.Common/DbDataAdapter.cs:
47                 More implementation.
48         * System.Data.Common/DataAdapter.cs:
49                 Correction of some of the stubbing, as well as a
50                 little bit more implementation
51
52 2002-05-11  Tim Coleman
53         * System.Data.SqlClient/SqlDataAdapter.cs:
54         * System.Data.Common/DbDataAdapter.cs:
55                 Moved methods that weren't supposed to 
56                 be in SqlDataAdapter out.  They should be implemented
57                 in DbDataAdapter.
58         
59
60 2002-05-11  Tim Coleman
61         * System.Data.SqlClient/SqlDataAdapter.cs:
62                 some implementation of this class.  Note
63                 that none of the functionality has been
64                 tested yet, but I felt it should be checked
65                 in at this point as it compiles.
66         * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
67         * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
68                 Modified so that they will compile properly.
69                 Needed to include SqlDataAdapter in the build.
70
71 2002-05-11  Rodrigo Moya <rodrigo@ximian.com>
72
73         * System.Data/DataTable.cs (Clear): implemented.
74         (DataTable): removed repeated code in constructors, and call the
75         basic constructor from the others.
76
77         * System.Data/DataColumn.cs: some tweaks.
78
79         * System.Data/DataRow.cs (RowState): implemented.
80         (CancelEdit): set rowState property back to Unchanged.
81         (RejectChanges): call CancelEdit.
82         (Delete): set rowState to Deleted.
83
84 2002-05-11  Daniel Morgan <danmorg@sc.rr.com>
85
86         * System.Data.build: added copy of System.Data.dll to Test directory
87         for easy testing.  Also, added clean for it too.
88         
89         * System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
90         from PostgreSQL data type to .NET type.
91         
92         * System.Data.SqlClient/SqlDataReader.cs: beginnings
93         handling of a NULL value from the database
94         
95         * Test/PostgresTest.cs: added tests for NULL values retrieved
96         from the database
97         
98         * Test/ReadPostgresData.cs
99         * Test/TestExecuteScalar.cs
100         * Test/TestSqlDataReader.cs
101         * Test/TestSqlException.cs
102         * Test/TestSqlIsolationLevel.cs: updated tests to use databas user
103         "postgres".  These tests may eventually be removed since they
104         are not flexible.
105
106 2002-05-10  Rodrigo Moya <rodrigo@ximian.com>
107
108         * System.Data.build: removed reference to non-existant
109         TestDataColumn.cs file.
110
111         * System.Data/DataSet.cs: added some implementation.
112
113 2002-05-09  Daniel Morgan <danmorg@sc.rr.com>
114
115         * System.Data.SqlClient/PostgresLibrary.cs: got
116         PostgreSQL data types time, date, timestamp (DateTime like)
117         mapped to .NET System.DateTime working based 
118         on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
119         Also mapped pg type boolean to .net Boolean
120         
121         * SqlClient/SqlConnection.cs: run SQL command to set
122         Date style to ISO
123         
124         * Test/PostgresTest.cs: added test for an UPDATE SQL command,
125         added tests for aggregates min(), max(), sum(), count().  could
126         not get avg() to work due to some formatting error; someone claimed
127         that it was my locale settings.  added tests for SELECT of columns
128         of type boolean, float, double, date, time, and timestamp.  They
129         have not been fully tested, but its a start.
130
131 2002-05-09  Tim Coleman <tim@timcoleman.com>
132         * System.Data.SqlTypes/SqlDecimal.cs: Implementations of 
133         addition, subtraction, and multiplication for the
134         SqlDecimal type, as well as modification of some other
135         operations.  More to come on this one.
136
137 2002-05-08  Rodrigo Moya <rodrigo@ximian.com>
138
139         * Test/System.Data_test.build: excluded TestDataColumn, which
140         should be replaced with a nunit test.
141
142         * Test/TestDataColumn.cs: added basic test for DataColumn.cs.
143
144 2002-05-07  Tim Coleman <tim@timcoleman.com>
145         * SqlBinary.cs:
146         * SqlBoolean.cs:
147         * SqlByte.cs:
148         * SqlDateTime.cs:
149         * SqlDecimal.cs:
150         * SqlDouble.cs:
151         * SqlGuid.cs:
152         * SqlInt16.cs:
153         * SqlInt32.cs:
154         * SqlInt64.cs:
155         * SqlMoney.cs:
156         * SqlSingle.cs:
157         * SqlString.cs:
158                 Fix the broken build I made before.  Bad
159                 me.
160
161 2002-05-07  Tim Coleman <tim@timcoleman.com>
162         * SqlString.cs:
163                 Fix a symantic error I made in SqlString
164                 Equals where I copied and pasted wrongly
165
166 2002-05-07  Tim Coleman <tim@timcoleman.com>
167         * INullable.cs:
168         * SqlBinary.cs:
169         * SqlBoolean.cs:
170         * SqlByte.cs:
171         * SqlCompareOptions.cs:
172         * SqlDateTime.cs:
173         * SqlDecimal.cs:
174         * SqlDouble.cs:
175         * SqlGuid.cs:
176         * SqlInt16.cs:
177         * SqlInt32.cs:
178         * SqlInt64.cs:
179         * SqlMoney.cs:
180         * SqlSingle.cs:
181         * SqlString.cs:
182                 Implement CompareTo, Equals, and String conversions 
183                 for many types
184
185 2002-05-05  Daniel Morgan <danmorg@sc.rr.com>
186
187         * Test/PostgresTest.cs: modified to run completely.  There
188         are many TODOs in System.Data, so not all data types are
189         included in the SELECT SQL query.  Also, I made it to where
190         it would connect 
191         using "host=localhost;dbname=test;user=postgres"
192         instead of my userid and password.  When more types are included,
193         update this test.
194
195 2002-05-05  Daniel Morgan <danmorg@sc.rr.com>
196
197         * Test/PostgresTest.cs: added - ported
198         libgda postgres-test.c originally by 
199         Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
200         to C#.
201
202 2002-05-05  Tim Coleman <tim@timcoleman.com>
203         * System.Data.SqlTypes/SqlBinary.cs:
204         * System.Data.SqlTypes/SqlBoolean.cs:
205         * System.Data.SqlTypes/SqlByte.cs:
206         * System.Data.SqlTypes/SqlDateTime.cs:
207         * System.Data.SqlTypes/SqlDecimal.cs:
208         * System.Data.SqlTypes/SqlDouble.cs:
209         * System.Data.SqlTypes/SqlGuid.cs:
210         * System.Data.SqlTypes/SqlInt16.cs:
211         * System.Data.SqlTypes/SqlInt32.cs:
212         * System.Data.SqlTypes/SqlInt64.cs:
213         * System.Data.SqlTypes/SqlMoney.cs:
214         * System.Data.SqlTypes/SqlSingle.cs:
215         * System.Data.SqlTypes/SqlString.cs:
216                 More implementation, and code clean-up for consistency.
217                 Also, I had implemented many conversions as explicit
218                 that should have been implicit.  This should remove
219                 many of the red X's and green pluses from the 
220                 System.Data.SqlTypes namespace.
221
222 2002-05-05  Miguel de Icaza  <miguel@ximian.com>
223
224         * System.Data/DataSet.cs: Remove [Serializable] attributes from
225         methods, those only apply to structs or classes.
226
227         Stub out ISerializable, ISupportInitialize, and IListSource methods 
228         
229         * System.Data/DataRowView.cs: Stub out interface methods for
230         IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
231
232         * System.Data/DataView.cs: Comment out non-implemented
233         interfaces. 
234
235         * System.Data/DataViewSettingsCollection.cs: Type cast variables
236         to the correct type to make it compile.
237
238         * System.Data/DataViewSettings.cs: remove reference to
239         non-existance type ApplyDefaultSort, it is a boolean.
240         
241
242 2002-05-05  Tim Coleman <tim@timcoleman.com>
243         * System.Data.SqlTypes/SqlBinary.cs:
244         * System.Data.SqlTypes/SqlBoolean.cs:
245         * System.Data.SqlTypes/SqlByte.cs:
246         * System.Data.SqlTypes/SqlDecimal.cs:
247         * System.Data.SqlTypes/SqlDouble.cs:
248         * System.Data.SqlTypes/SqlGuid.cs:
249         * System.Data.SqlTypes/SqlInt16.cs:
250         * System.Data.SqlTypes/SqlInt32.cs:
251         * System.Data.SqlTypes/SqlInt64.cs:
252         * System.Data.SqlTypes/SqlMoney.cs:
253         * System.Data.SqlTypes/SqlSingle.cs:
254         * System.Data.SqlTypes/SqlString.cs:
255                 Various fixes, including adding the SqlNullValueException
256                 when trying to retrieve the value of a null SqlType,
257                 and when casting values, a Null of type A converts to a
258                 Null of type B.
259
260 2002-05-04  Daniel Morgan <danmorg@sc.rr.com>
261         
262         * System.Data.SqlClient/PostgresLibrary.cs
263         * System.Data.SqlClient/SqlCommand.cs
264         * System.Data.SqlClient/SqlConnection.cs
265         * System.Data.SqlClient/SqlDataReader.cs
266         oid should not be hard coded because they
267         can change from one version of PostgreSQL
268         to the next.  Use the typname's instead.
269         The PostgreSQL type data retrieves
270         at database connection time.  Any unimplemented
271         types just default to string.  These were things
272         suggested by Gonzalo.
273         
274         * Test/ReadPostgresData.cs - stuff
275         * Test/TestSqlDataReader.cs - stuff
276         
277         * System.Data.SqlTypes/SqlInt32.cs - added a using
278
279 2002-05-03  Tim Coleman <tim@timcoleman.com>
280         * System.Data.build: Fix the build so that test depends on build
281
282 2002-05-03  Tim Coleman <tim@timcoleman.com>
283         * System.Data.SqlTypes/SqlByte.cs:
284         * System.Data.SqlTypes/SqlDateTime.cs:
285         * System.Data.SqlTypes/SqlDecimal.cs:
286         * System.Data.SqlTypes/SqlDouble.cs:
287         * System.Data.SqlTypes/SqlGuid.cs:
288         * System.Data.SqlTypes/SqlInt16.cs:
289         * System.Data.SqlTypes/SqlInt64.cs:
290         * System.Data.SqlTypes/SqlMoney.cs:
291         * System.Data.SqlTypes/SqlSingle.cs:
292                 These files were mysteriously excluded from the last
293                 patch I made and sent to Rodrigo
294         * System.Data.build: include the System.Data.SqlTypes in the build
295
296 2002-05-03  Daniel Morgan <danmorg@sc.rr.com>
297
298         * System.Data.build: removed comments
299
300         * System.Data.SqlClient/PostgresLibrary.cs: changed
301         the hard-coded PostgreSQL oid type int's to using an
302         enum.  Also, added PostgreSQL bpchar (character) type.
303         
304         * Test/TestSqlDataReader.cs: updated test
305         to include new bpchar PostgreSQL type
306
307 2002-05-03  Rodrigo Moya <rodrigo@ximian.com>
308
309         * System.Data.SqlTypes/SqlBinary.cs:
310         * System.Data.SqlTypes/SqlBoolean.cs:
311         * System.Data.SqlTypes/SqlInt32.cs:
312         * System.Data.SqlTypes/SqlString.cs: more implementation, by
313         Tim Coleman <tcoleman@opentext.com>.
314
315 2002-05-03  Daniel Morgan <danmorg@sc.rr.com>
316
317         * Test/TestExecuteScalar.cs: added test for 
318         method ExecuteScalar in class SqlCommand.
319         
320         * System.Data/DataColumnCollection.cs - it should
321         inherit properties from base InternalDataCollectionBase
322         and use them instead of overriding them, such as, List.
323         
324         * System.Data/DataColumn.cs
325         * System.Data/DataTable.cs: tweaks to retrieve
326         meta data from the database
327         
328         * System.Data.SqlClient/PostgresLibrary.cs -
329         added method OidToType to convert PostgreSQL oid type 
330         to System.Type.  Renamed method OidTypeToSystem
331         to ConvertPgTypeToSystem for converting the data value
332         from a PostgreSQL type to a .NET System type.
333         
334         * System.Data.SqlClient/SqlCommand.cs: implemented
335         method ExecuteReader which returns a SqlDataReader
336         for a light forward only read only result set. 
337         It works on types int4 ==> Int32 and 
338         varchar ==> String.  Other types
339         will come later.
340         
341         * System.Data.SqlClient/SqlConnection.cs: added comment
342         
343         * System.Data.SqlClient/SqlDataReader.cs: implemented
344         class.  It works, but still lots to do.
345         
346         * Test/ReadPostgresData.cs: stuff
347         
348         * Test/TestSqlDataReader.cs: updated test for SqlDataReader
349         to display meta data and the data
350         
351 2002-05-03  Duncan Mak  <duncan@ximian.com>
352
353         * TODO: Took out all the Exceptions. They should be all done now.
354
355         * System.Data/ConstraintException.cs: 
356         * System.Data/DBConcurrencyException.cs:
357         * System.Data/DataException.cs: 
358         * System.Data/DeletedRowInaccessibleException.cs: 
359         * System.Data/DuplicateNameException.cs:
360         * System.Data/EvaluateException.cs: 
361         * System.Data/InRowChangingEventException.cs: 
362         * System.Data/InvalidConstraintException.cs: 
363         * System.Data/InvalidExpressionException.cs: 
364         * System.Data/MissingPrimaryKeyException.cs:
365         * System.Data/NoNullAllowedException.cs: 
366         * System.Data/ReadOnlyException.cs: 
367         * System.Data/RowNotInTableException.cs: 
368         * System.Data/StrongTypingException.cs:
369         * System.Data/SyntaxErrorException.cs: 
370         * System.Data/TypeDataSetGeneratorException.cs: 
371         * System.Data/VersionNotFoundException.cs: Added to CVS.
372
373         * System.Data.SqlTypes/SqlNullValueException.cs: 
374         * System.Data.SqlTypes/SqlTruncateException.cs: 
375         * System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
376
377 2002-05-02  Rodrigo Moya <rodrigo@ximian.com>
378
379         * System.Data/DataViewSettingCollection.cs: implemented.
380
381         * System.Data/DataRowView.cs: new stubs.
382
383         * System.Data.SqlTypes/SqlByte.cs:
384         * System.Data.SqlTypes/SqlDateTime.cs:
385         * System.Data.SqlTypes/SqlDecimal.cs:
386         * System.Data.SqlTypes/SqlDouble.cs:
387         * System.Data.SqlTypes/SqlGuid.cs:
388         * System.Data.SqlTypes/SqlInt16.cs:
389         * System.Data.SqlTypes/SqlInt64.cs:
390         * System.Data.SqlTypes/SqlMoney.cs:
391         * System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
392         by Tim Coleman <tcoleman@opentext.com>
393
394         * System.Data.build: excluded newly-added files.
395
396 2002-05-02  Daniel Morgan <danmorg@sc.rr.com>
397
398         * System.Data.SqlClient/PostgresLibrary.cs: included new 
399         internal class that will be a helper class in using
400         PostgreSQL.  PostgresLibrary is used for the 
401         pinvoke methods to the PostgreSQL Client
402         native C library libpq while the class PostgresHelper 
403         is used for     wrapper or helper methods.  It currently only
404         has one static method OidTypeToSystem in converting
405         PostgreSQL types to .NET System.<type>s, such as,
406         a PostgreSQL int8 becomes a .NET System.Int64.
407         Only a few types have been added, such as, int2,
408         int4, int8, varchar, text, bool, and char.  Other types
409         will come later.
410         
411         * System.Data.SqlClient/SqlCommand.cs: implemented
412         method ExecuteScalar which allows us to do aggregate
413         functions, such as, count, avg, min, max, and sum.  We
414         also are able to retrieve the result, convert it to the .NET type
415         as an object.  The user of the returned object must explicitly cast.
416         
417         * Test/ReadPostgresData.cs: updated sample
418         to help us learn to retrieve data in System.Data.SqlClient
419         classes
420
421 2002-05-01  Daniel Morgan <danmorg@sc.rr.com>
422
423         * System.Data.build: added /nowarn: nnnn arguments 
424         so you will not get a ton of warnings.  The warnings
425         being excluded are: 1595, 0067, 0109, 0169, and 0649
426
427 2002-05-01  Daniel Morgan <danmorg@sc.rr.com>
428
429         * System.Data.build: modified to exclude more 
430         files from the build
431
432 2002-05-01  Rodrigo Moya <rodrigo@ximian.com>
433
434         * System.Data.SqlClient/SqlClientPermission.cs: added missing
435         'using's.
436
437         * System.Data/MergeFailedEventArgs.cs: new class, contributed
438         by John Dugaw <jdugaw@unizenconsulting.com>.
439
440         * System.Data.build: excluded new files from build.
441
442 2002-04-29  Daniel Morgan <danmorg@sc.rr.com>
443
444         * Test/ReadPostgresData.cs: added - Uses the 
445         PostgresLibrary to retrieve a recordset.
446         This is not meant to be used in Production, but as a
447         learning aid in coding 
448         class System.Data.SqlClient.SqlDataReader.
449         This sample does work.
450         
451         * Test/TestSqlDataReader.cs: added - used
452         to test SqlDataReader (does not work yet)
453         Forgot to add to ChangeLog on last commit.
454
455 2002-04-28  Rodrigo Moya <rodrigo@ximian.com>
456
457         * System.Data/DataViewSetting.cs: new class.
458         
459 2002-04-28  Rodrigo Moya <rodrigo@ximian.com>
460
461         * System.Data/DataViewManager.cs: new class.
462         
463         * System.Data.SqlTypes/INullable.cs: properties for interfaces
464         don't have implementation.
465
466         * System.Data.SqlTypes/SqlInt32.cs:
467         * System.Data.SqlTypes/SqlString.cs:
468         * System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
469         these are strctures.
470
471         * System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
472         missing 'using's.
473         
474 2002-04-28  Rodrigo Moya <rodrigo@ximian.com>
475         
476         * System.Data/DataTableRelationCollection.cs: use 'new' keyword
477         for correctly hiding parent class' members.
478         (AddRange): use 'override' keyword on overriden method.
479         (Clear): likewise.
480         (Contains): likewise.
481         (IndexOf): likewise.
482         (OnCollectionChanged): likewise.
483         (OnCollectionChanging): likewise.
484         (RemoveCore): likewise.
485
486         * System.Data/DataColumnCollection.cs: use 'new' keyword.
487
488         * System.Data/DataSet.cs: added missing 'using's.
489         
490 2002-04-28  Rodrigo Moya <rodrigo@ximian.com>
491
492         * System.Data/DataSet.cs:
493         * System.Data/DataTableCollection.cs:
494         * System.Data/DataView.cs: compilation fixes on Linux.
495
496 2002-04-28  Daniel Morgan <danmorg@sc.rr.com>
497
498         * System.Data/DataRelation.cs
499         * System.Data/ForeignKeyConstraint.cs
500         * System.Data/UniqueConstraint.cs: added more stubs
501         
502         * System.Data/DataTableRelationCollection.cs: added back to cvs
503         and modified for compile errors.  DataRelationCollection is an
504         abstract class and there must be a class that implements for
505         DataTable/DataSet.  DataTableRelationCollection was changed
506         to an internal class.
507         
508         * System.Data.build: modified - new files added
509         also wanted to include files/classes in the build 
510         so we can get a compilable forward read only result set.
511         It compiles now using csc/nant with warnings, but this 
512         is a start for adding functionality for the result set.  
513         Classes associated with/and DataSet are still excluded.
514         
515         * TODO: modified - updated to do list for System.Data
516         
517         * System.Data/Constraint.cs
518         * System.Data/ConstraintCollection.cs
519         * System.Data/DataRelationCollection.cs
520         * System.Data/DataRow.cs
521         * System.Data/DataRowChangeEventArgs.cs
522         * System.Data/DataRowCollection.cs
523         * System.Data/DataTable.cs
524         * System.Data/DataTableCollection.cs
525         * System.Data/InternalDataCollectionBase.cs
526         * System.Data/PropertyCollection.cs: modified -
527         changes to compile SqlDataReader/DataTable and
528         dependencies
529         
530         * System.Data/IDbCommand.cs
531         * System.Data.SqlClient/SqlCommand.cs: modified -
532         un-commented overloaded methods ExecuteReader 
533         which returns a SqlDataReader
534
535 2002-04-28  Rodrigo Moya <rodrigo@ximian.com>
536
537         * System.Data/DataTableCollection.cs: more implementation.
538         (Count): added 'override' keyword, as pointer out by Martin.
539
540         * System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
541         only call Array.Copy when there is really stuff to be copied.
542         (CopyTo): don't create the temporary array, it's not needed.
543
544         * System.Data.build: excluded newly added file from build.
545
546 2002-04-27  Rodrigo Moya <rodrigo@ximian.com>
547
548         * System.Data/DataTableRelationCollection.cs: removed, it's not
549         on MS SDK documentation.
550
551         * System.Data/DataTableCollection.cs: new class.
552
553 2002-04-27  Daniel Morgan <danmorg@sc.rr.com>
554
555         * System.Data/DataRowChangeEventArgs.cs
556         * System.Data/DataRowCollection.cs
557         * System.Data/DataView.cs
558         * System.Data/PropertyCollection.cs: added new stubs
559
560         * System.Data.build: modified - added new files to exclude
561         from build
562         
563         * TODO: modified - removed files from TODO list 
564         that were stubbed above
565         
566         * System.Data/DataColumn.cs
567         * System.Data/DataRow.cs: modified - various tweaks
568         and added internal method SetTable to set the reference
569         to a DataTable
570         
571         * System.Data/DataSet.cs: modified - class was not
572         completely stubbed.
573         
574         * System.Data/DataTable.cs: modified - temporarily commented
575         DataSet and DataView references - trying to compile a SqlDataReader,
576         DataTable, and dependencies for a forward read-only result set.
577         SqlDataAdapter, DataSet, and DataView will come later once we can get
578         a forward read only result set working.
579         
580         * System.Data/IDataRecord.cs: modified - source code lines should
581         not be > 80
582         
583         * System.Data/InternalDataCollectionBase.cs: modified - started 
584         implementing this base class for collection of data rows,
585         columns, tables, relations, and constraints
586         
587         * System.Data.SqlClient/SqlException.cs: modified -
588         call base(message) so a unhandled exception displays
589         the message of a SQL error instead of the 
590         default SystemException message
591         
592         * Test/TestSqlException.cs: modified - 
593         handle the rollback properly for a SqlException on a
594         failure to connect
595
596 2002-04-23  Daniel Morgan <danmorg@sc.rr.com>
597
598         * System.Data.build: modified - added new
599         files to exclude from build 
600         
601         * System.Data/Constraint.cs
602         * System.Data/ConstraintCollection.cs
603         * System.Data/InternalDataCollectionBase.cs: added -
604         stubs which are needed to build DataTable.cs
605         
606         * TODO: modified - added more classes TODO and
607         added more stuff TODO, such as, create script
608         to create test database monotestdb for testing
609         classes in System.Data
610
611 2002-04-23  Rodrigo Moya <rodrigo@ximian.com>
612
613         * System.Data.Common/DataAdapter.cs:
614         * System.Data.Common/DataColumnMappingCollection.cs:
615         * System.Data.Common/DataTableMappingCollection.cs:
616         * System.Data.Common/DbDataPermission.cs:
617         * System.Data.Common/DbDataPermissionAttribute.cs: some
618         compilation errors fixed.
619
620 2002-04-23  Daniel Morgan <danmorg@sc.rr.com>
621
622         * TODO: modified - added classes TODO, and
623         a poor attempt at System.Data plan
624
625 2002-04-23  Daniel Morgan <danmorg@sc.rr.com>
626
627         * ChangeLog: modified - put tabs where they belong
628         
629         * System.Data.SqlClient/SqlDataReader.cs
630         * System.Data/DataColumn.cs: modified - compile errors
631         trying to compile SqlDataAdapter and dependencies
632
633 2002-04-23  Daniel Morgan <danmorg@sc.rr.com>
634
635         * System.Data.SqlTypes/SqlBoolean.cs
636         * System.Data.SqlTypes/SqlCompareOptions.cs
637         * System.Data.SqlTypes/SqlInt32.cs
638         * System.Data.SqlTypes/SqlString.cs: added - new stubs
639
640         * System.Data/DataTable.cs
641         * System.Data.SqlClient/SqlCommand.cs
642         * System.Data.SqlClient/SqlConnection.cs
643         * System.Data.SqlClient/SqlError.cs
644         * System.Data.SqlClient/SqlTransaction.cs: modified - 
645         misc. tweaks
646
647         * System.Data.SqlClient/SqlException.cs: modified -
648         missing Message on indexer for Message property
649
650 2002-04-21  Daniel Morgan <danmorg@sc.rr.com>
651
652         * System.Data.SqlClient/SqlCommand.cs: modified - to 
653         compile using mcs.  This problem is
654         returning a stronger type in csc vs. msc
655
656         * System.Data.SqlClient/SqlConnection.cs: modified - msc
657         can not do a using PGconn = IntPtr; and then declare
658         with PGconn pgConn = IntPtr.Zero;
659         Thiw works under csc though.  Had to comment using and
660         changed declaration to IntPtr pgConn = IntPtr.Zero;
661         Also, got rid of compile warnings for hostaddr and port.
662
663         * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
664         rid of compile warnings.  Commented MonoTODO attribute because mcs
665         doesn't seem to work with C# array property indexer (Item)
666         this[int index]
667
668         * System.Data.SqlClient/SqlParameterCollection.cs: modified -
669         commented MonoTODO attribute for indexer for mcs compiling
670
671         * Test/TestSqlIsolationLevel.cs:
672         * Test/TestSqlInsert.cs:
673         * Test/TestSqlException.cs: modified -
674         removed extra ExecuteNonQuery which caused two inserted rows
675
676 2002-04-20  Daniel Morgan <danmorg@sc.rr.com>
677
678         * System.Data/StateChangeEventArgs.cs - added
679         needed to compile System.Data.dll with mcs.  
680
681 2002-04-20  Daniel Morgan <danmorg@sc.rr.com>
682
683         * System.Data.OleDb: added directory - for OleDb database 
684         provider classes
685
686         * System.Data.SqlClient/SqlClientPermission.cs
687         * System.Data.SqlClient/SqlClientPermissionAttribute.cs
688         * System.Data.SqlClient/SqlCommandBuilder.cs
689         * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
690         * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
691         * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
692         * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
693         * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
694         * Test/TestSqlException.cs
695         * Test/TestSqlIsolationLevel.cs: added - more tests
696
697         * System.Data.build: modified - added new files - excludes these too
698
699         * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
700
701         * System.Data.SqlClient/SqlConnection.cs 
702         * System.Data.SqlClient/SqlCommand.cs
703         * System.Data.SqlClient/SqlTransaction.cs
704         * System.Data.SqlClient/SqlException.cs
705         * System.Data.SqlClient/SqlErrorCollection.cs
706         * System.Data.SqlClient/SqlError.cs: modified - transaction and
707         exception/error handling. SqlConnection(connectionString) 
708         constructor should not automatically connect.
709   
710         * System.Data.SqlClient/SqlDataReader.cs
711         * System.Data.SqlClient/SqlDataAdapter.cs
712         * System.Data.SqlClient/SqlParameter.cs
713         * System.Data.SqlClient/SqlParameterCollection.cs: modified - 
714         added using System.ComponentModel;
715   
716         * Test/TestSqlInsert.cs: modified - to use transaction
717
718 2002-04-17  Rodrigo Moya <rodrigo@ximian.com>
719
720         * System.Data/DataRow.cs: new skeletons.
721
722         * System.Data.Common/DataAdapter.cs:
723         * System.Data.Common/DataColumnMapping.cs:
724         * System.Data.Common/DataColumnMappingCollection.cs:
725         * System.Data.Common/DataTableMapping.cs:
726         * System.Data.Common/DataTableMappingCollection.cs:
727         * System.Data.Common/DbDataAdapter.cs:
728         * System.Data.Common/RowUpdatedEventArgs.cs:
729         * System.Data.SqlClient/SqlDataAdapter.cs:
730         * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
731         fixes for Linux.
732
733         * System.Data.Common/DbDataRecord.cs:
734         * System.Data.Common/DbEnumerator.cs: removed MS implementation
735         internal classes.
736
737 2002-04-17  Daniel Morgan <danmorg@sc.rr.com>
738
739         * Test/TestSqlInsert.cs: modified - do
740           a SQL DELETE before SQL INSERT of row so you can use this
741           test over and over.
742         
743         * System.Data.SqlClient/SqlTransaction.cs: modified - default
744           IsolationLevel for PostgreSQL is ReadCommitted.  However,
745           PostgreSQL allows Serializable as well. 
746       (Thanks to Gonzalo for that!)
747         
748         * System.Data.SqlClient/SqlConnection.cs: modified
749         * System.Data.SqlClient/SqlCommand.cs: modified
750         * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
751           working; however, we still need to implement SQL errors
752           and exceptions to properly handle transactions.  Also, added
753           status and error message support from the PostgreSQL database.
754           Currently, this does a Console.WriteLine() to display the
755           status and error messages, but this is a TODO 
756           for SQL errors and exceptions.
757         
758         * System.Data/TODOAttribute.cs: added - needed MonoTODO
759       attribute for System.Data.dll assembly 
760
761         * System.Data/IDbCommand.cs: modified - commented
762           overloaded method ExecuteReader 
763           so System.Data.SqlClient.SqlCommand can compile
764           
765         * System.Data/IDbCommand.cs: modified
766         * System.Data/IDbConnection.cs: modified - added using System;
767         * System.Data/IDataParameter.cs
768         
769         * System.Data.build: modified - build classes
770           in System.Data.SqlClient and exclude others in System.Data
771         
772         * System.Data.SqlClient/PostgresLibrary.cs: modified - change
773           parameter data type from IntPtr to enum ExecStatusType
774         
775         * ChangeLog: modified - corrected previous entries in log
776
777 2002-04-16  Rodrigo Moya <rodrigo@ximian.com>
778
779         * System.Data.Common/DataColumnMappingCollection.cs: added basic
780         implementation. Still missing some stuff.
781
782 2002-04-16  Daniel Morgan <danmorg@sc.rr.com>
783
784         * System.Data.SqlClient/SqlConnection.cs: modified - got 
785       to compile, run, and connect to PostgreSQL database
786       
787         * System.Data.SqlClient/SqlCommand.cs: modified - got 
788       to compile, run, and execute a SQL INSERT command 
789       which successfully inserted a row 
790       into the PostgreSQL database
791
792         * System.Data.SqlClient/SqlTransaction.cs: modified
793         * System.Data.SqlClient/SqlParameter.cs: modified
794         * System.Data.SqlClient/SqlParameterCollection.cs: modified
795         * System.Data.SqlClient/SqlError.cs: modified
796         * System.Data.SqlClient/SqlErrorCollection.cs: modified
797         * System.Data.SqlClient/SqlException.cs: modified
798         * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
799
800         * System.Data.SqlClient/SqlAdapter: modified
801         * System.Data.SqlClient/SqlReader: modified - add more stubs
802         
803 2002-04-16  Daniel Morgan <danmorg@sc.rr.com>
804
805         * Test/TestSqlInsert.cs: added 
806
807 2002-04-15  Daniel Morgan <danmorg@sc.rr.com>
808
809         * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
810           class SqlConnecition
811         * System.Data.SqlClient/SqlErrorCollection.cs: added
812         * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
813
814 2002-04-15  Christopher Podurgiel <cpodurgiel@msn.com>
815         
816         * System.Data.IDbDataParameter: Added Interface to IDataParameter.
817         * System.Data.IDbTransaction: Added Interface to IDisposable.
818         * System.Data.IDbCommand: Fixed Capitalization of class name.
819         * System.Data.IDbConnection: Fixed Capitalization of class name.
820
821 2002-04-15  Rodrigo Moya <rodrigo@ximian.com>
822
823         * System.Data.Common/DbDataPermissionAttribute.cs:
824         * System.Data.Common/DataAdapter.cs:
825         * System.Data.Common/DataColumnMapping.cs:
826         * System.Data.Common/DbDataPermission.cs: added some implementation.
827
828 2002-04-15  Rodrigo Moya <rodrigo@ximian.com>
829
830         * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
831         syntax, as pointed out by Levent Camlibel.
832
833 2002-04-14  Rodrigo Moya <rodrigo@ximian.com>
834
835         * System.Data.SqlTypes/SqlBinary.cs:
836         * System.Data.SqlTypes/INullable.cs: new skeletons.
837
838 2002-04-14  Daniel Morgan <danmorg@sc.rr.com>
839
840         * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
841         contains all calls the the PostgreSQL client library, to be used
842         everywhere in System.Data.SqlClient.
843
844 2002-03-30  Rodrigo Moya <rodrigo@ximian.com>
845
846         * System.Data.SqlClient/SqlConnection.cs: implemented basic
847         constructors.
848
849         * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
850
851 2002-03-29  Rodrigo Moya <rodrigo@ximian.com>
852
853         * System.Data.Common/DbDataRecord.cs:
854         * System.Data.Common/DbEnumerator.cs:
855         * System.Data.Common/RowUpdatedEventArgs.cs:
856         * System.Data.Common/RowUpdatingEventArgs.cs:
857         * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
858
859 2002-03-28  Rodrigo Moya <rodrigo@ximian.com>
860
861         * System.Data.Common/DataTableMappingCollection.cs:
862         * System.Data.Common/DbDataAdapter.cs:
863         * System.Data.Common/DbDataPermission.cs:
864         * System.Data.Common/DataTableMapping.cs: new skeletons.
865
866         * System.Data.SqlClient/SqlDataAdapter.cs:
867         * System.Data.SqlClient/SqlDataReader.cs:
868         * System.Data.SqlClient/SqlErrors.cs:
869         * System.Data.SqlClient/SqlError.cs:
870         * System.Data.SqlClient/SqlException.cs:
871         * System.Data.SqlClient/SqlParameter.cs:
872         * System.Data.SqlClient/SqlParameterCollection.cs:
873         * System.Data.SqlClient/SqlTransaction.cs:
874         * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
875
876 2002-03-27  Rodrigo Moya <rodrigo@ximian.com>
877
878         * System.Data.Common/DataColumnMapping.cs:
879         * System.Data.Common/DataColumnMappingCollection.cs:
880         * System.Data.Common/DataAdapter.cs: created skeletons.
881
882         * System.Data.build: exclude new directories from build.
883
884 2002-03-27  Rodrigo Moya <rodrigo@ximian.com>
885
886         * System.Data.SqlClient/SqlTransaction.cs: started implementation.
887         
888         * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
889         implemented (2 methods).
890
891 2002-03-24  Duncan Mak  <duncan@ximian.com>
892
893         * System.Data.build: Excluded System.Data.SqlClient from the build.
894         The stubs are incomplete and they are stopping the build.
895
896         * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
897
898 2002-03-24  Rodrigo Moya <rodrigo@ximian.com>
899
900         * System.Data.SqlClient/*: added skeletons for the SQL managed
901         provider for ADO.Net, to be based initially in PostgreSQL.
902
903 2002-03-15  Christopher Podurgiel <cpodurgiel@msn.com>
904         
905         Changed the Namespace on some Enums from mono.System.Data to System.Data
906
907 2002-03-01  Christopher Podurgiel <cpodurgiel@msn.com>
908
909         * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a 
910                 default name if the ColumnName is null.
911         * DataSet.cs : Added
912         * DataTable.cs : Added
913         * DataRelationCollection.cs : Added
914         * DataTableRelationCollection.cs : Added
915         * DataColumn : Added
916
917 2002-02-11  Christopher Podurgiel <cpodurgiel@msn.com>
918
919         * DataColumnChangeEventArgs.cs : Added
920         * DataColumnCollection.cs : Added
921
922 2002-02-10  Christopher Podurgiel <cpodurgiel@msn.com>
923         
924         * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
925         * Updated all Enums, Interfaces, and Delegates in System.Data