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