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