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