1 2002-08-21 Rodrigo Moya <rodrigo@ximian.com>
3 * System.Data.OleDb/libgda.cs: adapted to changes in libgda (get_vtype
4 and get_type for GdaValue).
6 * System.Data.OleDb/OleDbDataReader.cs: adapted to changes in
9 2002-08-20 Rodrigo Moya <rodrigo@ximian.com>
11 * System.Data.OleDb/OleDbConnection.cs (DataReader): new internal
13 (Close): set the dataReader to null.
15 * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader): set the
16 connection's DataReader property to this object.
17 (Close): set it to null here.
18 (Depth, IsDbNull): implemented.
19 (this): implemented the Item property with a string indexer.
21 * System.Data.OleDb/OleDbCommand.cs (ExecuteNonQuery, ExecuteReader,
22 ExecuteScalar): do nothing if there's already an open data reader.
24 * System.Data.OleDb/libgda.cs: more API functions.
26 * System.Data.OleDb/TestOleDb.cs (TestDataReader): close the data
27 reader before continuing.
29 2002-08-20 Franklin Wise <gracenote@earthlink.net>
31 * System.Data/System.Data.build: added nowarn:0679
33 * System.Data/System.DataTable: cleaned up class, added MonoTODO tags
34 setup to begin implementing. Implemented ctor().
36 * Tests: See System.Data\Test\ChangeLog
39 2002-08-19 Rodrigo Moya <rodrigo@ximian.com>
41 * System.Data.OleDb/OleDbSchemaGuid.cs: initialize static members.
43 2002-08-19 Franklin Wise <gracenote@earthlink.net>
45 * Tests: See System.Data\Test\ChangeLog
47 * System.Data/UniqueConstraint.cs: More validation.
49 * System.Data/ForeignKeyConstraint.cs: Added more validation rules.
50 Another LAMESPEC tag. Implemented more of Add/Remove Setup/Cleanup
53 * System.Data/DataTable.cs: Added more MonoTODO tags
55 * class/System.Data/.cvsignore: added tmp & Temp
57 * System.Data/Constraint.cs: Changed abstract helpers to virtual and
60 * System.Data/ConstraintCollection.cs: Commented out unused line.
62 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
64 * System.Data.OleDb/OleDbConnection.cs (ChangeDatabase): implemented.
66 * System.Data.OleDb/OleDbException.cs (OleDbException): added internal
68 (ErrorCode, Message, Source, Errors): implemented.
70 * System.Data.OleDb/OleDbError.cs: implemented the full class.
72 * System.Data.OleDb/libgda.cs: added more libgda functions.
74 * System.Data.OleDb/TestOleDb.cs (TestOleDb): display properties for
75 the opened connection.
77 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
79 * System.Data.OleDb/OleDbConnection.cs (ServerVersion): implemented.
81 * System.Data.OleDb/OleDbDataReader.cs (Close): clear the results
82 ArrayList after releasing the items.
83 (GetName, GetDateTime, GetDouble, GetSingle, GetInt16, GetInt32,
84 GetOrdinal, GetString): implemented.
85 (GetDataTypeName): made it get the type from the data model, not from
86 the current value, which could not have been retrieved yet.
87 (GetValue): call the Get* method corresponding with the data type of
90 * System.Data.OleDb/libgda.cs: added more libgda functions.
91 (GdaTimestamp, GdaDate, GdaTime): new marshalled structures.
93 * System.Data.OleDb/TestOleDb.cs (TestDateReader): display column
94 titles via OleDbDataReader.GetName ().
95 (TestOleDb): create temporary table with a date field.
96 (InsertRow): set current date for the date field.
98 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
100 * System.Data.OleDb/OleDbDataReader.cs (this[]): made it just call
101 GetValue, which will take care of all the work needed.
102 (Close): implemented basic stuff.
103 (~OleDbDataReader): implemented.
105 * System.Data.OleDb/libgda.cs: added more needed functions.
107 2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
109 * System.Data.OleDb/TestOleDb.cs: made it work with a temporary table
111 (TestTransaction): added test for transactions.
113 2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
115 * System.Data.OleDb/libgda.cs: added new needed libgda functions.
117 * System.Data.OleDb/OleDbDataReader.cs (GetBoolean): throw exceptions
118 when there are errors.
119 (GetByte, GetChar, GetDataTypeName, GetValue, Read): implemented.
121 * System.Data.OleDb/TestOleDb.cs: added more testing code for data
124 2002-08-15 Rodrigo Moya <rodrigo@ximian.com>
126 * System.Data.OleDb/libgda.cs: added new needed libgda functions.
128 * System.Data.OleDb/OleDbParameterCollection.cs (GdaParameterList):
129 create an empty GdaParameterList.
131 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): check values
132 for NULL before passing them to Marshal.PtrToStructure, which issues
133 an exception if the value is NULL.
135 2002-08-15 Rodrigo Moya <rodrigo@ximian.com>
137 * System.Data/UniqueConstraint.cs (UniqueConstraint): commented
138 unreachable code to avoid compiler warning.
140 * System.Data.OleDb/libgda.cs (GdaList): added new internal class.
142 * System.Data.OleDb/OleDbConnection.cs (DataSource): implemented.
143 (OpenReader): removed internal method.
145 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): split correctly
146 the list of returned data models.
148 2002-08-15 Franklin Wise <gracenote@earthlink.net>
150 * System.Data/Constraint.cs: Added helper virtual functions
152 * System.Data/ConstraintCollection.cs: Improved constraint removal,
153 validation. Removed specific knowledge of subclasses of
156 * System.Data/DataColumn.cs: Added static helper function to compare
157 if two DataColumn arrays are the same.
159 * System.Data/ForeignKeyConstraint.cs: Continued to flush out.
161 * System.Data/UniqueConstraint.cs: Implemented. Still some constraint
164 2002-08-13 Franklin Wise <gracenote@earthlink.net>
166 * System.Data/DataRow.cs: Added several fixme tags.
168 2002-08-13 Rodrigo Moya <rodrigo@ximian.com>
170 * System.Data.SqlClient/SqlDataAdapter.cs (DeleteCommand,
171 InsertCommand, SelectCommand, UpdateCommand): removed 'new' keyword
172 to avoid compiler warnings.
174 2002-08-12 Franklin Wise <gracenote@earthlink.net>
176 * System.Data/Constraint.cs: Implemented
178 * System.Data/UniqueConstraint.cs: GetHashCode() &
179 special case Ctor. Still need to be implemented. LAMESPEC tags
182 * System.Data/ConstraintCollection.cs: Clear() &
183 AddRange() need to be finished. Several LAMESPEC tags.
185 * Allow Constraint collection to be created in DataTable.
187 * System.Data/ForeignKeyConstraint: Added a couple of
190 * System.Data/DataColumnCollection New/Added DataColumns now have
193 2002-08-11 Rodrigo Moya <rodrigo@ximian.com>
195 * System.Data.OleDb/libgda.cs: added some GdaValue functions.
197 * System.Data.OleDb/OleDbCommand.cs (OpenReader): removed this
198 internal method, since we don't need it.
199 (ExecuteReader): call SetupGdaCommand before executing the command
200 via libgda functions.
201 (ExecuteScalar): implemented.
203 * System.Data.OleDb/OleDbDateReader.cs (OleDbDataReader): removed call
204 to OleDbCommand.OpenReader.
205 (GetBoolean): implemented.
207 2002-08-08 Franklin Wise <gracenote@earthlink.net>
209 * System.Data/IDbComand.cs: IDbCommand now inherits IDisposable
211 * System.Data/IDbConnection.cs: IDbConnection now inherits IDisposable
213 * System.Data.SqlTypes/SqlCompareOptions.cs: Enum now set to correct
216 2002-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
218 * System.Data.OleDb/OleDbConnection.cs: little fixes to make it work
219 and don't show a warning in Open.
221 * System.Data.OleDb/TestOleDb.cs: added Close.
223 2002-08-05 Rodrigo Moya <rodrigo@ximian.com>
225 * System.Data.OleDb/OleDbConnection.cs (ConnectionString,
226 ConnectionTimeout, ServerVersion, GdaConnection):
228 (OleDbConnection): call libgda.gda_init on constructor.
230 * System.Data.OleDb/libgda.cs (libgda): removed static constructor,
231 which wasn't been called.
233 * System.Data.OleDb/TestOleDb.cs (TestOleDb): updated to really
236 2002-08-04 Rodrigo Moya <rodrigo@ximian.com>
238 * list: added missing System.Data.OleDb and
239 System.Data.Common files.
241 * System.Data.OleDb/ChangeLog: removed and merged with
242 System.Data's ChangeLog.
244 * System.Data.OleDb/OleDbDataAdapter.cs:
245 * System.Data.OleDb/OleDbPermission.cs: compilation fixes.
247 2002-07-30 Rodrigo Moya <rodrigo@ximian.com>
249 * System.Data.OleDb/OleDbDataReader.cs (FieldCount): implemented.
250 (IsClosed, Item, RecordsAffected): implemented some properties.
252 * libgda.cs: added GdaDataModel methods.
254 2002-07-29 Rodrigo Moya <rodrigo@ximian.com>
256 * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader constructor): changed to receive
257 a second argument (ArrayList results).
258 (NextResult): implemented.
260 * System.Data.OleDb/OleDbCommand.cs: don't store the ArrayList of results, since we'll
261 pass that to the OleDbDataReader.
262 (OleDbCommand constructor): don't create the ArrayList of results.
263 (GdaResults): removed property.
264 (ExecuteReader): create a temporary ArrayList and pass that to the
265 OleDbDataReader constructor.
267 2002-07-28 Rodrigo Moya <rodrigo@ximian.com>
269 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader):
270 (CreateParameter): implemented IDbCommand methods.
271 (CommandText): don't create many GdaCommand's, only one is needed.
272 (ExecuteNonQuery): set up the internal GDA command object.
273 (ExecuteReader): use correctly the unique GDA command object.
275 * System.Data.OleDb/libgda.cs: added new libgda calls.
277 2002-07-27 Rodrigo Moya <rodrigo@ximian.com>
279 * System.Data.OleDb/OleDbConnection.cs (CreateCommand):
280 (BeginTransaction): implemented IDbConnection methods.
282 2002-07-12 Rodrigo Moya <rodrigo@ximian.com>
284 * list: added System.Data.OleDb files to file list.
286 2002-07-11 Rodrigo Moya <rodrigo@ximian.com>
288 * System.Data.OleDb/libgda.cs: added new libgda functions and some enumerations.
290 * System.Data.OleDb/OleDbParameter.cs (IsNullable): removed explicit implementation
291 of the set method for this property.
293 * System.Data.OleDb/OleDbDataAdapter.cs (MissingMappingAction): implemented.
294 (MissingSchemaAction): implemented.
296 2002-07-10 Tim Coleman <tim@timcoleman.com>
298 * System.Data.OleDb/OleDbCommandBuilder.cs: Added new methods, properties
299 * System.Data.OleDb/OleDbConnection.cs: Modified constructor
300 * System.Data.OleDb/OleDbError.cs: Added stubbs
301 * System.Data.OleDb/OleDbException.cs: Added stubbs
302 * System.Data.OleDb/OleDbInfoMessageEventArgs.cs: Added stubbs
303 * System.Data.OleDb/OleDbInfoMessageEventHandler.cs: style change
304 * System.Data.OleDb/OleDbParameter.cs: Added conversion from type to OleDbType
305 * System.Data.OleDb/OleDbPermission.cs: Added stubbs
306 * System.Data.OleDb/OleDbSchemaGuid.cs: Added stubbs
307 * System.Data.OleDb/OleDbTransaction.cs: New constructors, changes to methods to
308 support transaction nesting
309 * System.Data.OleDb/libgda.cs: Added my name to this file
311 2002-07-09 Tim Coleman <tim@timcoleman.com>
313 * System.Data.OleDb/OleDbCommand.cs: Style changes, added new methods
314 * System.Data.OleDb/OleDbConnection.cs: Style changes, added new methods
315 * System.Data.OleDb/OleDbDataAdapter.cs: Implementation
316 * System.Data.OleDb/OleDbDataReader.cs: Added stubbs
317 * System.Data.OleDb/OleDbErrorCollection.cs: Added stubbs, some implementation
318 * System.Data.OleDb/OleDbParameter.cs: Style changes, added new methods
319 * System.Data.OleDb/OleDbParameterCollection.cs: Style changes, added new methods
320 * System.Data.OleDb/OleDbPermissionAttribute.cs: Style changes, added new methods
321 * System.Data.OleDb/OleDbRowUpdatedEventArgs.cs: Added stubbs
322 * System.Data.OleDb/OleDbRowUpdatingEventArgs.cs: Added stubbs
323 * System.Data.OleDb/OleDbTransaction.cs: Style changes, added new methods
324 * System.Data.OleDb/OleDbType.cs: Fixed two typos
325 * System.Data.OleDb/libgda.cs: Style changes, added new methods
327 2002-07-09 Tim Coleman <tim@timcoleman.com>
329 * System.Data.build: remove restriction on System.Data.OleDb build
331 2002-06-03 Rodrigo Moya <rodrigo@ximian.com>
333 * System.Data.OleDb/OleDbParameterCollection.cs (GetEnumerator, SyncRoot,
334 IsSynchronized): implemented.
336 2002-06-02 Rodrigo Moya <rodrigo@ximian.com>
338 * System.Data.OleDb/OleDbTransaction.cs (Dispose): added missing method.
340 * System.Data.OleDb/OleDbCommand.cs (Clone): added missing methods.
341 (Parameters, Transaction, Connection): made these overload
344 * System.Data.OleDb/OleDbParameterCollection.cs (IndexOf, Remove, RemoveAt):
345 call m_list methods, not own ones.
347 * System.Data.OleDb/OleDbParameter.cs: more implementation.
349 2002-06-02 Rodrigo Moya <rodrigo@ximian.com>
351 * System.Data.OleDb/OleDbTransaction.cs (Connection, IsolationLevel, Begin,
352 Commit, Rollback): implemented.
353 (GdaConnection): added new internal property.
355 * System.Data.OleDb/OleDbParameter.cs:
356 * System.Data.OleDb/OleDbParameterCollection.cs: implemented some methods and
359 * System.Data.OleDb/libgda.cs: added yet more libgda API functions.
361 2002-06-01 Rodrigo Moya <rodrigo@ximian.com>
363 * System.Data.OleDb/libgda.cs: added new libgda API functions.
365 * System.Data.OleDb/OleDbConnection.cs (Provider): implemented.
366 (BeginTransaction): made it overload IDbConnection methods.
367 (ChangeDatabase): new stub, needs some work on libgda for being
370 (Close): implemented.
371 (CreateCommand): implemented.
372 (GetOleDbSchemaTable): new stub, until I understand what to do here.
373 (Open): implemented basic stuff, which is just supporting connection
374 strings that represent a GDA data source name. More to come.
375 (InfoMessage, StateChange): added events.
377 * System.Data.OleDb/TestOleDb.cs: test program for System.Data.OleDb.
379 2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
381 * System.Data.OleDb/libgda.cs: added static constructor.
382 (GdaClient): new static property to get the underlying GdaClient
385 * System.Data.OleDb/OleDbConnection.cs: removed GDA initialization, which belongs to
386 the static 'libgda' class.
388 2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
390 * System.Data.OleDb/libgda.cs: static class for libgda API calls.
392 * System.Data.OleDb/OleDbConnection.cs: implemented constructors.
393 (ConnectionString, Connectiontimeout, Database, State):
394 implemented class properties.
395 (BeginTransaction): implemented.
397 * System.Data.OleDb/OleDbTransaction.cs: implemented protected constructors.
399 * System.Data.OleDb/TestGDA.cs: simple test for libgda API.
401 2002-05-27 Rodrigo Moya <rodrigo@ximian.com>
403 * System.Data.OleDb/*: started System.Data.OleDb provider, based on libgda.
405 2002-06-06 Rodrigo Moya <rodrigo@ximian.com>
407 * list: added missing PostgresTypes.cs file.
409 2002-06-02 Francisco Jr. <fxjrlists@yahoo.com.br>
411 * System.Data.SqlClient/SqlParameterCollection.cs: implemented missing
414 2002-05-30 Daniel Morgan <danmorg@sc.rr.com>
416 * System.Data.SqlClient/SqlConnection.cs: modifed -
417 start to implement the interfaces properly and
418 properly doing a Close(), Dispose(), and
421 * Test/SqlSharpCli.cs: modified -
422 add support for MySQL in Mono.Data.MySql
423 and OleDb support in System.Data.OleDb. However,
424 the OleDb support is commented right now.
425 When the program starts up, a shorter help menu should
426 display the most important commands: help and quit
428 2002-05-28 Rodrigo Moya <rodrigo@ximian.com>
430 * System.Data.build: exclude System.Data.OleDb files.
432 2002-05-27 Daniel Morgan <danmorg@sc.rr.com>
434 * System.Data.SqlClient/SqlCommand.cs: typo
435 should be CommandBehavior.KeyInfo
437 * Test/SqlSharpCli.cs: refactored and added a few more
440 2002-05-27 Tim Coleman <tim@timcoleman.com>
441 * list: update to compile properly (add missing
442 files and switch path delimiter from '\' to '/').
444 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
446 * System.Data/DataRow.cs
447 * System.Data.Common/DbDataAdapter.cs: fix to
448 get Test/TestSqlDataAdapter.cs to work again
450 * Test/TestSqlDataAdapter.cs: removed comment
451 about SqlDataReader:NextResult() not being implemented; it
454 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
456 * System.Data/DataRow.cs: modified
457 support setting of DBNull.Value
458 using the Item indexer this[DataColumn]
460 * System.Data.SqlClient/SqlCommand.cs: modified
461 tweaks to show TODO's for other CommandBehavior.
462 Set AllowDBNull column to true for IsKey row
465 * System.Data.SqlClient/SqlConnection.cs: modified
466 if transaction is in progress when a Close() is called,
467 do a transaction Rollback.
469 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
471 * Test/SqlSharpCli.cs: added file
472 My new toy. SQL# is a command-line tool to enter
473 SQL commands and queries using Mono System.Data.
474 It also serves as a test for Mono System.Data.
476 * System.Data.SqlClient/SqlCommand.cs: modified
477 - ExecuteNonQuery(), ExecuteScalar(), and ExecuteReader()
478 should handle the results from SQL Commands and Queries.
479 - Internal class SqlResult should not create schema Table
480 for the result from a SQL Command. Also, set the RecordsRetrieved
481 property for SqlDataReader.
482 - Closing the SqlDataReader should Close() the SqlConnection for
483 a CommandBehavior.CloseConnection.
484 - Set defaults for SqlResult
486 * System.Data.SqlClient/SqlConnection.cs: modified -
487 when SqlDataReader is Close()
488 should Close() the SqlConnection for
489 a CommandBehavior.CloseConnection. Changed internal Property
490 from OpenReader get/set to IsReaderOpen get and created
491 internal methods OpenReader()/CloseReader() for SqlCommand to call.
492 SqlConnection needs to be prevented from doing while SqlDataReader
495 * System.Data.SqlClient/SqlDataReader.cs: modified -
496 call SqlCommand's OpenReader() internal method. get
497 RecordsRetrieved from SqlResult. set/reset default
498 values for SqlDataReader.
500 * Test/PostgresTest.cs
501 * Test/TestExecuteScalar.cs
502 * Test/TestSqlDataReader.cs: modified
503 for the Execute...() methods in SqlCommand
504 to test SQL Queries and Commands
506 * Test/System.Data_test.build: modified
507 exclude new file Test/SqlSharpCli.cs from
510 2002-05-24 Tim Coleman <tim@timcoleman.com>
511 * System.Data.Common/DbDataAdapter.cs: remove IDbCommands, except
512 for get accessors. These should be implemented in derived classes. See
513 SqlDataAdapter for clues.
514 * System.Data.SqlClient/SqlDataAdapter.cs: implement IDbDataAdapter
515 * System.Data.Common/DataAdapter.cs:
516 * System.Data.Common/DataTableMappingCollection.cs:
517 * System.Data.Common/DataTableMapping.cs:
518 * System.Data.Common/DataColumnMappingCollection.cs:
519 * System.Data.Common/DataColumnMapping.cs:
520 Properly (I hope!) implement all of the appropriate interfaces
524 2002-05-23 Tim Coleman <tim@timcoleman.com>
525 * System.Data.SqlClient/SqlCommand.cs: include
526 the BaseColumnName in the schema table. Was missed before.
527 * System.Data.Common/DbDataAdapter.cs: Use DataTable
528 mappings so that the DataSet and DataTable are more closely tied.
529 Get schema information from the DataTable using GetSchemaTable ()
530 Various other little fixes
531 * System.Data.Common/DataColumnMappingCollection.cs:
532 * System.Data.Common/DataTableMapping.cs:
533 * System.Data.Common/DataTableMappingCollection.cs: Some
534 implementation, enough to be used by DbDataAdapter.
536 2002-05-23 Daniel Morgan <danmorg@sc.rr.com>
538 * System.Data.SqlClient/SqlCommand.cs: set
539 the "ProviderType" to the PostgreSQL type oid
541 * System.Data.SqlClient/SqlDataReader.cs: fix
542 for various properties and methods that
543 return meta data: Item indexers this[name] and this[index],
544 GetFieldType, GetName, and GetOrdinal. SqlDataAdapter
547 2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
549 * System.Data/DataRow.cs: change suggested
550 by tim: in Item indexer, do an EndEdit()
552 * System.Data.SqlClient/SqlCommand.cs: more
553 fixes to SqlResult. After setting each item in
554 the DataRow, do an AcceptChanges() to commit
555 the changes in the DataRow. For DataType, use a Type
556 of System.String since System.Type nor System.Object
559 * Test/TestSqlDataReader.cs
560 * Test/PostgresTest.cs: updated to to be on
561 the way schema table is suppose to work
563 2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
565 * System.Data.SqlClient/SqlCommand.cs: more work on
566 building the schema table
568 2002-05-22 Tim Coleman <tim@timcoleman.com>
569 * System.Data.SqlClient/SqlCommand.cs: preliminary work
570 on getting the schema table correctly built.
572 2002-05-21 Daniel Morgan <danmorg@sc.rr.com>
574 * System.Data.SqlClient/ParmUtil.cs: added file - to
575 provide utility for conversion of input parameters
577 * System.Data.SqlClient/PostgresTypes.cs: added file -
578 moved the PostgreHelper class to here. May eventually
579 move the internal class PostgresTypes that's inside the
580 SqlConnection to here as well.
581 Handling of PostgreSQL <-> .NET types need to be though
582 out more. Also, the PostgreHelper has a method to convert
583 from .NET types to a string which can be put into used in
584 an SQL statement to execute against a PostgreSQL database.
585 This is the beginnings of parameters support. It currently
586 only supports input parameters. Still need to do output,
587 input/output, and return parameters.
589 * Test/TestSqlParameters.cs: new test to test the input
590 parameters in System.Data.SqlClient against a
593 * System.Data.SqlClient/PostgresLibrary.cs: moved
594 PostgresHelper class to file PostgresTypes.cs. Also
595 moved struct PostgresType there too.
597 * System.Data.SqlClient/SqlCommand.cs: added input
600 * System.Data.SqlClient/SqlParameter.cs: got
603 * System.Data.SqlClient/SqlParameterCollection.cs: got
604 SqlParameterCollection to work
606 * Test/System.Data_test.build: added files to exclude
609 * System.Data.SqlClient/SqlConnection.cs: release resources
612 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
614 * System.Xml: added directory for classes with namespace
615 System.Xml to go into the System.Data.dll assembly
617 * System.Xml/XmlDataDocument: added file
618 for stubbed concrete class XmlDataDocument which
619 inherits from XmlDocument. Its purpose is to provide
620 a W3C XML DOM Document for relational data and interacting
623 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
625 * System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
626 Text, TableDirect, and StoredProcedure
628 * Test/PostgresTest.cs: changed call to version()
629 stored procedure to use the CommandType of StoredProcedure
631 * Test/TestSqlDataReader.cs: test all the CommandTypes
633 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
635 * System.Data.build: took out all excluded
636 files except the ones in the Test directory
637 because all files compile now. It does not
638 mean they all work or have implementations
641 * System.Data/DataRelationCollection.cs
642 * System.Data/DataTableRelationCollection.cs
643 * System.Data/InternalDataCollectionBase.cs
644 * System.Data.Common/DbDataPermission.cs
645 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs
646 * System.Data.SqlClient/SqlClientPermission.cs
647 * System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
648 to get all System.Data* files to compile.
650 * System.Data.SqlClient/SqlCommand.cs: started coding
651 to prevent SqlConnection and SqlCommand from doing
652 anyting while fetching data using SqlDataReader. Also,
653 started coding to undo this prevention once the
654 SqlDataReader is closed.
656 * System.Data.SqlClient/SqlConnection.cs: get database server
657 version. Started coding to prevent connection from
658 doing anything while fetching data and undo once the reader
659 is closed. Include events SqlInfoMessage and StateChange.
661 * System.Data.SqlClient/SqlDataReader.cs: start coding to
662 prevent connection and command from doing anything while
663 fetching data, and undo when closed.
665 * Test/PostgresTest.cs: added test to get ServerVersion
666 property from SqlConnection
668 2002-05-18 Tim Coleman <tim@timcoleman.com>
669 * System.Data/DataRow.cs: More implementation,
670 as well as boundary checks and small semantic
673 2002-05-18 Tim Coleman <tim@timcoleman.com>
674 * System.Data/DataRow.cs: Try to reduce memory
675 usage by only creating the original and proposed
676 arrays as required in BeginEdit, and then destroying
677 proposed during EndEdit, and original during AcceptChanges.
678 * System.Data.Common/DbDataAdapter.cs: Make the
679 startRecord and maxRecords parameters work correctly.
681 2002-05-18 Tim Coleman <tim@timcoleman.com>
682 * System.Data/DataRow.cs: Move the null check in
683 ItemArray set to above the Invalid Cast check, so
684 that we don't get null reference exceptions.
686 2002-05-17 Daniel Morgan <danmorg@sc.rr.com>
688 * System.Data.SqlClient/PostgresLibrary.cs: handle
689 data value from database being NULL
691 * System.Data.SqlClient/SqlCommand.cs: for ExecuteReader,
692 allow multiple result sets. Added new internal class
693 SqlResult to pass result set data from SqlCommand
696 * System.Data.SqlClient/SqlDataReader.cs: allow
697 multiple result sets.
699 * System.Data.SqlClient/SqlConnection.cs: moved
700 things around. Implement IDisposable.
702 * Test/TestSqlDataReader.cs: test for execution
703 of multiple result sets and display the results
704 of these multiple results sets
706 * Test/TestSqlDataAdapter.cs: tweaks
708 2002-05-17 Tim Coleman <tim@timcoleman.com>
709 * System.Data.Common/DbDataAdapter.cs:
710 - More implementation of Fill methods
711 - Get rid of isDirty flag, because we can just check
713 - Do *not* remove DataTables before Filling them
714 - Implicitly open the connection before doing a Fill
715 if it does not exist.
716 * System.Data.SqlClient/SqlDataAdapter.cs:
718 * System.Data/DataTableCollection.cs:
719 - Add DataSet to internal, undocumented constructor
720 - When a table is created, set its DataSet property
721 - Default table name for creation is "Table1" (see .NET)
722 - Inherit the ArrayList list from InternalDataCollecitonBase
723 and maintain a hashtable between table names and
725 * System.Data/DataTable.cs:
726 - Add internal dataSet field. This is used by
727 DataTableCollection when the DataTable is constructed.
728 * System.Data/DataSet.cs:
729 - Pass a reference to the DataSet when constructing the
732 2002-05-16 Tim Coleman <tim@timcoleman.com>
733 * System.Data.Common/DbDataAdapter.cs:
734 Use table.Rows.Add (itemArray) instead of
735 table.Rows.Add (thisRow) to provide better
737 * System.Data/DataRowCollection.cs:
738 Some implementation of this class.
739 * System.Data/InternalDataCollectionBase.cs:
740 Some implementation. Most notably, this now
741 has an enumerator so we can use foreach (DataRow row in table.Rows)
743 * System.Data/DataTable.cs:
744 Since DataRowCollection now accepts a DataTable in
745 its internal constructor, we must pass one in.
747 2002-05-16 Daniel Morgan <danmorg@sc.rr.com>
749 * Test/TestSqlDataAdapter.cs: added new test
750 for SqlDataAdapter, DataSet, DataTableCollection, DataTable,
751 DataRowCollection, and DataRow. It tests retrieving data
752 based on a SQL SELECT query. This test is based on Tim Coleman's
755 2002-05-16 Tim Coleman <tim@timcoleman.com>
756 * System.Data.Common/DbDataAdapter.cs:
757 Use table.Rows.Add (thisRow) instead of
758 table.ImportRow (thisRow)
759 * System.Data/DataRowCollection.cs:
760 Construct the ArrayList before using it
762 2002-05-16 Tim Coleman <tim@timcoleman.com>
763 * System.Data/DataTable.cs:
764 Construct the DataRowCollection in the DataTable
765 constructor. Otherwise, it's a null reference.
767 2002-05-16 Tim Coleman <tim@timcoleman.com>
768 * System.Data.SqlClient/SqlDataReader.cs:
769 Modify GetValues to use Array.Copy() to copy
770 the results from fields to values, rather than
771 an assignment, which results in loss of data.
773 2002-05-16 Tim Coleman <tim@timcoleman.com>
774 * System.Data/DataRow.cs:
775 More implementation and documentation. It should
776 work more like expected, although there is no way
777 to demonstrate this well yet. DataTable requires
780 2002-05-15 Tim Coleman <tim@timcoleman.com>
781 * System.Data/DataRow.cs:
782 Minor tweaks as I determine exactly how to
783 implement this class.
786 2002-05-14 Duncan Mak <duncan@ximian.com>
788 * System.Data/DataTable.cs (NewRow): Added missing paren to fix build.
790 2002-05-14 Tim Coleman
791 * System.Data/DataRow.cs:
792 * System.Data/DataRowBuilder.cs:
793 * System.Data/DataTable.cs:
794 More implementation of these classes. DataRow
795 can now (possibly) do some useful things.
796 Still not sure what DataRowBuilder is all about,
797 other than passing a DataTable in.
799 2002-05-14 Tim Coleman
800 * System.Data/DataRowBuilder.cs:
801 Add stubb for this internal class.
803 2002-05-13 Tim Coleman
804 * System.Data.Common/DbDataAdapter.cs:
805 The maxRecords check was not correct.
807 2002-05-13 Tim Coleman
808 * System.Data/DataTableCollection.cs:
809 Fix an issue when adding a DataTable and size == 0.
810 Now explicitly checks if size > 0 before doing Array.Copy ()
811 * System.Data.Common/DbDataAdapter.cs:
812 Move closer to a working implementation.
813 Make the IDbCommand fields protected so that they can
815 * System.Data.SqlClient/SqlDataAdapter.cs:
816 This should inherit the IDbCommands instead of having its
817 own. An explicit cast is used to force conversion between
818 IDbCommand and SqlCommand
820 2002-05-13 Tim Coleman
821 * System.Data.Common/DataTableMappingCollection.cs:
822 Some implementation to allow progress with DbDataAdapter
824 2002-05-13 Tim Coleman
825 * System.Data.Common/DbDataAdapter.cs:
826 Modify to not break compile.
828 2002-05-13 Tim Coleman
830 include SqlDataAdapter, SqlRowUpdatedEventArgs,
831 SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
832 SqlRowUpdatingEventHandler in the build.
834 2002-05-13 Tim Coleman
835 * System.Data.Common/DbDataAdapter.cs:
837 * System.Data.Common/DataAdapter.cs:
838 Correction of some of the stubbing, as well as a
839 little bit more implementation
841 2002-05-11 Tim Coleman
842 * System.Data.SqlClient/SqlDataAdapter.cs:
843 * System.Data.Common/DbDataAdapter.cs:
844 Moved methods that weren't supposed to
845 be in SqlDataAdapter out. They should be implemented
849 2002-05-11 Tim Coleman
850 * System.Data.SqlClient/SqlDataAdapter.cs:
851 some implementation of this class. Note
852 that none of the functionality has been
853 tested yet, but I felt it should be checked
854 in at this point as it compiles.
855 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
856 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
857 Modified so that they will compile properly.
858 Needed to include SqlDataAdapter in the build.
860 2002-05-11 Rodrigo Moya <rodrigo@ximian.com>
862 * System.Data/DataTable.cs (Clear): implemented.
863 (DataTable): removed repeated code in constructors, and call the
864 basic constructor from the others.
866 * System.Data/DataColumn.cs: some tweaks.
868 * System.Data/DataRow.cs (RowState): implemented.
869 (CancelEdit): set rowState property back to Unchanged.
870 (RejectChanges): call CancelEdit.
871 (Delete): set rowState to Deleted.
873 2002-05-11 Daniel Morgan <danmorg@sc.rr.com>
875 * System.Data.build: added copy of System.Data.dll to Test directory
876 for easy testing. Also, added clean for it too.
878 * System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
879 from PostgreSQL data type to .NET type.
881 * System.Data.SqlClient/SqlDataReader.cs: beginnings
882 handling of a NULL value from the database
884 * Test/PostgresTest.cs: added tests for NULL values retrieved
887 * Test/ReadPostgresData.cs
888 * Test/TestExecuteScalar.cs
889 * Test/TestSqlDataReader.cs
890 * Test/TestSqlException.cs
891 * Test/TestSqlIsolationLevel.cs: updated tests to use databas user
892 "postgres". These tests may eventually be removed since they
895 2002-05-10 Rodrigo Moya <rodrigo@ximian.com>
897 * System.Data.build: removed reference to non-existant
898 TestDataColumn.cs file.
900 * System.Data/DataSet.cs: added some implementation.
902 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
904 * System.Data.SqlClient/PostgresLibrary.cs: got
905 PostgreSQL data types time, date, timestamp (DateTime like)
906 mapped to .NET System.DateTime working based
907 on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
908 Also mapped pg type boolean to .net Boolean
910 * SqlClient/SqlConnection.cs: run SQL command to set
913 * Test/PostgresTest.cs: added test for an UPDATE SQL command,
914 added tests for aggregates min(), max(), sum(), count(). could
915 not get avg() to work due to some formatting error; someone claimed
916 that it was my locale settings. added tests for SELECT of columns
917 of type boolean, float, double, date, time, and timestamp. They
918 have not been fully tested, but its a start.
920 2002-05-09 Tim Coleman <tim@timcoleman.com>
921 * System.Data.SqlTypes/SqlDecimal.cs: Implementations of
922 addition, subtraction, and multiplication for the
923 SqlDecimal type, as well as modification of some other
924 operations. More to come on this one.
926 2002-05-08 Rodrigo Moya <rodrigo@ximian.com>
928 * Test/System.Data_test.build: excluded TestDataColumn, which
929 should be replaced with a nunit test.
931 * Test/TestDataColumn.cs: added basic test for DataColumn.cs.
933 2002-05-07 Tim Coleman <tim@timcoleman.com>
947 Fix the broken build I made before. Bad
950 2002-05-07 Tim Coleman <tim@timcoleman.com>
952 Fix a symantic error I made in SqlString
953 Equals where I copied and pasted wrongly
955 2002-05-07 Tim Coleman <tim@timcoleman.com>
960 * SqlCompareOptions.cs:
971 Implement CompareTo, Equals, and String conversions
974 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
976 * Test/PostgresTest.cs: modified to run completely. There
977 are many TODOs in System.Data, so not all data types are
978 included in the SELECT SQL query. Also, I made it to where
980 using "host=localhost;dbname=test;user=postgres"
981 instead of my userid and password. When more types are included,
984 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
986 * Test/PostgresTest.cs: added - ported
987 libgda postgres-test.c originally by
988 Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
991 2002-05-05 Tim Coleman <tim@timcoleman.com>
992 * System.Data.SqlTypes/SqlBinary.cs:
993 * System.Data.SqlTypes/SqlBoolean.cs:
994 * System.Data.SqlTypes/SqlByte.cs:
995 * System.Data.SqlTypes/SqlDateTime.cs:
996 * System.Data.SqlTypes/SqlDecimal.cs:
997 * System.Data.SqlTypes/SqlDouble.cs:
998 * System.Data.SqlTypes/SqlGuid.cs:
999 * System.Data.SqlTypes/SqlInt16.cs:
1000 * System.Data.SqlTypes/SqlInt32.cs:
1001 * System.Data.SqlTypes/SqlInt64.cs:
1002 * System.Data.SqlTypes/SqlMoney.cs:
1003 * System.Data.SqlTypes/SqlSingle.cs:
1004 * System.Data.SqlTypes/SqlString.cs:
1005 More implementation, and code clean-up for consistency.
1006 Also, I had implemented many conversions as explicit
1007 that should have been implicit. This should remove
1008 many of the red X's and green pluses from the
1009 System.Data.SqlTypes namespace.
1011 2002-05-05 Miguel de Icaza <miguel@ximian.com>
1013 * System.Data/DataSet.cs: Remove [Serializable] attributes from
1014 methods, those only apply to structs or classes.
1016 Stub out ISerializable, ISupportInitialize, and IListSource methods
1018 * System.Data/DataRowView.cs: Stub out interface methods for
1019 IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
1021 * System.Data/DataView.cs: Comment out non-implemented
1024 * System.Data/DataViewSettingsCollection.cs: Type cast variables
1025 to the correct type to make it compile.
1027 * System.Data/DataViewSettings.cs: remove reference to
1028 non-existance type ApplyDefaultSort, it is a boolean.
1031 2002-05-05 Tim Coleman <tim@timcoleman.com>
1032 * System.Data.SqlTypes/SqlBinary.cs:
1033 * System.Data.SqlTypes/SqlBoolean.cs:
1034 * System.Data.SqlTypes/SqlByte.cs:
1035 * System.Data.SqlTypes/SqlDecimal.cs:
1036 * System.Data.SqlTypes/SqlDouble.cs:
1037 * System.Data.SqlTypes/SqlGuid.cs:
1038 * System.Data.SqlTypes/SqlInt16.cs:
1039 * System.Data.SqlTypes/SqlInt32.cs:
1040 * System.Data.SqlTypes/SqlInt64.cs:
1041 * System.Data.SqlTypes/SqlMoney.cs:
1042 * System.Data.SqlTypes/SqlSingle.cs:
1043 * System.Data.SqlTypes/SqlString.cs:
1044 Various fixes, including adding the SqlNullValueException
1045 when trying to retrieve the value of a null SqlType,
1046 and when casting values, a Null of type A converts to a
1049 2002-05-04 Daniel Morgan <danmorg@sc.rr.com>
1051 * System.Data.SqlClient/PostgresLibrary.cs
1052 * System.Data.SqlClient/SqlCommand.cs
1053 * System.Data.SqlClient/SqlConnection.cs
1054 * System.Data.SqlClient/SqlDataReader.cs
1055 oid should not be hard coded because they
1056 can change from one version of PostgreSQL
1057 to the next. Use the typname's instead.
1058 The PostgreSQL type data retrieves
1059 at database connection time. Any unimplemented
1060 types just default to string. These were things
1061 suggested by Gonzalo.
1063 * Test/ReadPostgresData.cs - stuff
1064 * Test/TestSqlDataReader.cs - stuff
1066 * System.Data.SqlTypes/SqlInt32.cs - added a using
1068 2002-05-03 Tim Coleman <tim@timcoleman.com>
1069 * System.Data.build: Fix the build so that test depends on build
1071 2002-05-03 Tim Coleman <tim@timcoleman.com>
1072 * System.Data.SqlTypes/SqlByte.cs:
1073 * System.Data.SqlTypes/SqlDateTime.cs:
1074 * System.Data.SqlTypes/SqlDecimal.cs:
1075 * System.Data.SqlTypes/SqlDouble.cs:
1076 * System.Data.SqlTypes/SqlGuid.cs:
1077 * System.Data.SqlTypes/SqlInt16.cs:
1078 * System.Data.SqlTypes/SqlInt64.cs:
1079 * System.Data.SqlTypes/SqlMoney.cs:
1080 * System.Data.SqlTypes/SqlSingle.cs:
1081 These files were mysteriously excluded from the last
1082 patch I made and sent to Rodrigo
1083 * System.Data.build: include the System.Data.SqlTypes in the build
1085 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
1087 * System.Data.build: removed comments
1089 * System.Data.SqlClient/PostgresLibrary.cs: changed
1090 the hard-coded PostgreSQL oid type int's to using an
1091 enum. Also, added PostgreSQL bpchar (character) type.
1093 * Test/TestSqlDataReader.cs: updated test
1094 to include new bpchar PostgreSQL type
1096 2002-05-03 Rodrigo Moya <rodrigo@ximian.com>
1098 * System.Data.SqlTypes/SqlBinary.cs:
1099 * System.Data.SqlTypes/SqlBoolean.cs:
1100 * System.Data.SqlTypes/SqlInt32.cs:
1101 * System.Data.SqlTypes/SqlString.cs: more implementation, by
1102 Tim Coleman <tcoleman@opentext.com>.
1104 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
1106 * Test/TestExecuteScalar.cs: added test for
1107 method ExecuteScalar in class SqlCommand.
1109 * System.Data/DataColumnCollection.cs - it should
1110 inherit properties from base InternalDataCollectionBase
1111 and use them instead of overriding them, such as, List.
1113 * System.Data/DataColumn.cs
1114 * System.Data/DataTable.cs: tweaks to retrieve
1115 meta data from the database
1117 * System.Data.SqlClient/PostgresLibrary.cs -
1118 added method OidToType to convert PostgreSQL oid type
1119 to System.Type. Renamed method OidTypeToSystem
1120 to ConvertPgTypeToSystem for converting the data value
1121 from a PostgreSQL type to a .NET System type.
1123 * System.Data.SqlClient/SqlCommand.cs: implemented
1124 method ExecuteReader which returns a SqlDataReader
1125 for a light forward only read only result set.
1126 It works on types int4 ==> Int32 and
1127 varchar ==> String. Other types
1130 * System.Data.SqlClient/SqlConnection.cs: added comment
1132 * System.Data.SqlClient/SqlDataReader.cs: implemented
1133 class. It works, but still lots to do.
1135 * Test/ReadPostgresData.cs: stuff
1137 * Test/TestSqlDataReader.cs: updated test for SqlDataReader
1138 to display meta data and the data
1140 2002-05-03 Duncan Mak <duncan@ximian.com>
1142 * TODO: Took out all the Exceptions. They should be all done now.
1144 * System.Data/ConstraintException.cs:
1145 * System.Data/DBConcurrencyException.cs:
1146 * System.Data/DataException.cs:
1147 * System.Data/DeletedRowInaccessibleException.cs:
1148 * System.Data/DuplicateNameException.cs:
1149 * System.Data/EvaluateException.cs:
1150 * System.Data/InRowChangingEventException.cs:
1151 * System.Data/InvalidConstraintException.cs:
1152 * System.Data/InvalidExpressionException.cs:
1153 * System.Data/MissingPrimaryKeyException.cs:
1154 * System.Data/NoNullAllowedException.cs:
1155 * System.Data/ReadOnlyException.cs:
1156 * System.Data/RowNotInTableException.cs:
1157 * System.Data/StrongTypingException.cs:
1158 * System.Data/SyntaxErrorException.cs:
1159 * System.Data/TypeDataSetGeneratorException.cs:
1160 * System.Data/VersionNotFoundException.cs: Added to CVS.
1162 * System.Data.SqlTypes/SqlNullValueException.cs:
1163 * System.Data.SqlTypes/SqlTruncateException.cs:
1164 * System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
1166 2002-05-02 Rodrigo Moya <rodrigo@ximian.com>
1168 * System.Data/DataViewSettingCollection.cs: implemented.
1170 * System.Data/DataRowView.cs: new stubs.
1172 * System.Data.SqlTypes/SqlByte.cs:
1173 * System.Data.SqlTypes/SqlDateTime.cs:
1174 * System.Data.SqlTypes/SqlDecimal.cs:
1175 * System.Data.SqlTypes/SqlDouble.cs:
1176 * System.Data.SqlTypes/SqlGuid.cs:
1177 * System.Data.SqlTypes/SqlInt16.cs:
1178 * System.Data.SqlTypes/SqlInt64.cs:
1179 * System.Data.SqlTypes/SqlMoney.cs:
1180 * System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
1181 by Tim Coleman <tcoleman@opentext.com>
1183 * System.Data.build: excluded newly-added files.
1185 2002-05-02 Daniel Morgan <danmorg@sc.rr.com>
1187 * System.Data.SqlClient/PostgresLibrary.cs: included new
1188 internal class that will be a helper class in using
1189 PostgreSQL. PostgresLibrary is used for the
1190 pinvoke methods to the PostgreSQL Client
1191 native C library libpq while the class PostgresHelper
1192 is used for wrapper or helper methods. It currently only
1193 has one static method OidTypeToSystem in converting
1194 PostgreSQL types to .NET System.<type>s, such as,
1195 a PostgreSQL int8 becomes a .NET System.Int64.
1196 Only a few types have been added, such as, int2,
1197 int4, int8, varchar, text, bool, and char. Other types
1200 * System.Data.SqlClient/SqlCommand.cs: implemented
1201 method ExecuteScalar which allows us to do aggregate
1202 functions, such as, count, avg, min, max, and sum. We
1203 also are able to retrieve the result, convert it to the .NET type
1204 as an object. The user of the returned object must explicitly cast.
1206 * Test/ReadPostgresData.cs: updated sample
1207 to help us learn to retrieve data in System.Data.SqlClient
1210 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
1212 * System.Data.build: added /nowarn: nnnn arguments
1213 so you will not get a ton of warnings. The warnings
1214 being excluded are: 1595, 0067, 0109, 0169, and 0649
1216 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
1218 * System.Data.build: modified to exclude more
1219 files from the build
1221 2002-05-01 Rodrigo Moya <rodrigo@ximian.com>
1223 * System.Data.SqlClient/SqlClientPermission.cs: added missing
1226 * System.Data/MergeFailedEventArgs.cs: new class, contributed
1227 by John Dugaw <jdugaw@unizenconsulting.com>.
1229 * System.Data.build: excluded new files from build.
1231 2002-04-29 Daniel Morgan <danmorg@sc.rr.com>
1233 * Test/ReadPostgresData.cs: added - Uses the
1234 PostgresLibrary to retrieve a recordset.
1235 This is not meant to be used in Production, but as a
1236 learning aid in coding
1237 class System.Data.SqlClient.SqlDataReader.
1238 This sample does work.
1240 * Test/TestSqlDataReader.cs: added - used
1241 to test SqlDataReader (does not work yet)
1242 Forgot to add to ChangeLog on last commit.
1244 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1246 * System.Data/DataViewSetting.cs: new class.
1248 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1250 * System.Data/DataViewManager.cs: new class.
1252 * System.Data.SqlTypes/INullable.cs: properties for interfaces
1253 don't have implementation.
1255 * System.Data.SqlTypes/SqlInt32.cs:
1256 * System.Data.SqlTypes/SqlString.cs:
1257 * System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
1258 these are strctures.
1260 * System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
1263 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1265 * System.Data/DataTableRelationCollection.cs: use 'new' keyword
1266 for correctly hiding parent class' members.
1267 (AddRange): use 'override' keyword on overriden method.
1269 (Contains): likewise.
1270 (IndexOf): likewise.
1271 (OnCollectionChanged): likewise.
1272 (OnCollectionChanging): likewise.
1273 (RemoveCore): likewise.
1275 * System.Data/DataColumnCollection.cs: use 'new' keyword.
1277 * System.Data/DataSet.cs: added missing 'using's.
1279 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1281 * System.Data/DataSet.cs:
1282 * System.Data/DataTableCollection.cs:
1283 * System.Data/DataView.cs: compilation fixes on Linux.
1285 2002-04-28 Daniel Morgan <danmorg@sc.rr.com>
1287 * System.Data/DataRelation.cs
1288 * System.Data/ForeignKeyConstraint.cs
1289 * System.Data/UniqueConstraint.cs: added more stubs
1291 * System.Data/DataTableRelationCollection.cs: added back to cvs
1292 and modified for compile errors. DataRelationCollection is an
1293 abstract class and there must be a class that implements for
1294 DataTable/DataSet. DataTableRelationCollection was changed
1295 to an internal class.
1297 * System.Data.build: modified - new files added
1298 also wanted to include files/classes in the build
1299 so we can get a compilable forward read only result set.
1300 It compiles now using csc/nant with warnings, but this
1301 is a start for adding functionality for the result set.
1302 Classes associated with/and DataSet are still excluded.
1304 * TODO: modified - updated to do list for System.Data
1306 * System.Data/Constraint.cs
1307 * System.Data/ConstraintCollection.cs
1308 * System.Data/DataRelationCollection.cs
1309 * System.Data/DataRow.cs
1310 * System.Data/DataRowChangeEventArgs.cs
1311 * System.Data/DataRowCollection.cs
1312 * System.Data/DataTable.cs
1313 * System.Data/DataTableCollection.cs
1314 * System.Data/InternalDataCollectionBase.cs
1315 * System.Data/PropertyCollection.cs: modified -
1316 changes to compile SqlDataReader/DataTable and
1319 * System.Data/IDbCommand.cs
1320 * System.Data.SqlClient/SqlCommand.cs: modified -
1321 un-commented overloaded methods ExecuteReader
1322 which returns a SqlDataReader
1324 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1326 * System.Data/DataTableCollection.cs: more implementation.
1327 (Count): added 'override' keyword, as pointer out by Martin.
1329 * System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
1330 only call Array.Copy when there is really stuff to be copied.
1331 (CopyTo): don't create the temporary array, it's not needed.
1333 * System.Data.build: excluded newly added file from build.
1335 2002-04-27 Rodrigo Moya <rodrigo@ximian.com>
1337 * System.Data/DataTableRelationCollection.cs: removed, it's not
1338 on MS SDK documentation.
1340 * System.Data/DataTableCollection.cs: new class.
1342 2002-04-27 Daniel Morgan <danmorg@sc.rr.com>
1344 * System.Data/DataRowChangeEventArgs.cs
1345 * System.Data/DataRowCollection.cs
1346 * System.Data/DataView.cs
1347 * System.Data/PropertyCollection.cs: added new stubs
1349 * System.Data.build: modified - added new files to exclude
1352 * TODO: modified - removed files from TODO list
1353 that were stubbed above
1355 * System.Data/DataColumn.cs
1356 * System.Data/DataRow.cs: modified - various tweaks
1357 and added internal method SetTable to set the reference
1360 * System.Data/DataSet.cs: modified - class was not
1363 * System.Data/DataTable.cs: modified - temporarily commented
1364 DataSet and DataView references - trying to compile a SqlDataReader,
1365 DataTable, and dependencies for a forward read-only result set.
1366 SqlDataAdapter, DataSet, and DataView will come later once we can get
1367 a forward read only result set working.
1369 * System.Data/IDataRecord.cs: modified - source code lines should
1372 * System.Data/InternalDataCollectionBase.cs: modified - started
1373 implementing this base class for collection of data rows,
1374 columns, tables, relations, and constraints
1376 * System.Data.SqlClient/SqlException.cs: modified -
1377 call base(message) so a unhandled exception displays
1378 the message of a SQL error instead of the
1379 default SystemException message
1381 * Test/TestSqlException.cs: modified -
1382 handle the rollback properly for a SqlException on a
1385 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1387 * System.Data.build: modified - added new
1388 files to exclude from build
1390 * System.Data/Constraint.cs
1391 * System.Data/ConstraintCollection.cs
1392 * System.Data/InternalDataCollectionBase.cs: added -
1393 stubs which are needed to build DataTable.cs
1395 * TODO: modified - added more classes TODO and
1396 added more stuff TODO, such as, create script
1397 to create test database monotestdb for testing
1398 classes in System.Data
1400 2002-04-23 Rodrigo Moya <rodrigo@ximian.com>
1402 * System.Data.Common/DataAdapter.cs:
1403 * System.Data.Common/DataColumnMappingCollection.cs:
1404 * System.Data.Common/DataTableMappingCollection.cs:
1405 * System.Data.Common/DbDataPermission.cs:
1406 * System.Data.Common/DbDataPermissionAttribute.cs: some
1407 compilation errors fixed.
1409 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1411 * TODO: modified - added classes TODO, and
1412 a poor attempt at System.Data plan
1414 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1416 * ChangeLog: modified - put tabs where they belong
1418 * System.Data.SqlClient/SqlDataReader.cs
1419 * System.Data/DataColumn.cs: modified - compile errors
1420 trying to compile SqlDataAdapter and dependencies
1422 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1424 * System.Data.SqlTypes/SqlBoolean.cs
1425 * System.Data.SqlTypes/SqlCompareOptions.cs
1426 * System.Data.SqlTypes/SqlInt32.cs
1427 * System.Data.SqlTypes/SqlString.cs: added - new stubs
1429 * System.Data/DataTable.cs
1430 * System.Data.SqlClient/SqlCommand.cs
1431 * System.Data.SqlClient/SqlConnection.cs
1432 * System.Data.SqlClient/SqlError.cs
1433 * System.Data.SqlClient/SqlTransaction.cs: modified -
1436 * System.Data.SqlClient/SqlException.cs: modified -
1437 missing Message on indexer for Message property
1439 2002-04-21 Daniel Morgan <danmorg@sc.rr.com>
1441 * System.Data.SqlClient/SqlCommand.cs: modified - to
1442 compile using mcs. This problem is
1443 returning a stronger type in csc vs. msc
1445 * System.Data.SqlClient/SqlConnection.cs: modified - msc
1446 can not do a using PGconn = IntPtr; and then declare
1447 with PGconn pgConn = IntPtr.Zero;
1448 Thiw works under csc though. Had to comment using and
1449 changed declaration to IntPtr pgConn = IntPtr.Zero;
1450 Also, got rid of compile warnings for hostaddr and port.
1452 * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
1453 rid of compile warnings. Commented MonoTODO attribute because mcs
1454 doesn't seem to work with C# array property indexer (Item)
1457 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
1458 commented MonoTODO attribute for indexer for mcs compiling
1460 * Test/TestSqlIsolationLevel.cs:
1461 * Test/TestSqlInsert.cs:
1462 * Test/TestSqlException.cs: modified -
1463 removed extra ExecuteNonQuery which caused two inserted rows
1465 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
1467 * System.Data/StateChangeEventArgs.cs - added
1468 needed to compile System.Data.dll with mcs.
1470 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
1472 * System.Data.OleDb: added directory - for OleDb database
1475 * System.Data.SqlClient/SqlClientPermission.cs
1476 * System.Data.SqlClient/SqlClientPermissionAttribute.cs
1477 * System.Data.SqlClient/SqlCommandBuilder.cs
1478 * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
1479 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
1480 * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
1481 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
1482 * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
1483 * Test/TestSqlException.cs
1484 * Test/TestSqlIsolationLevel.cs: added - more tests
1486 * System.Data.build: modified - added new files - excludes these too
1488 * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
1490 * System.Data.SqlClient/SqlConnection.cs
1491 * System.Data.SqlClient/SqlCommand.cs
1492 * System.Data.SqlClient/SqlTransaction.cs
1493 * System.Data.SqlClient/SqlException.cs
1494 * System.Data.SqlClient/SqlErrorCollection.cs
1495 * System.Data.SqlClient/SqlError.cs: modified - transaction and
1496 exception/error handling. SqlConnection(connectionString)
1497 constructor should not automatically connect.
1499 * System.Data.SqlClient/SqlDataReader.cs
1500 * System.Data.SqlClient/SqlDataAdapter.cs
1501 * System.Data.SqlClient/SqlParameter.cs
1502 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
1503 added using System.ComponentModel;
1505 * Test/TestSqlInsert.cs: modified - to use transaction
1507 2002-04-17 Rodrigo Moya <rodrigo@ximian.com>
1509 * System.Data/DataRow.cs: new skeletons.
1511 * System.Data.Common/DataAdapter.cs:
1512 * System.Data.Common/DataColumnMapping.cs:
1513 * System.Data.Common/DataColumnMappingCollection.cs:
1514 * System.Data.Common/DataTableMapping.cs:
1515 * System.Data.Common/DataTableMappingCollection.cs:
1516 * System.Data.Common/DbDataAdapter.cs:
1517 * System.Data.Common/RowUpdatedEventArgs.cs:
1518 * System.Data.SqlClient/SqlDataAdapter.cs:
1519 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
1522 * System.Data.Common/DbDataRecord.cs:
1523 * System.Data.Common/DbEnumerator.cs: removed MS implementation
1526 2002-04-17 Daniel Morgan <danmorg@sc.rr.com>
1528 * Test/TestSqlInsert.cs: modified - do
1529 a SQL DELETE before SQL INSERT of row so you can use this
1532 * System.Data.SqlClient/SqlTransaction.cs: modified - default
1533 IsolationLevel for PostgreSQL is ReadCommitted. However,
1534 PostgreSQL allows Serializable as well.
1535 (Thanks to Gonzalo for that!)
1537 * System.Data.SqlClient/SqlConnection.cs: modified
1538 * System.Data.SqlClient/SqlCommand.cs: modified
1539 * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
1540 working; however, we still need to implement SQL errors
1541 and exceptions to properly handle transactions. Also, added
1542 status and error message support from the PostgreSQL database.
1543 Currently, this does a Console.WriteLine() to display the
1544 status and error messages, but this is a TODO
1545 for SQL errors and exceptions.
1547 * System.Data/TODOAttribute.cs: added - needed MonoTODO
1548 attribute for System.Data.dll assembly
1550 * System.Data/IDbCommand.cs: modified - commented
1551 overloaded method ExecuteReader
1552 so System.Data.SqlClient.SqlCommand can compile
1554 * System.Data/IDbCommand.cs: modified
1555 * System.Data/IDbConnection.cs: modified - added using System;
1556 * System.Data/IDataParameter.cs
1558 * System.Data.build: modified - build classes
1559 in System.Data.SqlClient and exclude others in System.Data
1561 * System.Data.SqlClient/PostgresLibrary.cs: modified - change
1562 parameter data type from IntPtr to enum ExecStatusType
1564 * ChangeLog: modified - corrected previous entries in log
1566 2002-04-16 Rodrigo Moya <rodrigo@ximian.com>
1568 * System.Data.Common/DataColumnMappingCollection.cs: added basic
1569 implementation. Still missing some stuff.
1571 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
1573 * System.Data.SqlClient/SqlConnection.cs: modified - got
1574 to compile, run, and connect to PostgreSQL database
1576 * System.Data.SqlClient/SqlCommand.cs: modified - got
1577 to compile, run, and execute a SQL INSERT command
1578 which successfully inserted a row
1579 into the PostgreSQL database
1581 * System.Data.SqlClient/SqlTransaction.cs: modified
1582 * System.Data.SqlClient/SqlParameter.cs: modified
1583 * System.Data.SqlClient/SqlParameterCollection.cs: modified
1584 * System.Data.SqlClient/SqlError.cs: modified
1585 * System.Data.SqlClient/SqlErrorCollection.cs: modified
1586 * System.Data.SqlClient/SqlException.cs: modified
1587 * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
1589 * System.Data.SqlClient/SqlAdapter: modified
1590 * System.Data.SqlClient/SqlReader: modified - add more stubs
1592 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
1594 * Test/TestSqlInsert.cs: added
1596 2002-04-15 Daniel Morgan <danmorg@sc.rr.com>
1598 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
1599 class SqlConnecition
1600 * System.Data.SqlClient/SqlErrorCollection.cs: added
1601 * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
1603 2002-04-15 Christopher Podurgiel <cpodurgiel@msn.com>
1605 * System.Data.IDbDataParameter: Added Interface to IDataParameter.
1606 * System.Data.IDbTransaction: Added Interface to IDisposable.
1607 * System.Data.IDbCommand: Fixed Capitalization of class name.
1608 * System.Data.IDbConnection: Fixed Capitalization of class name.
1610 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
1612 * System.Data.Common/DbDataPermissionAttribute.cs:
1613 * System.Data.Common/DataAdapter.cs:
1614 * System.Data.Common/DataColumnMapping.cs:
1615 * System.Data.Common/DbDataPermission.cs: added some implementation.
1617 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
1619 * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
1620 syntax, as pointed out by Levent Camlibel.
1622 2002-04-14 Rodrigo Moya <rodrigo@ximian.com>
1624 * System.Data.SqlTypes/SqlBinary.cs:
1625 * System.Data.SqlTypes/INullable.cs: new skeletons.
1627 2002-04-14 Daniel Morgan <danmorg@sc.rr.com>
1629 * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
1630 contains all calls the the PostgreSQL client library, to be used
1631 everywhere in System.Data.SqlClient.
1633 2002-03-30 Rodrigo Moya <rodrigo@ximian.com>
1635 * System.Data.SqlClient/SqlConnection.cs: implemented basic
1638 * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
1640 2002-03-29 Rodrigo Moya <rodrigo@ximian.com>
1642 * System.Data.Common/DbDataRecord.cs:
1643 * System.Data.Common/DbEnumerator.cs:
1644 * System.Data.Common/RowUpdatedEventArgs.cs:
1645 * System.Data.Common/RowUpdatingEventArgs.cs:
1646 * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
1648 2002-03-28 Rodrigo Moya <rodrigo@ximian.com>
1650 * System.Data.Common/DataTableMappingCollection.cs:
1651 * System.Data.Common/DbDataAdapter.cs:
1652 * System.Data.Common/DbDataPermission.cs:
1653 * System.Data.Common/DataTableMapping.cs: new skeletons.
1655 * System.Data.SqlClient/SqlDataAdapter.cs:
1656 * System.Data.SqlClient/SqlDataReader.cs:
1657 * System.Data.SqlClient/SqlErrors.cs:
1658 * System.Data.SqlClient/SqlError.cs:
1659 * System.Data.SqlClient/SqlException.cs:
1660 * System.Data.SqlClient/SqlParameter.cs:
1661 * System.Data.SqlClient/SqlParameterCollection.cs:
1662 * System.Data.SqlClient/SqlTransaction.cs:
1663 * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
1665 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
1667 * System.Data.Common/DataColumnMapping.cs:
1668 * System.Data.Common/DataColumnMappingCollection.cs:
1669 * System.Data.Common/DataAdapter.cs: created skeletons.
1671 * System.Data.build: exclude new directories from build.
1673 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
1675 * System.Data.SqlClient/SqlTransaction.cs: started implementation.
1677 * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
1678 implemented (2 methods).
1680 2002-03-24 Duncan Mak <duncan@ximian.com>
1682 * System.Data.build: Excluded System.Data.SqlClient from the build.
1683 The stubs are incomplete and they are stopping the build.
1685 * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
1687 2002-03-24 Rodrigo Moya <rodrigo@ximian.com>
1689 * System.Data.SqlClient/*: added skeletons for the SQL managed
1690 provider for ADO.Net, to be based initially in PostgreSQL.
1692 2002-03-15 Christopher Podurgiel <cpodurgiel@msn.com>
1694 Changed the Namespace on some Enums from mono.System.Data to System.Data
1696 2002-03-01 Christopher Podurgiel <cpodurgiel@msn.com>
1698 * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a
1699 default name if the ColumnName is null.
1700 * DataSet.cs : Added
1701 * DataTable.cs : Added
1702 * DataRelationCollection.cs : Added
1703 * DataTableRelationCollection.cs : Added
1704 * DataColumn : Added
1706 2002-02-11 Christopher Podurgiel <cpodurgiel@msn.com>
1708 * DataColumnChangeEventArgs.cs : Added
1709 * DataColumnCollection.cs : Added
1711 2002-02-10 Christopher Podurgiel <cpodurgiel@msn.com>
1713 * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
1714 * Updated all Enums, Interfaces, and Delegates in System.Data