1 2002-08-20 Franklin Wise <gracenote@earthlink.net>
3 * System.Data/System.Data.build: added nowarn:0679
5 * System.Data/System.DataTable: cleaned up class, added MonoTODO tags
6 setup to begin implementing. Implemented ctor().
8 * Tests: See System.Data\Test\ChangeLog
11 2002-08-19 Rodrigo Moya <rodrigo@ximian.com>
13 * System.Data.OleDb/OleDbSchemaGuid.cs: initialize static members.
15 2002-08-19 Franklin Wise <gracenote@earthlink.net>
17 * Tests: See System.Data\Test\ChangeLog
19 * System.Data/UniqueConstraint.cs: More validation.
21 * System.Data/ForeignKeyConstraint.cs: Added more validation rules.
22 Another LAMESPEC tag. Implemented more of Add/Remove Setup/Cleanup
25 * System.Data/DataTable.cs: Added more MonoTODO tags
27 * class/System.Data/.cvsignore: added tmp & Temp
29 * System.Data/Constraint.cs: Changed abstract helpers to virtual and
32 * System.Data/ConstraintCollection.cs: Commented out unused line.
34 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
36 * System.Data.OleDb/OleDbConnection.cs (ChangeDatabase): implemented.
38 * System.Data.OleDb/OleDbException.cs (OleDbException): added internal
40 (ErrorCode, Message, Source, Errors): implemented.
42 * System.Data.OleDb/OleDbError.cs: implemented the full class.
44 * System.Data.OleDb/libgda.cs: added more libgda functions.
46 * System.Data.OleDb/TestOleDb.cs (TestOleDb): display properties for
47 the opened connection.
49 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
51 * System.Data.OleDb/OleDbConnection.cs (ServerVersion): implemented.
53 * System.Data.OleDb/OleDbDataReader.cs (Close): clear the results
54 ArrayList after releasing the items.
55 (GetName, GetDateTime, GetDouble, GetSingle, GetInt16, GetInt32,
56 GetOrdinal, GetString): implemented.
57 (GetDataTypeName): made it get the type from the data model, not from
58 the current value, which could not have been retrieved yet.
59 (GetValue): call the Get* method corresponding with the data type of
62 * System.Data.OleDb/libgda.cs: added more libgda functions.
63 (GdaTimestamp, GdaDate, GdaTime): new marshalled structures.
65 * System.Data.OleDb/TestOleDb.cs (TestDateReader): display column
66 titles via OleDbDataReader.GetName ().
67 (TestOleDb): create temporary table with a date field.
68 (InsertRow): set current date for the date field.
70 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
72 * System.Data.OleDb/OleDbDataReader.cs (this[]): made it just call
73 GetValue, which will take care of all the work needed.
74 (Close): implemented basic stuff.
75 (~OleDbDataReader): implemented.
77 * System.Data.OleDb/libgda.cs: added more needed functions.
79 2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
81 * System.Data.OleDb/TestOleDb.cs: made it work with a temporary table
83 (TestTransaction): added test for transactions.
85 2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
87 * System.Data.OleDb/libgda.cs: added new needed libgda functions.
89 * System.Data.OleDb/OleDbDataReader.cs (GetBoolean): throw exceptions
90 when there are errors.
91 (GetByte, GetChar, GetDataTypeName, GetValue, Read): implemented.
93 * System.Data.OleDb/TestOleDb.cs: added more testing code for data
96 2002-08-15 Rodrigo Moya <rodrigo@ximian.com>
98 * System.Data.OleDb/libgda.cs: added new needed libgda functions.
100 * System.Data.OleDb/OleDbParameterCollection.cs (GdaParameterList):
101 create an empty GdaParameterList.
103 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): check values
104 for NULL before passing them to Marshal.PtrToStructure, which issues
105 an exception if the value is NULL.
107 2002-08-15 Rodrigo Moya <rodrigo@ximian.com>
109 * System.Data/UniqueConstraint.cs (UniqueConstraint): commented
110 unreachable code to avoid compiler warning.
112 * System.Data.OleDb/libgda.cs (GdaList): added new internal class.
114 * System.Data.OleDb/OleDbConnection.cs (DataSource): implemented.
115 (OpenReader): removed internal method.
117 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): split correctly
118 the list of returned data models.
120 2002-08-15 Franklin Wise <gracenote@earthlink.net>
122 * System.Data/Constraint.cs: Added helper virtual functions
124 * System.Data/ConstraintCollection.cs: Improved constraint removal,
125 validation. Removed specific knowledge of subclasses of
128 * System.Data/DataColumn.cs: Added static helper function to compare
129 if two DataColumn arrays are the same.
131 * System.Data/ForeignKeyConstraint.cs: Continued to flush out.
133 * System.Data/UniqueConstraint.cs: Implemented. Still some constraint
136 2002-08-13 Franklin Wise <gracenote@earthlink.net>
138 * System.Data/DataRow.cs: Added several fixme tags.
140 2002-08-13 Rodrigo Moya <rodrigo@ximian.com>
142 * System.Data.SqlClient/SqlDataAdapter.cs (DeleteCommand,
143 InsertCommand, SelectCommand, UpdateCommand): removed 'new' keyword
144 to avoid compiler warnings.
146 2002-08-12 Franklin Wise <gracenote@earthlink.net>
148 * System.Data/Constraint.cs: Implemented
150 * System.Data/UniqueConstraint.cs: GetHashCode() &
151 special case Ctor. Still need to be implemented. LAMESPEC tags
154 * System.Data/ConstraintCollection.cs: Clear() &
155 AddRange() need to be finished. Several LAMESPEC tags.
157 * Allow Constraint collection to be created in DataTable.
159 * System.Data/ForeignKeyConstraint: Added a couple of
162 * System.Data/DataColumnCollection New/Added DataColumns now have
165 2002-08-11 Rodrigo Moya <rodrigo@ximian.com>
167 * System.Data.OleDb/libgda.cs: added some GdaValue functions.
169 * System.Data.OleDb/OleDbCommand.cs (OpenReader): removed this
170 internal method, since we don't need it.
171 (ExecuteReader): call SetupGdaCommand before executing the command
172 via libgda functions.
173 (ExecuteScalar): implemented.
175 * System.Data.OleDb/OleDbDateReader.cs (OleDbDataReader): removed call
176 to OleDbCommand.OpenReader.
177 (GetBoolean): implemented.
179 2002-08-08 Franklin Wise <gracenote@earthlink.net>
181 * System.Data/IDbComand.cs: IDbCommand now inherits IDisposable
183 * System.Data/IDbConnection.cs: IDbConnection now inherits IDisposable
185 * System.Data.SqlTypes/SqlCompareOptions.cs: Enum now set to correct
188 2002-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
190 * System.Data.OleDb/OleDbConnection.cs: little fixes to make it work
191 and don't show a warning in Open.
193 * System.Data.OleDb/TestOleDb.cs: added Close.
195 2002-08-05 Rodrigo Moya <rodrigo@ximian.com>
197 * System.Data.OleDb/OleDbConnection.cs (ConnectionString,
198 ConnectionTimeout, ServerVersion, GdaConnection):
200 (OleDbConnection): call libgda.gda_init on constructor.
202 * System.Data.OleDb/libgda.cs (libgda): removed static constructor,
203 which wasn't been called.
205 * System.Data.OleDb/TestOleDb.cs (TestOleDb): updated to really
208 2002-08-04 Rodrigo Moya <rodrigo@ximian.com>
210 * list: added missing System.Data.OleDb and
211 System.Data.Common files.
213 * System.Data.OleDb/ChangeLog: removed and merged with
214 System.Data's ChangeLog.
216 * System.Data.OleDb/OleDbDataAdapter.cs:
217 * System.Data.OleDb/OleDbPermission.cs: compilation fixes.
219 2002-07-30 Rodrigo Moya <rodrigo@ximian.com>
221 * System.Data.OleDb/OleDbDataReader.cs (FieldCount): implemented.
222 (IsClosed, Item, RecordsAffected): implemented some properties.
224 * libgda.cs: added GdaDataModel methods.
226 2002-07-29 Rodrigo Moya <rodrigo@ximian.com>
228 * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader constructor): changed to receive
229 a second argument (ArrayList results).
230 (NextResult): implemented.
232 * System.Data.OleDb/OleDbCommand.cs: don't store the ArrayList of results, since we'll
233 pass that to the OleDbDataReader.
234 (OleDbCommand constructor): don't create the ArrayList of results.
235 (GdaResults): removed property.
236 (ExecuteReader): create a temporary ArrayList and pass that to the
237 OleDbDataReader constructor.
239 2002-07-28 Rodrigo Moya <rodrigo@ximian.com>
241 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader):
242 (CreateParameter): implemented IDbCommand methods.
243 (CommandText): don't create many GdaCommand's, only one is needed.
244 (ExecuteNonQuery): set up the internal GDA command object.
245 (ExecuteReader): use correctly the unique GDA command object.
247 * System.Data.OleDb/libgda.cs: added new libgda calls.
249 2002-07-27 Rodrigo Moya <rodrigo@ximian.com>
251 * System.Data.OleDb/OleDbConnection.cs (CreateCommand):
252 (BeginTransaction): implemented IDbConnection methods.
254 2002-07-12 Rodrigo Moya <rodrigo@ximian.com>
256 * list: added System.Data.OleDb files to file list.
258 2002-07-11 Rodrigo Moya <rodrigo@ximian.com>
260 * System.Data.OleDb/libgda.cs: added new libgda functions and some enumerations.
262 * System.Data.OleDb/OleDbParameter.cs (IsNullable): removed explicit implementation
263 of the set method for this property.
265 * System.Data.OleDb/OleDbDataAdapter.cs (MissingMappingAction): implemented.
266 (MissingSchemaAction): implemented.
268 2002-07-10 Tim Coleman <tim@timcoleman.com>
270 * System.Data.OleDb/OleDbCommandBuilder.cs: Added new methods, properties
271 * System.Data.OleDb/OleDbConnection.cs: Modified constructor
272 * System.Data.OleDb/OleDbError.cs: Added stubbs
273 * System.Data.OleDb/OleDbException.cs: Added stubbs
274 * System.Data.OleDb/OleDbInfoMessageEventArgs.cs: Added stubbs
275 * System.Data.OleDb/OleDbInfoMessageEventHandler.cs: style change
276 * System.Data.OleDb/OleDbParameter.cs: Added conversion from type to OleDbType
277 * System.Data.OleDb/OleDbPermission.cs: Added stubbs
278 * System.Data.OleDb/OleDbSchemaGuid.cs: Added stubbs
279 * System.Data.OleDb/OleDbTransaction.cs: New constructors, changes to methods to
280 support transaction nesting
281 * System.Data.OleDb/libgda.cs: Added my name to this file
283 2002-07-09 Tim Coleman <tim@timcoleman.com>
285 * System.Data.OleDb/OleDbCommand.cs: Style changes, added new methods
286 * System.Data.OleDb/OleDbConnection.cs: Style changes, added new methods
287 * System.Data.OleDb/OleDbDataAdapter.cs: Implementation
288 * System.Data.OleDb/OleDbDataReader.cs: Added stubbs
289 * System.Data.OleDb/OleDbErrorCollection.cs: Added stubbs, some implementation
290 * System.Data.OleDb/OleDbParameter.cs: Style changes, added new methods
291 * System.Data.OleDb/OleDbParameterCollection.cs: Style changes, added new methods
292 * System.Data.OleDb/OleDbPermissionAttribute.cs: Style changes, added new methods
293 * System.Data.OleDb/OleDbRowUpdatedEventArgs.cs: Added stubbs
294 * System.Data.OleDb/OleDbRowUpdatingEventArgs.cs: Added stubbs
295 * System.Data.OleDb/OleDbTransaction.cs: Style changes, added new methods
296 * System.Data.OleDb/OleDbType.cs: Fixed two typos
297 * System.Data.OleDb/libgda.cs: Style changes, added new methods
299 2002-07-09 Tim Coleman <tim@timcoleman.com>
301 * System.Data.build: remove restriction on System.Data.OleDb build
303 2002-06-03 Rodrigo Moya <rodrigo@ximian.com>
305 * System.Data.OleDb/OleDbParameterCollection.cs (GetEnumerator, SyncRoot,
306 IsSynchronized): implemented.
308 2002-06-02 Rodrigo Moya <rodrigo@ximian.com>
310 * System.Data.OleDb/OleDbTransaction.cs (Dispose): added missing method.
312 * System.Data.OleDb/OleDbCommand.cs (Clone): added missing methods.
313 (Parameters, Transaction, Connection): made these overload
316 * System.Data.OleDb/OleDbParameterCollection.cs (IndexOf, Remove, RemoveAt):
317 call m_list methods, not own ones.
319 * System.Data.OleDb/OleDbParameter.cs: more implementation.
321 2002-06-02 Rodrigo Moya <rodrigo@ximian.com>
323 * System.Data.OleDb/OleDbTransaction.cs (Connection, IsolationLevel, Begin,
324 Commit, Rollback): implemented.
325 (GdaConnection): added new internal property.
327 * System.Data.OleDb/OleDbParameter.cs:
328 * System.Data.OleDb/OleDbParameterCollection.cs: implemented some methods and
331 * System.Data.OleDb/libgda.cs: added yet more libgda API functions.
333 2002-06-01 Rodrigo Moya <rodrigo@ximian.com>
335 * System.Data.OleDb/libgda.cs: added new libgda API functions.
337 * System.Data.OleDb/OleDbConnection.cs (Provider): implemented.
338 (BeginTransaction): made it overload IDbConnection methods.
339 (ChangeDatabase): new stub, needs some work on libgda for being
342 (Close): implemented.
343 (CreateCommand): implemented.
344 (GetOleDbSchemaTable): new stub, until I understand what to do here.
345 (Open): implemented basic stuff, which is just supporting connection
346 strings that represent a GDA data source name. More to come.
347 (InfoMessage, StateChange): added events.
349 * System.Data.OleDb/TestOleDb.cs: test program for System.Data.OleDb.
351 2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
353 * System.Data.OleDb/libgda.cs: added static constructor.
354 (GdaClient): new static property to get the underlying GdaClient
357 * System.Data.OleDb/OleDbConnection.cs: removed GDA initialization, which belongs to
358 the static 'libgda' class.
360 2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
362 * System.Data.OleDb/libgda.cs: static class for libgda API calls.
364 * System.Data.OleDb/OleDbConnection.cs: implemented constructors.
365 (ConnectionString, Connectiontimeout, Database, State):
366 implemented class properties.
367 (BeginTransaction): implemented.
369 * System.Data.OleDb/OleDbTransaction.cs: implemented protected constructors.
371 * System.Data.OleDb/TestGDA.cs: simple test for libgda API.
373 2002-05-27 Rodrigo Moya <rodrigo@ximian.com>
375 * System.Data.OleDb/*: started System.Data.OleDb provider, based on libgda.
377 2002-06-06 Rodrigo Moya <rodrigo@ximian.com>
379 * list: added missing PostgresTypes.cs file.
381 2002-06-02 Francisco Jr. <fxjrlists@yahoo.com.br>
383 * System.Data.SqlClient/SqlParameterCollection.cs: implemented missing
386 2002-05-30 Daniel Morgan <danmorg@sc.rr.com>
388 * System.Data.SqlClient/SqlConnection.cs: modifed -
389 start to implement the interfaces properly and
390 properly doing a Close(), Dispose(), and
393 * Test/SqlSharpCli.cs: modified -
394 add support for MySQL in Mono.Data.MySql
395 and OleDb support in System.Data.OleDb. However,
396 the OleDb support is commented right now.
397 When the program starts up, a shorter help menu should
398 display the most important commands: help and quit
400 2002-05-28 Rodrigo Moya <rodrigo@ximian.com>
402 * System.Data.build: exclude System.Data.OleDb files.
404 2002-05-27 Daniel Morgan <danmorg@sc.rr.com>
406 * System.Data.SqlClient/SqlCommand.cs: typo
407 should be CommandBehavior.KeyInfo
409 * Test/SqlSharpCli.cs: refactored and added a few more
412 2002-05-27 Tim Coleman <tim@timcoleman.com>
413 * list: update to compile properly (add missing
414 files and switch path delimiter from '\' to '/').
416 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
418 * System.Data/DataRow.cs
419 * System.Data.Common/DbDataAdapter.cs: fix to
420 get Test/TestSqlDataAdapter.cs to work again
422 * Test/TestSqlDataAdapter.cs: removed comment
423 about SqlDataReader:NextResult() not being implemented; it
426 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
428 * System.Data/DataRow.cs: modified
429 support setting of DBNull.Value
430 using the Item indexer this[DataColumn]
432 * System.Data.SqlClient/SqlCommand.cs: modified
433 tweaks to show TODO's for other CommandBehavior.
434 Set AllowDBNull column to true for IsKey row
437 * System.Data.SqlClient/SqlConnection.cs: modified
438 if transaction is in progress when a Close() is called,
439 do a transaction Rollback.
441 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
443 * Test/SqlSharpCli.cs: added file
444 My new toy. SQL# is a command-line tool to enter
445 SQL commands and queries using Mono System.Data.
446 It also serves as a test for Mono System.Data.
448 * System.Data.SqlClient/SqlCommand.cs: modified
449 - ExecuteNonQuery(), ExecuteScalar(), and ExecuteReader()
450 should handle the results from SQL Commands and Queries.
451 - Internal class SqlResult should not create schema Table
452 for the result from a SQL Command. Also, set the RecordsRetrieved
453 property for SqlDataReader.
454 - Closing the SqlDataReader should Close() the SqlConnection for
455 a CommandBehavior.CloseConnection.
456 - Set defaults for SqlResult
458 * System.Data.SqlClient/SqlConnection.cs: modified -
459 when SqlDataReader is Close()
460 should Close() the SqlConnection for
461 a CommandBehavior.CloseConnection. Changed internal Property
462 from OpenReader get/set to IsReaderOpen get and created
463 internal methods OpenReader()/CloseReader() for SqlCommand to call.
464 SqlConnection needs to be prevented from doing while SqlDataReader
467 * System.Data.SqlClient/SqlDataReader.cs: modified -
468 call SqlCommand's OpenReader() internal method. get
469 RecordsRetrieved from SqlResult. set/reset default
470 values for SqlDataReader.
472 * Test/PostgresTest.cs
473 * Test/TestExecuteScalar.cs
474 * Test/TestSqlDataReader.cs: modified
475 for the Execute...() methods in SqlCommand
476 to test SQL Queries and Commands
478 * Test/System.Data_test.build: modified
479 exclude new file Test/SqlSharpCli.cs from
482 2002-05-24 Tim Coleman <tim@timcoleman.com>
483 * System.Data.Common/DbDataAdapter.cs: remove IDbCommands, except
484 for get accessors. These should be implemented in derived classes. See
485 SqlDataAdapter for clues.
486 * System.Data.SqlClient/SqlDataAdapter.cs: implement IDbDataAdapter
487 * System.Data.Common/DataAdapter.cs:
488 * System.Data.Common/DataTableMappingCollection.cs:
489 * System.Data.Common/DataTableMapping.cs:
490 * System.Data.Common/DataColumnMappingCollection.cs:
491 * System.Data.Common/DataColumnMapping.cs:
492 Properly (I hope!) implement all of the appropriate interfaces
496 2002-05-23 Tim Coleman <tim@timcoleman.com>
497 * System.Data.SqlClient/SqlCommand.cs: include
498 the BaseColumnName in the schema table. Was missed before.
499 * System.Data.Common/DbDataAdapter.cs: Use DataTable
500 mappings so that the DataSet and DataTable are more closely tied.
501 Get schema information from the DataTable using GetSchemaTable ()
502 Various other little fixes
503 * System.Data.Common/DataColumnMappingCollection.cs:
504 * System.Data.Common/DataTableMapping.cs:
505 * System.Data.Common/DataTableMappingCollection.cs: Some
506 implementation, enough to be used by DbDataAdapter.
508 2002-05-23 Daniel Morgan <danmorg@sc.rr.com>
510 * System.Data.SqlClient/SqlCommand.cs: set
511 the "ProviderType" to the PostgreSQL type oid
513 * System.Data.SqlClient/SqlDataReader.cs: fix
514 for various properties and methods that
515 return meta data: Item indexers this[name] and this[index],
516 GetFieldType, GetName, and GetOrdinal. SqlDataAdapter
519 2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
521 * System.Data/DataRow.cs: change suggested
522 by tim: in Item indexer, do an EndEdit()
524 * System.Data.SqlClient/SqlCommand.cs: more
525 fixes to SqlResult. After setting each item in
526 the DataRow, do an AcceptChanges() to commit
527 the changes in the DataRow. For DataType, use a Type
528 of System.String since System.Type nor System.Object
531 * Test/TestSqlDataReader.cs
532 * Test/PostgresTest.cs: updated to to be on
533 the way schema table is suppose to work
535 2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
537 * System.Data.SqlClient/SqlCommand.cs: more work on
538 building the schema table
540 2002-05-22 Tim Coleman <tim@timcoleman.com>
541 * System.Data.SqlClient/SqlCommand.cs: preliminary work
542 on getting the schema table correctly built.
544 2002-05-21 Daniel Morgan <danmorg@sc.rr.com>
546 * System.Data.SqlClient/ParmUtil.cs: added file - to
547 provide utility for conversion of input parameters
549 * System.Data.SqlClient/PostgresTypes.cs: added file -
550 moved the PostgreHelper class to here. May eventually
551 move the internal class PostgresTypes that's inside the
552 SqlConnection to here as well.
553 Handling of PostgreSQL <-> .NET types need to be though
554 out more. Also, the PostgreHelper has a method to convert
555 from .NET types to a string which can be put into used in
556 an SQL statement to execute against a PostgreSQL database.
557 This is the beginnings of parameters support. It currently
558 only supports input parameters. Still need to do output,
559 input/output, and return parameters.
561 * Test/TestSqlParameters.cs: new test to test the input
562 parameters in System.Data.SqlClient against a
565 * System.Data.SqlClient/PostgresLibrary.cs: moved
566 PostgresHelper class to file PostgresTypes.cs. Also
567 moved struct PostgresType there too.
569 * System.Data.SqlClient/SqlCommand.cs: added input
572 * System.Data.SqlClient/SqlParameter.cs: got
575 * System.Data.SqlClient/SqlParameterCollection.cs: got
576 SqlParameterCollection to work
578 * Test/System.Data_test.build: added files to exclude
581 * System.Data.SqlClient/SqlConnection.cs: release resources
584 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
586 * System.Xml: added directory for classes with namespace
587 System.Xml to go into the System.Data.dll assembly
589 * System.Xml/XmlDataDocument: added file
590 for stubbed concrete class XmlDataDocument which
591 inherits from XmlDocument. Its purpose is to provide
592 a W3C XML DOM Document for relational data and interacting
595 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
597 * System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
598 Text, TableDirect, and StoredProcedure
600 * Test/PostgresTest.cs: changed call to version()
601 stored procedure to use the CommandType of StoredProcedure
603 * Test/TestSqlDataReader.cs: test all the CommandTypes
605 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
607 * System.Data.build: took out all excluded
608 files except the ones in the Test directory
609 because all files compile now. It does not
610 mean they all work or have implementations
613 * System.Data/DataRelationCollection.cs
614 * System.Data/DataTableRelationCollection.cs
615 * System.Data/InternalDataCollectionBase.cs
616 * System.Data.Common/DbDataPermission.cs
617 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs
618 * System.Data.SqlClient/SqlClientPermission.cs
619 * System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
620 to get all System.Data* files to compile.
622 * System.Data.SqlClient/SqlCommand.cs: started coding
623 to prevent SqlConnection and SqlCommand from doing
624 anyting while fetching data using SqlDataReader. Also,
625 started coding to undo this prevention once the
626 SqlDataReader is closed.
628 * System.Data.SqlClient/SqlConnection.cs: get database server
629 version. Started coding to prevent connection from
630 doing anything while fetching data and undo once the reader
631 is closed. Include events SqlInfoMessage and StateChange.
633 * System.Data.SqlClient/SqlDataReader.cs: start coding to
634 prevent connection and command from doing anything while
635 fetching data, and undo when closed.
637 * Test/PostgresTest.cs: added test to get ServerVersion
638 property from SqlConnection
640 2002-05-18 Tim Coleman <tim@timcoleman.com>
641 * System.Data/DataRow.cs: More implementation,
642 as well as boundary checks and small semantic
645 2002-05-18 Tim Coleman <tim@timcoleman.com>
646 * System.Data/DataRow.cs: Try to reduce memory
647 usage by only creating the original and proposed
648 arrays as required in BeginEdit, and then destroying
649 proposed during EndEdit, and original during AcceptChanges.
650 * System.Data.Common/DbDataAdapter.cs: Make the
651 startRecord and maxRecords parameters work correctly.
653 2002-05-18 Tim Coleman <tim@timcoleman.com>
654 * System.Data/DataRow.cs: Move the null check in
655 ItemArray set to above the Invalid Cast check, so
656 that we don't get null reference exceptions.
658 2002-05-17 Daniel Morgan <danmorg@sc.rr.com>
660 * System.Data.SqlClient/PostgresLibrary.cs: handle
661 data value from database being NULL
663 * System.Data.SqlClient/SqlCommand.cs: for ExecuteReader,
664 allow multiple result sets. Added new internal class
665 SqlResult to pass result set data from SqlCommand
668 * System.Data.SqlClient/SqlDataReader.cs: allow
669 multiple result sets.
671 * System.Data.SqlClient/SqlConnection.cs: moved
672 things around. Implement IDisposable.
674 * Test/TestSqlDataReader.cs: test for execution
675 of multiple result sets and display the results
676 of these multiple results sets
678 * Test/TestSqlDataAdapter.cs: tweaks
680 2002-05-17 Tim Coleman <tim@timcoleman.com>
681 * System.Data.Common/DbDataAdapter.cs:
682 - More implementation of Fill methods
683 - Get rid of isDirty flag, because we can just check
685 - Do *not* remove DataTables before Filling them
686 - Implicitly open the connection before doing a Fill
687 if it does not exist.
688 * System.Data.SqlClient/SqlDataAdapter.cs:
690 * System.Data/DataTableCollection.cs:
691 - Add DataSet to internal, undocumented constructor
692 - When a table is created, set its DataSet property
693 - Default table name for creation is "Table1" (see .NET)
694 - Inherit the ArrayList list from InternalDataCollecitonBase
695 and maintain a hashtable between table names and
697 * System.Data/DataTable.cs:
698 - Add internal dataSet field. This is used by
699 DataTableCollection when the DataTable is constructed.
700 * System.Data/DataSet.cs:
701 - Pass a reference to the DataSet when constructing the
704 2002-05-16 Tim Coleman <tim@timcoleman.com>
705 * System.Data.Common/DbDataAdapter.cs:
706 Use table.Rows.Add (itemArray) instead of
707 table.Rows.Add (thisRow) to provide better
709 * System.Data/DataRowCollection.cs:
710 Some implementation of this class.
711 * System.Data/InternalDataCollectionBase.cs:
712 Some implementation. Most notably, this now
713 has an enumerator so we can use foreach (DataRow row in table.Rows)
715 * System.Data/DataTable.cs:
716 Since DataRowCollection now accepts a DataTable in
717 its internal constructor, we must pass one in.
719 2002-05-16 Daniel Morgan <danmorg@sc.rr.com>
721 * Test/TestSqlDataAdapter.cs: added new test
722 for SqlDataAdapter, DataSet, DataTableCollection, DataTable,
723 DataRowCollection, and DataRow. It tests retrieving data
724 based on a SQL SELECT query. This test is based on Tim Coleman's
727 2002-05-16 Tim Coleman <tim@timcoleman.com>
728 * System.Data.Common/DbDataAdapter.cs:
729 Use table.Rows.Add (thisRow) instead of
730 table.ImportRow (thisRow)
731 * System.Data/DataRowCollection.cs:
732 Construct the ArrayList before using it
734 2002-05-16 Tim Coleman <tim@timcoleman.com>
735 * System.Data/DataTable.cs:
736 Construct the DataRowCollection in the DataTable
737 constructor. Otherwise, it's a null reference.
739 2002-05-16 Tim Coleman <tim@timcoleman.com>
740 * System.Data.SqlClient/SqlDataReader.cs:
741 Modify GetValues to use Array.Copy() to copy
742 the results from fields to values, rather than
743 an assignment, which results in loss of data.
745 2002-05-16 Tim Coleman <tim@timcoleman.com>
746 * System.Data/DataRow.cs:
747 More implementation and documentation. It should
748 work more like expected, although there is no way
749 to demonstrate this well yet. DataTable requires
752 2002-05-15 Tim Coleman <tim@timcoleman.com>
753 * System.Data/DataRow.cs:
754 Minor tweaks as I determine exactly how to
755 implement this class.
758 2002-05-14 Duncan Mak <duncan@ximian.com>
760 * System.Data/DataTable.cs (NewRow): Added missing paren to fix build.
762 2002-05-14 Tim Coleman
763 * System.Data/DataRow.cs:
764 * System.Data/DataRowBuilder.cs:
765 * System.Data/DataTable.cs:
766 More implementation of these classes. DataRow
767 can now (possibly) do some useful things.
768 Still not sure what DataRowBuilder is all about,
769 other than passing a DataTable in.
771 2002-05-14 Tim Coleman
772 * System.Data/DataRowBuilder.cs:
773 Add stubb for this internal class.
775 2002-05-13 Tim Coleman
776 * System.Data.Common/DbDataAdapter.cs:
777 The maxRecords check was not correct.
779 2002-05-13 Tim Coleman
780 * System.Data/DataTableCollection.cs:
781 Fix an issue when adding a DataTable and size == 0.
782 Now explicitly checks if size > 0 before doing Array.Copy ()
783 * System.Data.Common/DbDataAdapter.cs:
784 Move closer to a working implementation.
785 Make the IDbCommand fields protected so that they can
787 * System.Data.SqlClient/SqlDataAdapter.cs:
788 This should inherit the IDbCommands instead of having its
789 own. An explicit cast is used to force conversion between
790 IDbCommand and SqlCommand
792 2002-05-13 Tim Coleman
793 * System.Data.Common/DataTableMappingCollection.cs:
794 Some implementation to allow progress with DbDataAdapter
796 2002-05-13 Tim Coleman
797 * System.Data.Common/DbDataAdapter.cs:
798 Modify to not break compile.
800 2002-05-13 Tim Coleman
802 include SqlDataAdapter, SqlRowUpdatedEventArgs,
803 SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
804 SqlRowUpdatingEventHandler in the build.
806 2002-05-13 Tim Coleman
807 * System.Data.Common/DbDataAdapter.cs:
809 * System.Data.Common/DataAdapter.cs:
810 Correction of some of the stubbing, as well as a
811 little bit more implementation
813 2002-05-11 Tim Coleman
814 * System.Data.SqlClient/SqlDataAdapter.cs:
815 * System.Data.Common/DbDataAdapter.cs:
816 Moved methods that weren't supposed to
817 be in SqlDataAdapter out. They should be implemented
821 2002-05-11 Tim Coleman
822 * System.Data.SqlClient/SqlDataAdapter.cs:
823 some implementation of this class. Note
824 that none of the functionality has been
825 tested yet, but I felt it should be checked
826 in at this point as it compiles.
827 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
828 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
829 Modified so that they will compile properly.
830 Needed to include SqlDataAdapter in the build.
832 2002-05-11 Rodrigo Moya <rodrigo@ximian.com>
834 * System.Data/DataTable.cs (Clear): implemented.
835 (DataTable): removed repeated code in constructors, and call the
836 basic constructor from the others.
838 * System.Data/DataColumn.cs: some tweaks.
840 * System.Data/DataRow.cs (RowState): implemented.
841 (CancelEdit): set rowState property back to Unchanged.
842 (RejectChanges): call CancelEdit.
843 (Delete): set rowState to Deleted.
845 2002-05-11 Daniel Morgan <danmorg@sc.rr.com>
847 * System.Data.build: added copy of System.Data.dll to Test directory
848 for easy testing. Also, added clean for it too.
850 * System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
851 from PostgreSQL data type to .NET type.
853 * System.Data.SqlClient/SqlDataReader.cs: beginnings
854 handling of a NULL value from the database
856 * Test/PostgresTest.cs: added tests for NULL values retrieved
859 * Test/ReadPostgresData.cs
860 * Test/TestExecuteScalar.cs
861 * Test/TestSqlDataReader.cs
862 * Test/TestSqlException.cs
863 * Test/TestSqlIsolationLevel.cs: updated tests to use databas user
864 "postgres". These tests may eventually be removed since they
867 2002-05-10 Rodrigo Moya <rodrigo@ximian.com>
869 * System.Data.build: removed reference to non-existant
870 TestDataColumn.cs file.
872 * System.Data/DataSet.cs: added some implementation.
874 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
876 * System.Data.SqlClient/PostgresLibrary.cs: got
877 PostgreSQL data types time, date, timestamp (DateTime like)
878 mapped to .NET System.DateTime working based
879 on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
880 Also mapped pg type boolean to .net Boolean
882 * SqlClient/SqlConnection.cs: run SQL command to set
885 * Test/PostgresTest.cs: added test for an UPDATE SQL command,
886 added tests for aggregates min(), max(), sum(), count(). could
887 not get avg() to work due to some formatting error; someone claimed
888 that it was my locale settings. added tests for SELECT of columns
889 of type boolean, float, double, date, time, and timestamp. They
890 have not been fully tested, but its a start.
892 2002-05-09 Tim Coleman <tim@timcoleman.com>
893 * System.Data.SqlTypes/SqlDecimal.cs: Implementations of
894 addition, subtraction, and multiplication for the
895 SqlDecimal type, as well as modification of some other
896 operations. More to come on this one.
898 2002-05-08 Rodrigo Moya <rodrigo@ximian.com>
900 * Test/System.Data_test.build: excluded TestDataColumn, which
901 should be replaced with a nunit test.
903 * Test/TestDataColumn.cs: added basic test for DataColumn.cs.
905 2002-05-07 Tim Coleman <tim@timcoleman.com>
919 Fix the broken build I made before. Bad
922 2002-05-07 Tim Coleman <tim@timcoleman.com>
924 Fix a symantic error I made in SqlString
925 Equals where I copied and pasted wrongly
927 2002-05-07 Tim Coleman <tim@timcoleman.com>
932 * SqlCompareOptions.cs:
943 Implement CompareTo, Equals, and String conversions
946 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
948 * Test/PostgresTest.cs: modified to run completely. There
949 are many TODOs in System.Data, so not all data types are
950 included in the SELECT SQL query. Also, I made it to where
952 using "host=localhost;dbname=test;user=postgres"
953 instead of my userid and password. When more types are included,
956 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
958 * Test/PostgresTest.cs: added - ported
959 libgda postgres-test.c originally by
960 Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
963 2002-05-05 Tim Coleman <tim@timcoleman.com>
964 * System.Data.SqlTypes/SqlBinary.cs:
965 * System.Data.SqlTypes/SqlBoolean.cs:
966 * System.Data.SqlTypes/SqlByte.cs:
967 * System.Data.SqlTypes/SqlDateTime.cs:
968 * System.Data.SqlTypes/SqlDecimal.cs:
969 * System.Data.SqlTypes/SqlDouble.cs:
970 * System.Data.SqlTypes/SqlGuid.cs:
971 * System.Data.SqlTypes/SqlInt16.cs:
972 * System.Data.SqlTypes/SqlInt32.cs:
973 * System.Data.SqlTypes/SqlInt64.cs:
974 * System.Data.SqlTypes/SqlMoney.cs:
975 * System.Data.SqlTypes/SqlSingle.cs:
976 * System.Data.SqlTypes/SqlString.cs:
977 More implementation, and code clean-up for consistency.
978 Also, I had implemented many conversions as explicit
979 that should have been implicit. This should remove
980 many of the red X's and green pluses from the
981 System.Data.SqlTypes namespace.
983 2002-05-05 Miguel de Icaza <miguel@ximian.com>
985 * System.Data/DataSet.cs: Remove [Serializable] attributes from
986 methods, those only apply to structs or classes.
988 Stub out ISerializable, ISupportInitialize, and IListSource methods
990 * System.Data/DataRowView.cs: Stub out interface methods for
991 IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
993 * System.Data/DataView.cs: Comment out non-implemented
996 * System.Data/DataViewSettingsCollection.cs: Type cast variables
997 to the correct type to make it compile.
999 * System.Data/DataViewSettings.cs: remove reference to
1000 non-existance type ApplyDefaultSort, it is a boolean.
1003 2002-05-05 Tim Coleman <tim@timcoleman.com>
1004 * System.Data.SqlTypes/SqlBinary.cs:
1005 * System.Data.SqlTypes/SqlBoolean.cs:
1006 * System.Data.SqlTypes/SqlByte.cs:
1007 * System.Data.SqlTypes/SqlDecimal.cs:
1008 * System.Data.SqlTypes/SqlDouble.cs:
1009 * System.Data.SqlTypes/SqlGuid.cs:
1010 * System.Data.SqlTypes/SqlInt16.cs:
1011 * System.Data.SqlTypes/SqlInt32.cs:
1012 * System.Data.SqlTypes/SqlInt64.cs:
1013 * System.Data.SqlTypes/SqlMoney.cs:
1014 * System.Data.SqlTypes/SqlSingle.cs:
1015 * System.Data.SqlTypes/SqlString.cs:
1016 Various fixes, including adding the SqlNullValueException
1017 when trying to retrieve the value of a null SqlType,
1018 and when casting values, a Null of type A converts to a
1021 2002-05-04 Daniel Morgan <danmorg@sc.rr.com>
1023 * System.Data.SqlClient/PostgresLibrary.cs
1024 * System.Data.SqlClient/SqlCommand.cs
1025 * System.Data.SqlClient/SqlConnection.cs
1026 * System.Data.SqlClient/SqlDataReader.cs
1027 oid should not be hard coded because they
1028 can change from one version of PostgreSQL
1029 to the next. Use the typname's instead.
1030 The PostgreSQL type data retrieves
1031 at database connection time. Any unimplemented
1032 types just default to string. These were things
1033 suggested by Gonzalo.
1035 * Test/ReadPostgresData.cs - stuff
1036 * Test/TestSqlDataReader.cs - stuff
1038 * System.Data.SqlTypes/SqlInt32.cs - added a using
1040 2002-05-03 Tim Coleman <tim@timcoleman.com>
1041 * System.Data.build: Fix the build so that test depends on build
1043 2002-05-03 Tim Coleman <tim@timcoleman.com>
1044 * System.Data.SqlTypes/SqlByte.cs:
1045 * System.Data.SqlTypes/SqlDateTime.cs:
1046 * System.Data.SqlTypes/SqlDecimal.cs:
1047 * System.Data.SqlTypes/SqlDouble.cs:
1048 * System.Data.SqlTypes/SqlGuid.cs:
1049 * System.Data.SqlTypes/SqlInt16.cs:
1050 * System.Data.SqlTypes/SqlInt64.cs:
1051 * System.Data.SqlTypes/SqlMoney.cs:
1052 * System.Data.SqlTypes/SqlSingle.cs:
1053 These files were mysteriously excluded from the last
1054 patch I made and sent to Rodrigo
1055 * System.Data.build: include the System.Data.SqlTypes in the build
1057 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
1059 * System.Data.build: removed comments
1061 * System.Data.SqlClient/PostgresLibrary.cs: changed
1062 the hard-coded PostgreSQL oid type int's to using an
1063 enum. Also, added PostgreSQL bpchar (character) type.
1065 * Test/TestSqlDataReader.cs: updated test
1066 to include new bpchar PostgreSQL type
1068 2002-05-03 Rodrigo Moya <rodrigo@ximian.com>
1070 * System.Data.SqlTypes/SqlBinary.cs:
1071 * System.Data.SqlTypes/SqlBoolean.cs:
1072 * System.Data.SqlTypes/SqlInt32.cs:
1073 * System.Data.SqlTypes/SqlString.cs: more implementation, by
1074 Tim Coleman <tcoleman@opentext.com>.
1076 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
1078 * Test/TestExecuteScalar.cs: added test for
1079 method ExecuteScalar in class SqlCommand.
1081 * System.Data/DataColumnCollection.cs - it should
1082 inherit properties from base InternalDataCollectionBase
1083 and use them instead of overriding them, such as, List.
1085 * System.Data/DataColumn.cs
1086 * System.Data/DataTable.cs: tweaks to retrieve
1087 meta data from the database
1089 * System.Data.SqlClient/PostgresLibrary.cs -
1090 added method OidToType to convert PostgreSQL oid type
1091 to System.Type. Renamed method OidTypeToSystem
1092 to ConvertPgTypeToSystem for converting the data value
1093 from a PostgreSQL type to a .NET System type.
1095 * System.Data.SqlClient/SqlCommand.cs: implemented
1096 method ExecuteReader which returns a SqlDataReader
1097 for a light forward only read only result set.
1098 It works on types int4 ==> Int32 and
1099 varchar ==> String. Other types
1102 * System.Data.SqlClient/SqlConnection.cs: added comment
1104 * System.Data.SqlClient/SqlDataReader.cs: implemented
1105 class. It works, but still lots to do.
1107 * Test/ReadPostgresData.cs: stuff
1109 * Test/TestSqlDataReader.cs: updated test for SqlDataReader
1110 to display meta data and the data
1112 2002-05-03 Duncan Mak <duncan@ximian.com>
1114 * TODO: Took out all the Exceptions. They should be all done now.
1116 * System.Data/ConstraintException.cs:
1117 * System.Data/DBConcurrencyException.cs:
1118 * System.Data/DataException.cs:
1119 * System.Data/DeletedRowInaccessibleException.cs:
1120 * System.Data/DuplicateNameException.cs:
1121 * System.Data/EvaluateException.cs:
1122 * System.Data/InRowChangingEventException.cs:
1123 * System.Data/InvalidConstraintException.cs:
1124 * System.Data/InvalidExpressionException.cs:
1125 * System.Data/MissingPrimaryKeyException.cs:
1126 * System.Data/NoNullAllowedException.cs:
1127 * System.Data/ReadOnlyException.cs:
1128 * System.Data/RowNotInTableException.cs:
1129 * System.Data/StrongTypingException.cs:
1130 * System.Data/SyntaxErrorException.cs:
1131 * System.Data/TypeDataSetGeneratorException.cs:
1132 * System.Data/VersionNotFoundException.cs: Added to CVS.
1134 * System.Data.SqlTypes/SqlNullValueException.cs:
1135 * System.Data.SqlTypes/SqlTruncateException.cs:
1136 * System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
1138 2002-05-02 Rodrigo Moya <rodrigo@ximian.com>
1140 * System.Data/DataViewSettingCollection.cs: implemented.
1142 * System.Data/DataRowView.cs: new stubs.
1144 * System.Data.SqlTypes/SqlByte.cs:
1145 * System.Data.SqlTypes/SqlDateTime.cs:
1146 * System.Data.SqlTypes/SqlDecimal.cs:
1147 * System.Data.SqlTypes/SqlDouble.cs:
1148 * System.Data.SqlTypes/SqlGuid.cs:
1149 * System.Data.SqlTypes/SqlInt16.cs:
1150 * System.Data.SqlTypes/SqlInt64.cs:
1151 * System.Data.SqlTypes/SqlMoney.cs:
1152 * System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
1153 by Tim Coleman <tcoleman@opentext.com>
1155 * System.Data.build: excluded newly-added files.
1157 2002-05-02 Daniel Morgan <danmorg@sc.rr.com>
1159 * System.Data.SqlClient/PostgresLibrary.cs: included new
1160 internal class that will be a helper class in using
1161 PostgreSQL. PostgresLibrary is used for the
1162 pinvoke methods to the PostgreSQL Client
1163 native C library libpq while the class PostgresHelper
1164 is used for wrapper or helper methods. It currently only
1165 has one static method OidTypeToSystem in converting
1166 PostgreSQL types to .NET System.<type>s, such as,
1167 a PostgreSQL int8 becomes a .NET System.Int64.
1168 Only a few types have been added, such as, int2,
1169 int4, int8, varchar, text, bool, and char. Other types
1172 * System.Data.SqlClient/SqlCommand.cs: implemented
1173 method ExecuteScalar which allows us to do aggregate
1174 functions, such as, count, avg, min, max, and sum. We
1175 also are able to retrieve the result, convert it to the .NET type
1176 as an object. The user of the returned object must explicitly cast.
1178 * Test/ReadPostgresData.cs: updated sample
1179 to help us learn to retrieve data in System.Data.SqlClient
1182 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
1184 * System.Data.build: added /nowarn: nnnn arguments
1185 so you will not get a ton of warnings. The warnings
1186 being excluded are: 1595, 0067, 0109, 0169, and 0649
1188 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
1190 * System.Data.build: modified to exclude more
1191 files from the build
1193 2002-05-01 Rodrigo Moya <rodrigo@ximian.com>
1195 * System.Data.SqlClient/SqlClientPermission.cs: added missing
1198 * System.Data/MergeFailedEventArgs.cs: new class, contributed
1199 by John Dugaw <jdugaw@unizenconsulting.com>.
1201 * System.Data.build: excluded new files from build.
1203 2002-04-29 Daniel Morgan <danmorg@sc.rr.com>
1205 * Test/ReadPostgresData.cs: added - Uses the
1206 PostgresLibrary to retrieve a recordset.
1207 This is not meant to be used in Production, but as a
1208 learning aid in coding
1209 class System.Data.SqlClient.SqlDataReader.
1210 This sample does work.
1212 * Test/TestSqlDataReader.cs: added - used
1213 to test SqlDataReader (does not work yet)
1214 Forgot to add to ChangeLog on last commit.
1216 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1218 * System.Data/DataViewSetting.cs: new class.
1220 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1222 * System.Data/DataViewManager.cs: new class.
1224 * System.Data.SqlTypes/INullable.cs: properties for interfaces
1225 don't have implementation.
1227 * System.Data.SqlTypes/SqlInt32.cs:
1228 * System.Data.SqlTypes/SqlString.cs:
1229 * System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
1230 these are strctures.
1232 * System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
1235 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1237 * System.Data/DataTableRelationCollection.cs: use 'new' keyword
1238 for correctly hiding parent class' members.
1239 (AddRange): use 'override' keyword on overriden method.
1241 (Contains): likewise.
1242 (IndexOf): likewise.
1243 (OnCollectionChanged): likewise.
1244 (OnCollectionChanging): likewise.
1245 (RemoveCore): likewise.
1247 * System.Data/DataColumnCollection.cs: use 'new' keyword.
1249 * System.Data/DataSet.cs: added missing 'using's.
1251 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1253 * System.Data/DataSet.cs:
1254 * System.Data/DataTableCollection.cs:
1255 * System.Data/DataView.cs: compilation fixes on Linux.
1257 2002-04-28 Daniel Morgan <danmorg@sc.rr.com>
1259 * System.Data/DataRelation.cs
1260 * System.Data/ForeignKeyConstraint.cs
1261 * System.Data/UniqueConstraint.cs: added more stubs
1263 * System.Data/DataTableRelationCollection.cs: added back to cvs
1264 and modified for compile errors. DataRelationCollection is an
1265 abstract class and there must be a class that implements for
1266 DataTable/DataSet. DataTableRelationCollection was changed
1267 to an internal class.
1269 * System.Data.build: modified - new files added
1270 also wanted to include files/classes in the build
1271 so we can get a compilable forward read only result set.
1272 It compiles now using csc/nant with warnings, but this
1273 is a start for adding functionality for the result set.
1274 Classes associated with/and DataSet are still excluded.
1276 * TODO: modified - updated to do list for System.Data
1278 * System.Data/Constraint.cs
1279 * System.Data/ConstraintCollection.cs
1280 * System.Data/DataRelationCollection.cs
1281 * System.Data/DataRow.cs
1282 * System.Data/DataRowChangeEventArgs.cs
1283 * System.Data/DataRowCollection.cs
1284 * System.Data/DataTable.cs
1285 * System.Data/DataTableCollection.cs
1286 * System.Data/InternalDataCollectionBase.cs
1287 * System.Data/PropertyCollection.cs: modified -
1288 changes to compile SqlDataReader/DataTable and
1291 * System.Data/IDbCommand.cs
1292 * System.Data.SqlClient/SqlCommand.cs: modified -
1293 un-commented overloaded methods ExecuteReader
1294 which returns a SqlDataReader
1296 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1298 * System.Data/DataTableCollection.cs: more implementation.
1299 (Count): added 'override' keyword, as pointer out by Martin.
1301 * System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
1302 only call Array.Copy when there is really stuff to be copied.
1303 (CopyTo): don't create the temporary array, it's not needed.
1305 * System.Data.build: excluded newly added file from build.
1307 2002-04-27 Rodrigo Moya <rodrigo@ximian.com>
1309 * System.Data/DataTableRelationCollection.cs: removed, it's not
1310 on MS SDK documentation.
1312 * System.Data/DataTableCollection.cs: new class.
1314 2002-04-27 Daniel Morgan <danmorg@sc.rr.com>
1316 * System.Data/DataRowChangeEventArgs.cs
1317 * System.Data/DataRowCollection.cs
1318 * System.Data/DataView.cs
1319 * System.Data/PropertyCollection.cs: added new stubs
1321 * System.Data.build: modified - added new files to exclude
1324 * TODO: modified - removed files from TODO list
1325 that were stubbed above
1327 * System.Data/DataColumn.cs
1328 * System.Data/DataRow.cs: modified - various tweaks
1329 and added internal method SetTable to set the reference
1332 * System.Data/DataSet.cs: modified - class was not
1335 * System.Data/DataTable.cs: modified - temporarily commented
1336 DataSet and DataView references - trying to compile a SqlDataReader,
1337 DataTable, and dependencies for a forward read-only result set.
1338 SqlDataAdapter, DataSet, and DataView will come later once we can get
1339 a forward read only result set working.
1341 * System.Data/IDataRecord.cs: modified - source code lines should
1344 * System.Data/InternalDataCollectionBase.cs: modified - started
1345 implementing this base class for collection of data rows,
1346 columns, tables, relations, and constraints
1348 * System.Data.SqlClient/SqlException.cs: modified -
1349 call base(message) so a unhandled exception displays
1350 the message of a SQL error instead of the
1351 default SystemException message
1353 * Test/TestSqlException.cs: modified -
1354 handle the rollback properly for a SqlException on a
1357 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1359 * System.Data.build: modified - added new
1360 files to exclude from build
1362 * System.Data/Constraint.cs
1363 * System.Data/ConstraintCollection.cs
1364 * System.Data/InternalDataCollectionBase.cs: added -
1365 stubs which are needed to build DataTable.cs
1367 * TODO: modified - added more classes TODO and
1368 added more stuff TODO, such as, create script
1369 to create test database monotestdb for testing
1370 classes in System.Data
1372 2002-04-23 Rodrigo Moya <rodrigo@ximian.com>
1374 * System.Data.Common/DataAdapter.cs:
1375 * System.Data.Common/DataColumnMappingCollection.cs:
1376 * System.Data.Common/DataTableMappingCollection.cs:
1377 * System.Data.Common/DbDataPermission.cs:
1378 * System.Data.Common/DbDataPermissionAttribute.cs: some
1379 compilation errors fixed.
1381 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1383 * TODO: modified - added classes TODO, and
1384 a poor attempt at System.Data plan
1386 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1388 * ChangeLog: modified - put tabs where they belong
1390 * System.Data.SqlClient/SqlDataReader.cs
1391 * System.Data/DataColumn.cs: modified - compile errors
1392 trying to compile SqlDataAdapter and dependencies
1394 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1396 * System.Data.SqlTypes/SqlBoolean.cs
1397 * System.Data.SqlTypes/SqlCompareOptions.cs
1398 * System.Data.SqlTypes/SqlInt32.cs
1399 * System.Data.SqlTypes/SqlString.cs: added - new stubs
1401 * System.Data/DataTable.cs
1402 * System.Data.SqlClient/SqlCommand.cs
1403 * System.Data.SqlClient/SqlConnection.cs
1404 * System.Data.SqlClient/SqlError.cs
1405 * System.Data.SqlClient/SqlTransaction.cs: modified -
1408 * System.Data.SqlClient/SqlException.cs: modified -
1409 missing Message on indexer for Message property
1411 2002-04-21 Daniel Morgan <danmorg@sc.rr.com>
1413 * System.Data.SqlClient/SqlCommand.cs: modified - to
1414 compile using mcs. This problem is
1415 returning a stronger type in csc vs. msc
1417 * System.Data.SqlClient/SqlConnection.cs: modified - msc
1418 can not do a using PGconn = IntPtr; and then declare
1419 with PGconn pgConn = IntPtr.Zero;
1420 Thiw works under csc though. Had to comment using and
1421 changed declaration to IntPtr pgConn = IntPtr.Zero;
1422 Also, got rid of compile warnings for hostaddr and port.
1424 * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
1425 rid of compile warnings. Commented MonoTODO attribute because mcs
1426 doesn't seem to work with C# array property indexer (Item)
1429 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
1430 commented MonoTODO attribute for indexer for mcs compiling
1432 * Test/TestSqlIsolationLevel.cs:
1433 * Test/TestSqlInsert.cs:
1434 * Test/TestSqlException.cs: modified -
1435 removed extra ExecuteNonQuery which caused two inserted rows
1437 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
1439 * System.Data/StateChangeEventArgs.cs - added
1440 needed to compile System.Data.dll with mcs.
1442 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
1444 * System.Data.OleDb: added directory - for OleDb database
1447 * System.Data.SqlClient/SqlClientPermission.cs
1448 * System.Data.SqlClient/SqlClientPermissionAttribute.cs
1449 * System.Data.SqlClient/SqlCommandBuilder.cs
1450 * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
1451 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
1452 * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
1453 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
1454 * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
1455 * Test/TestSqlException.cs
1456 * Test/TestSqlIsolationLevel.cs: added - more tests
1458 * System.Data.build: modified - added new files - excludes these too
1460 * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
1462 * System.Data.SqlClient/SqlConnection.cs
1463 * System.Data.SqlClient/SqlCommand.cs
1464 * System.Data.SqlClient/SqlTransaction.cs
1465 * System.Data.SqlClient/SqlException.cs
1466 * System.Data.SqlClient/SqlErrorCollection.cs
1467 * System.Data.SqlClient/SqlError.cs: modified - transaction and
1468 exception/error handling. SqlConnection(connectionString)
1469 constructor should not automatically connect.
1471 * System.Data.SqlClient/SqlDataReader.cs
1472 * System.Data.SqlClient/SqlDataAdapter.cs
1473 * System.Data.SqlClient/SqlParameter.cs
1474 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
1475 added using System.ComponentModel;
1477 * Test/TestSqlInsert.cs: modified - to use transaction
1479 2002-04-17 Rodrigo Moya <rodrigo@ximian.com>
1481 * System.Data/DataRow.cs: new skeletons.
1483 * System.Data.Common/DataAdapter.cs:
1484 * System.Data.Common/DataColumnMapping.cs:
1485 * System.Data.Common/DataColumnMappingCollection.cs:
1486 * System.Data.Common/DataTableMapping.cs:
1487 * System.Data.Common/DataTableMappingCollection.cs:
1488 * System.Data.Common/DbDataAdapter.cs:
1489 * System.Data.Common/RowUpdatedEventArgs.cs:
1490 * System.Data.SqlClient/SqlDataAdapter.cs:
1491 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
1494 * System.Data.Common/DbDataRecord.cs:
1495 * System.Data.Common/DbEnumerator.cs: removed MS implementation
1498 2002-04-17 Daniel Morgan <danmorg@sc.rr.com>
1500 * Test/TestSqlInsert.cs: modified - do
1501 a SQL DELETE before SQL INSERT of row so you can use this
1504 * System.Data.SqlClient/SqlTransaction.cs: modified - default
1505 IsolationLevel for PostgreSQL is ReadCommitted. However,
1506 PostgreSQL allows Serializable as well.
1507 (Thanks to Gonzalo for that!)
1509 * System.Data.SqlClient/SqlConnection.cs: modified
1510 * System.Data.SqlClient/SqlCommand.cs: modified
1511 * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
1512 working; however, we still need to implement SQL errors
1513 and exceptions to properly handle transactions. Also, added
1514 status and error message support from the PostgreSQL database.
1515 Currently, this does a Console.WriteLine() to display the
1516 status and error messages, but this is a TODO
1517 for SQL errors and exceptions.
1519 * System.Data/TODOAttribute.cs: added - needed MonoTODO
1520 attribute for System.Data.dll assembly
1522 * System.Data/IDbCommand.cs: modified - commented
1523 overloaded method ExecuteReader
1524 so System.Data.SqlClient.SqlCommand can compile
1526 * System.Data/IDbCommand.cs: modified
1527 * System.Data/IDbConnection.cs: modified - added using System;
1528 * System.Data/IDataParameter.cs
1530 * System.Data.build: modified - build classes
1531 in System.Data.SqlClient and exclude others in System.Data
1533 * System.Data.SqlClient/PostgresLibrary.cs: modified - change
1534 parameter data type from IntPtr to enum ExecStatusType
1536 * ChangeLog: modified - corrected previous entries in log
1538 2002-04-16 Rodrigo Moya <rodrigo@ximian.com>
1540 * System.Data.Common/DataColumnMappingCollection.cs: added basic
1541 implementation. Still missing some stuff.
1543 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
1545 * System.Data.SqlClient/SqlConnection.cs: modified - got
1546 to compile, run, and connect to PostgreSQL database
1548 * System.Data.SqlClient/SqlCommand.cs: modified - got
1549 to compile, run, and execute a SQL INSERT command
1550 which successfully inserted a row
1551 into the PostgreSQL database
1553 * System.Data.SqlClient/SqlTransaction.cs: modified
1554 * System.Data.SqlClient/SqlParameter.cs: modified
1555 * System.Data.SqlClient/SqlParameterCollection.cs: modified
1556 * System.Data.SqlClient/SqlError.cs: modified
1557 * System.Data.SqlClient/SqlErrorCollection.cs: modified
1558 * System.Data.SqlClient/SqlException.cs: modified
1559 * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
1561 * System.Data.SqlClient/SqlAdapter: modified
1562 * System.Data.SqlClient/SqlReader: modified - add more stubs
1564 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
1566 * Test/TestSqlInsert.cs: added
1568 2002-04-15 Daniel Morgan <danmorg@sc.rr.com>
1570 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
1571 class SqlConnecition
1572 * System.Data.SqlClient/SqlErrorCollection.cs: added
1573 * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
1575 2002-04-15 Christopher Podurgiel <cpodurgiel@msn.com>
1577 * System.Data.IDbDataParameter: Added Interface to IDataParameter.
1578 * System.Data.IDbTransaction: Added Interface to IDisposable.
1579 * System.Data.IDbCommand: Fixed Capitalization of class name.
1580 * System.Data.IDbConnection: Fixed Capitalization of class name.
1582 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
1584 * System.Data.Common/DbDataPermissionAttribute.cs:
1585 * System.Data.Common/DataAdapter.cs:
1586 * System.Data.Common/DataColumnMapping.cs:
1587 * System.Data.Common/DbDataPermission.cs: added some implementation.
1589 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
1591 * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
1592 syntax, as pointed out by Levent Camlibel.
1594 2002-04-14 Rodrigo Moya <rodrigo@ximian.com>
1596 * System.Data.SqlTypes/SqlBinary.cs:
1597 * System.Data.SqlTypes/INullable.cs: new skeletons.
1599 2002-04-14 Daniel Morgan <danmorg@sc.rr.com>
1601 * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
1602 contains all calls the the PostgreSQL client library, to be used
1603 everywhere in System.Data.SqlClient.
1605 2002-03-30 Rodrigo Moya <rodrigo@ximian.com>
1607 * System.Data.SqlClient/SqlConnection.cs: implemented basic
1610 * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
1612 2002-03-29 Rodrigo Moya <rodrigo@ximian.com>
1614 * System.Data.Common/DbDataRecord.cs:
1615 * System.Data.Common/DbEnumerator.cs:
1616 * System.Data.Common/RowUpdatedEventArgs.cs:
1617 * System.Data.Common/RowUpdatingEventArgs.cs:
1618 * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
1620 2002-03-28 Rodrigo Moya <rodrigo@ximian.com>
1622 * System.Data.Common/DataTableMappingCollection.cs:
1623 * System.Data.Common/DbDataAdapter.cs:
1624 * System.Data.Common/DbDataPermission.cs:
1625 * System.Data.Common/DataTableMapping.cs: new skeletons.
1627 * System.Data.SqlClient/SqlDataAdapter.cs:
1628 * System.Data.SqlClient/SqlDataReader.cs:
1629 * System.Data.SqlClient/SqlErrors.cs:
1630 * System.Data.SqlClient/SqlError.cs:
1631 * System.Data.SqlClient/SqlException.cs:
1632 * System.Data.SqlClient/SqlParameter.cs:
1633 * System.Data.SqlClient/SqlParameterCollection.cs:
1634 * System.Data.SqlClient/SqlTransaction.cs:
1635 * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
1637 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
1639 * System.Data.Common/DataColumnMapping.cs:
1640 * System.Data.Common/DataColumnMappingCollection.cs:
1641 * System.Data.Common/DataAdapter.cs: created skeletons.
1643 * System.Data.build: exclude new directories from build.
1645 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
1647 * System.Data.SqlClient/SqlTransaction.cs: started implementation.
1649 * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
1650 implemented (2 methods).
1652 2002-03-24 Duncan Mak <duncan@ximian.com>
1654 * System.Data.build: Excluded System.Data.SqlClient from the build.
1655 The stubs are incomplete and they are stopping the build.
1657 * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
1659 2002-03-24 Rodrigo Moya <rodrigo@ximian.com>
1661 * System.Data.SqlClient/*: added skeletons for the SQL managed
1662 provider for ADO.Net, to be based initially in PostgreSQL.
1664 2002-03-15 Christopher Podurgiel <cpodurgiel@msn.com>
1666 Changed the Namespace on some Enums from mono.System.Data to System.Data
1668 2002-03-01 Christopher Podurgiel <cpodurgiel@msn.com>
1670 * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a
1671 default name if the ColumnName is null.
1672 * DataSet.cs : Added
1673 * DataTable.cs : Added
1674 * DataRelationCollection.cs : Added
1675 * DataTableRelationCollection.cs : Added
1676 * DataColumn : Added
1678 2002-02-11 Christopher Podurgiel <cpodurgiel@msn.com>
1680 * DataColumnChangeEventArgs.cs : Added
1681 * DataColumnCollection.cs : Added
1683 2002-02-10 Christopher Podurgiel <cpodurgiel@msn.com>
1685 * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
1686 * Updated all Enums, Interfaces, and Delegates in System.Data