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