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