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