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