1 2002-11-04 Stuart Caborn <stuart.caborn@clearswift.com>
3 * list: added System.Data/XmlConstants.cs to
6 * System.Data/XmlConstants.cs: added -
7 * System.Data/DataTable.cs
8 * System.Data/DataSet.cs
9 * System.Data/DataColumn.cs
10 * System.Data/DataColumnCollection.cs
11 * System.Data/DataRelation.cs: modified -
12 Began initial implementation of WriteXml
\r
13 and WriteXmlSchema. There is no support for DiffGrams
\r
14 yet. In WriteSchema mode, relationships are missing,
\r
15 all types are xs:string and the namespacing is not
\r
16 working properly. Added support for Ordinals in the
\r
17 DataColumnCollection and added support for
\r
18 namespaces and prefixes.
\r
20 2002-11-03 Ville Palo <vi64pa@koti.soon.fi>
22 * System.Data.SqlTypes/SqlBinary.cs: Finished and no errors generated
23 by NUnitConsole_mono.exe
25 2002-11-03 Tim Coleman (tim@timcoleman.com)
26 * System.Data.SqlClient/SqlCommand.cs:
27 Use SET NO_BROWSETABLE ON when CommandBehavior is KeyInfo
28 * System.Data.SqlClient/SqlDataReader.cs:
29 Get more schema info if available
31 Add Mono.Data.TdsClient.Internal.TdsColumnStatus
33 2002-11-02 Tim Coleman (tim@timcoleman.com)
34 * System.Data.SqlClient/SqlCommand.cs:
35 Change to use sp_executesql to run regular text queries.
36 Now, sp_executesql for text, sp_execute for prepared,
37 and execute for SPs means everything runs a procedure.
38 * System.Data.SqlClient/SqlParameter.cs:
39 Allow client to set parameter name in Prepare ()
40 * System.Data.SqlClient/SqlParameterCollection.cs:
41 Implement some methods
42 * System.Data.SqlClient/SqlDataReader.cs:
43 Since everything is an SP now, we know that when
44 we see DoneProc, that we are really done.
46 2002-11-01 Tim Coleman (tim@timcoleman.com) :
47 * System.Data.Common/DbEnumerator.cs :
48 Throw correct exception on Reset ()
49 Add ColumnSize to schema table.
50 * System.Data.SqlClient/SqlDataReader.cs :
51 Add ColumnSize to schema table.
52 * System.Data.SqlClient/SqlCommand.cs :
53 Change the way that preparing is handled.
54 Now uses sp_prepare on the server instead of temp
55 stored procedures because it's the Right Thing[tm] to do.
56 * System.Data.SqlClient/SqlConnection.cs :
57 Store data readers here rather than in command
58 * System.Data.SqlClient/SqlDataReader.cs :
59 More implementation, including binary types
60 * System.Data.SqlClient/SqlParameter.cs :
63 2002-10-31 Tim Coleman (tim@timcoleman.com)
64 * System.Data.Common/DbDataAdapter.cs :
66 * System.Data.Common/DbDataRecord.cs :
67 Change GetFieldType ()
68 * System.Data.Common/DbEnumerator.cs :
69 Add new schema information
70 * System.Data.Common/FieldNameLookup.cs :
71 Change definition of schema
72 * System.Data.Common/SchemaInfo.cs :
74 * System.Data.SqlClient/SqlDataReader.cs :
75 get more schema table data
77 Add Mono.Data.TdsClient.Internal.TdsSchemaInfo
79 2002-10-31 Ville Palo <vi64pa@koti.soon.fi>
88 * SqlString.cs: Some bugfixes and some TODOs but so much
91 2002-10-30 Tim Coleman (tim@timcoleman.com)
92 * System.Data.Common/FieldNameLookup.cs:
93 * System.Data.Common/SchemaInfo.cs:
94 * System.Data.SqlClient/SqlXmlTextReader.cs:
97 Class list changed in build
98 * System.Data.SqlClient/SqlCommand.cs:
99 Added support for command behaviors
100 Refactored a bunch of code
101 Implement ExecuteScalar
102 Implement ExecuteXmlReader
103 * System.Data.SqlClient/SqlConnection.cs:
104 Moved CheckForErrors here
105 * System.Data.SqlClient/SqlDataAdapter.cs:
107 * System.Data.SqlClient/SqlDataReader.cs:
108 Implement GetEnumerator
110 Add SqlDataReaderEnumerator private class
111 * System.Data.SqlClient/SqlParameter.cs:
112 Move some of the Prepare code from SqlCommand to here
113 * System.Data.SqlClient/SqlTransaction.cs:
114 Move error checking to SqlConnection
116 2002-10-29 Tim Coleman (tim@timcoleman.com)
117 * System.Data.SqlClient/SqlCommand.cs:
118 Added code to handle parameters for queries
119 * System.Data.SqlClient/SqlConnection.cs:
120 Properly handle resetting SqlConnections
121 * System.Data.SqlClient/SqlDataReader.cs:
122 Properly handle the case where no results are returned
123 * System.Data.SqlClient/SqlParameter.cs:
124 Default direction to Input
125 * System.Data.SqlClient/SqlParameterCollection.cs:
126 Implement GetEnumerator
128 2002-10-29 Rodrigo Moya <rodrigo@ximian.com>
130 * makefile.gnu: added Test directory.
132 2002-10-29 Ville Palo <vi64pa@koti.soon.fi>
134 * System.Data.SqlTypes/SqlGuid.cs: Fixed some bugs and finished
137 2002-10-28 Tim Coleman (tim@timcoleman.com)
138 * System.Data.SqlClient/SqlCommand.cs:
139 Add some error handling
140 * System.Data.SqlClient/SqlDataReader.cs:
141 Add some error handling
142 Add precision/scale to schema table
143 * System.Data.SqlClient/SqlException.cs:
144 Generate a SqlException from TDS error
146 * System.Data.SqlClient/SqlTransaction.cs:
147 Add some error handling
150 2002-10-28 Ville Palo <vi64pa@koti.soon.fi>
152 * System.Data.SqlTypes/SqlBinary.cs:
153 * System.Data.SqlTypes/SqlBoolean.cs:
154 * System.Data.SqlTypes/SqlByte.cs:
155 * System.Data.SqlTypes/SqlDateTime.cs:
156 * System.Data.SqlTypes/SqlDecimal.cs:
157 * System.Data.SqlTypes/SqlDouble.cs:
158 * System.Data.SqlTypes/SqlDecimal.cs:
159 * System.Data.SqlTypes/SqlDouble.cs:
160 * System.Data.SqlTypes/SqlGuid.cs:
161 * System.Data.SqlTypes/SqlInt16.cs:
162 * System.Data.SqlTypes/SqlInt32.cs:
163 * System.Data.SqlTypes/SqlInt64.cs:
164 * System.Data.SqlTypes/Money.cs:
165 * System.Data.SqlTypes/SqlSingle.cs:
166 * System.Data.SqlTypes/SqlString.cs:
167 * System.Data.SqlTypes/SqlSingle.cs: Fixed internal loop bugs and
168 some other minor fixes.
170 2002-10-27 Rodrigo Moya <rodrigo@ximian.com>
172 * System.Data.OleDb/OleDbDataAdapter.cs (Fill, FillSchema,
173 GetFillParameters, Update): added overloaded methods.
175 * System.Data.OleDb/OleDbCommand.cs:
176 * System.Data.OleDb/OleDbDataReader.cs:
177 * System.Data.OleDb/OleDbConnection.cs: removed limitation of one
178 data adapter at a time. Mono's version can open as many as you want,
181 2002-10-25 Tim Coleman (tim@timcoleman.com)
182 * System.Data.SqlClient/SqlConnectionPool.cs:
184 * System.Data.SqlClient/SqlClientPermission.cs:
185 * System.Data.SqlClient/SqlClientPermissionAttribute.cs:
186 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs:
187 * System.Data.SqlClient/SqlInfoMessageEventHandler.cs:
188 * System.Data.SqlClient/SqlParameter.cs:
189 * System.Data.SqlClient/SqlParameterCollection.cs:
191 * System.Data.SqlClient/SqlCommand.cs:
192 * System.Data.SqlClient/SqlConnection.cs:
193 * System.Data.SqlClient/SqlException.cs:
194 * System.Data.SqlClient/SqlTransaction.cs:
195 New code based on work in TDS Client
197 New files added for SqlClient, and TdsClient.Internal
199 Added reference to System.EnterpriseServices.dll
200 Still leave SqlClient out of build until danmorg
203 2002-10-23 Ville Palo <vi64pa@koti.soon.fi>
205 * System.Data.SqlTypes/SqlDouble.cs:
206 * System.Data.SqlTypes/SqlSingle.cs: Finished
208 2002-10-23 Ville Palo <vi64pa@koti.soon.fi>
210 * System.Data.SqlTypes/SqlByte.cs:
211 * System.Data.SqlTypes/SqlBoolean.cs:
212 * System.Data.SqlTypes/SqlInt16.cs:
213 * System.Data.SqlTypes/SqlInt32.cs:
214 * System.Data.SqlTypes/SqlInt64.cs: Finished.
216 2002-10-21 Rodrigo Moya <rodrigo@ximian.com>
218 * list: removed libodbchelper.cs file, which has been removed.
220 2002-10-16 Tim Coleamn <tim@timcoleman.com>
223 Exclude compiling of System.Data.SqlClient in
224 preparation for overhauls of that system.
226 2002-10-16 Daniel Morgan <danmorg@sc.rr.com>
\r
229 * PostgresLibrary.cs
\r
231 * SqlClientPermission.cs
\r
232 * SqlClientPermissionAttribute.cs
\r
234 * SqlCommandBuilder.cs
\r
236 * SqlDataAdapter.cs
\r
239 * SqlErrorCollection.cs
\r
241 * SqlInfoMessageEventArgs.cs
\r
242 * SqlInfoMessageEventHandler.cs
\r
244 * SqlParameterCollection.cs
\r
245 * SqlRowUpdatedEventArgs.cs
\r
246 * SqlRowUpdatedEventHandler.cs
\r
247 * SqlRowUpdatingEventArgs.cs
\r
248 * SqlRowUpdatingEventHandler.cs
\r
249 * SqlTransaction.cs: thanks to Miguel de Icaza, he
\r
250 copied files on the mono cvs server
\r
251 from mcs/class/System.Data/System.Data.SqlClient
\r
252 for the PostgreSQL provider
\r
253 to mcs/class/Mono.Data.PostgreSqlClient.
\r
255 mcs/class/System.Data/System.Data.SqlClient for
\r
256 the Microsoft SQL Server provider.
\r
257 Any Mono.Data.PostgreSqlClient/Sql*.cs files
\r
258 were copied on the cvs server
\r
259 to Mono.Data.PostgreSqlClient/PgSql*.cs files
\r
260 and the old Mono.Data.PostgreSqlClient/Sql*.cs
\r
261 files were removed. Copying, renaming, and removing
\r
262 was done on the cvs server so we could keep
\r
263 the cvs change history.
\r
265 2002-10-15 Daniel Morgan <danmorg@sc.rr.com>
267 * System.Data.OleDb/libgda.cs: added more functions
268 to platfrom invoke into shared library libgda
270 * System.Data.OleDb/OleDbDataReader.cs: implemented
271 GetSchemaTable() and GetFieldType()
273 2002-10-13 Daniel Morgan <danmorg@sc.rr.com>
275 * System.Data/DataRow.cs: don't throw exception
276 if DBNull is false. Had to do comment this line
277 to allow a typeof(Type).
279 * System.Data.SqlClient/SqlCommand.cs: the "DataType"
280 DataColumn and DataRows in a DataTable for a schema should
281 be typeof Type, not string. This is to make it
282 compatible with MS.NET
284 * System.Data.SqlClient/SqlConnection.cs: the
285 isolation level should be set before
286 beginning the transaction
288 * Test/SqlSharpCli.cs: change string to Type for
289 "DataType" from a DataRow in a DataTable
290 that contains a schema.
292 2002-10-14 Rodrigo Moya <rodrigo@ximian.com>
294 * list: added missing Odbc files.
296 2002-10-09 Rodrigo Moya <rodrigo@ximian.com>
298 * list: added System.Data.Odbc files.
300 2002-10-09 Brian Ritchie <brianlritchie@hotmail.com>
302 * System.Data.Odbc/*: added first version of ODBC managed provider.
304 2002-10-07 Gonzalo Paniagua Javier <gonzalo@ximian.com>
306 * System.Data/ConstraintCollection.cs:
307 * System.Data/DataColumnCollection.cs:
308 * System.Data/DataRowCollection.cs:
309 * System.Data/DataTableCollection.cs:
310 * System.Data/InternalDataCollectionBase.cs: made List internal to fix
311 the build with csc. It must be a mcs bug. I will try to get a test case.
313 2002-10-06 Luis Fernandez <luifer@onetel.net.uk>
315 * System.Data/Constraint.cs (AssertConstraint): added overloaded
318 * System.Data/DataColumnCollection.cs: added constraints when needed.
320 * System.Data/DataRow.cs: validate UniqueConstraint's.
322 * System.Data/DataRowCollection.cs (ValidateDataRowInternal): new
323 internal method to validate a given DataRow with respect to the
326 * System.Data/ForeignKeyConstraint.cs (AssertConstraint): stubs for
327 new overloaded method.
329 * System.Data/UniqueConstraint.cs: added implementation.
330 (AseertConstraint): implemented new overloaded method.
332 2002-10-01 Rodrigo Moya <rodrigo@ximian.com>
334 * System.Data.OleDb/OleDbConnection.cs (Open): commented code from
335 last commit, which wasn't supposed to be in CVS yet.
337 2002-10-01 Luis Fernandez <luifer@onetel.net.uk>
339 * System.Data/DataColumn.cs:
340 * System.Data/DataRow.cs:
341 * System.Data/DataRowCollection.cs:
342 * System.Data/DataTable.cs: some fixes and implementation.
344 2002-09-28 Vladimir Vukicevic <vladimir@pobox.com>
346 * System.Data.OleDb/OleDbConnection.cs: Close
347 reader properly in call to ExecuteScalar().
349 2002-09-07 Rodrigo Moya <rodrigo@ximian.com>
351 * System.Data.OleDb/OleDbConnection.cs (Open): changed to use OleDb
352 connection strings, which are then converted to GDA connection
353 strings, instead of using directly GDA data source names.
355 * System.Data.OleDb/libgda.cs: added more needed functions.
357 2002-09-06 Franklin Wise <gracenote@earthlink.net>
359 * System.Data/DataColumn.cs: More flushing out.
361 * System.Data/ForeignKeyConstraint.cs: Implemented GetHashCode()
363 * System.Data/UniqueKeyConstraint.cs: Implemented GetHashCode()
365 * Tests: See Changelog for System.Data/Test
367 2002-09-04 Franklin Wise <gracenote@earthlink.net>
369 * Tests: See Changelog for System.Data/Test
372 System.Data/DataColumnCollectionTest.cs
373 System.Data/DataRowCollectionTest.cs
374 System.Data/DataRowTest.cs
376 * System.Data/DataColumn.cs: Flushing out validation, type conversion for
377 autoincrement. Added lots of TODO's.
378 * System.Data/DataColumnCollection.cs: Wrote out add logic as a comment.
379 Tagged implementation with FIXME tags. Lot's more validation
380 and setup needs to be done, much of which is now tagged as todo's
383 * System.Data/DataRow.cs: Lot's of fixme's added.
385 * System.Data/DataRowCollection.cs: TODO's added.
387 * System.Data/DataTable.cs: Implemented PrimaryKey.
389 * System.Data/UniqueConstraint.cs: Implemented related PrimaryKey
392 2002-08-25 Rodrigo Moya <rodrigo@ximian.com>
394 * System.Data.OleDb/OleDbTransaction.cs (OleDbTransaction): manage
395 correctly the isolation level.
396 (IsolationLevel): likewise.
397 (~OleDbTransaction): implemented.
399 * System.Data.OleDb/libgda.cs: added more needed stuff.
401 2002-08-22 Daniel Morgan <danmorg@sc.rr.com>
403 * System.Data.SqlClient/SqlParameter.cs: flush
405 * System.Data.SqlClient/SqlParameterCollection.cs: fixes
406 for the Item property, IndexOf, and Contains.
408 * Test/SqlSharpCli.cs: added input parameters support.
409 when a query is executed, if a parameter name matches
410 a SQL# internal variable name, it uses that value for the parameter; otherwise,
411 the user is prompted for the parameter value. Currently, it only supports
414 2002-08-21 Rodrigo Moya <rodrigo@ximian.com>
416 * System.Data.OleDb/libgda.cs: adapted to changes in libgda (get_vtype
417 and get_type for GdaValue).
419 * System.Data.OleDb/OleDbDataReader.cs: adapted to changes in
422 2002-08-20 Rodrigo Moya <rodrigo@ximian.com>
424 * System.Data.OleDb/OleDbConnection.cs (DataReader): new internal
426 (Close): set the dataReader to null.
428 * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader): set the
429 connection's DataReader property to this object.
430 (Close): set it to null here.
431 (Depth, IsDbNull): implemented.
432 (this): implemented the Item property with a string indexer.
434 * System.Data.OleDb/OleDbCommand.cs (ExecuteNonQuery, ExecuteReader,
435 ExecuteScalar): do nothing if there's already an open data reader.
437 * System.Data.OleDb/libgda.cs: more API functions.
439 * System.Data.OleDb/TestOleDb.cs (TestDataReader): close the data
440 reader before continuing.
442 2002-08-20 Franklin Wise <gracenote@earthlink.net>
444 * System.Data/System.Data.build: added nowarn:0679
446 * System.Data/System.DataTable: cleaned up class, added MonoTODO tags
447 setup to begin implementing. Implemented ctor().
449 * Tests: See System.Data\Test\ChangeLog
452 2002-08-19 Rodrigo Moya <rodrigo@ximian.com>
454 * System.Data.OleDb/OleDbSchemaGuid.cs: initialize static members.
456 2002-08-19 Franklin Wise <gracenote@earthlink.net>
458 * Tests: See System.Data\Test\ChangeLog
460 * System.Data/UniqueConstraint.cs: More validation.
462 * System.Data/ForeignKeyConstraint.cs: Added more validation rules.
463 Another LAMESPEC tag. Implemented more of Add/Remove Setup/Cleanup
466 * System.Data/DataTable.cs: Added more MonoTODO tags
468 * class/System.Data/.cvsignore: added tmp & Temp
470 * System.Data/Constraint.cs: Changed abstract helpers to virtual and
473 * System.Data/ConstraintCollection.cs: Commented out unused line.
475 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
477 * System.Data.OleDb/OleDbConnection.cs (ChangeDatabase): implemented.
479 * System.Data.OleDb/OleDbException.cs (OleDbException): added internal
481 (ErrorCode, Message, Source, Errors): implemented.
483 * System.Data.OleDb/OleDbError.cs: implemented the full class.
485 * System.Data.OleDb/libgda.cs: added more libgda functions.
487 * System.Data.OleDb/TestOleDb.cs (TestOleDb): display properties for
488 the opened connection.
490 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
492 * System.Data.OleDb/OleDbConnection.cs (ServerVersion): implemented.
494 * System.Data.OleDb/OleDbDataReader.cs (Close): clear the results
495 ArrayList after releasing the items.
496 (GetName, GetDateTime, GetDouble, GetSingle, GetInt16, GetInt32,
497 GetOrdinal, GetString): implemented.
498 (GetDataTypeName): made it get the type from the data model, not from
499 the current value, which could not have been retrieved yet.
500 (GetValue): call the Get* method corresponding with the data type of
501 the requested column.
503 * System.Data.OleDb/libgda.cs: added more libgda functions.
504 (GdaTimestamp, GdaDate, GdaTime): new marshalled structures.
506 * System.Data.OleDb/TestOleDb.cs (TestDateReader): display column
507 titles via OleDbDataReader.GetName ().
508 (TestOleDb): create temporary table with a date field.
509 (InsertRow): set current date for the date field.
511 2002-08-18 Rodrigo Moya <rodrigo@ximian.com>
513 * System.Data.OleDb/OleDbDataReader.cs (this[]): made it just call
514 GetValue, which will take care of all the work needed.
515 (Close): implemented basic stuff.
516 (~OleDbDataReader): implemented.
518 * System.Data.OleDb/libgda.cs: added more needed functions.
520 2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
522 * System.Data.OleDb/TestOleDb.cs: made it work with a temporary table
524 (TestTransaction): added test for transactions.
526 2002-08-16 Rodrigo Moya <rodrigo@ximian.com>
528 * System.Data.OleDb/libgda.cs: added new needed libgda functions.
530 * System.Data.OleDb/OleDbDataReader.cs (GetBoolean): throw exceptions
531 when there are errors.
532 (GetByte, GetChar, GetDataTypeName, GetValue, Read): implemented.
534 * System.Data.OleDb/TestOleDb.cs: added more testing code for data
537 2002-08-15 Rodrigo Moya <rodrigo@ximian.com>
539 * System.Data.OleDb/libgda.cs: added new needed libgda functions.
541 * System.Data.OleDb/OleDbParameterCollection.cs (GdaParameterList):
542 create an empty GdaParameterList.
544 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): check values
545 for NULL before passing them to Marshal.PtrToStructure, which issues
546 an exception if the value is NULL.
548 2002-08-15 Rodrigo Moya <rodrigo@ximian.com>
550 * System.Data/UniqueConstraint.cs (UniqueConstraint): commented
551 unreachable code to avoid compiler warning.
553 * System.Data.OleDb/libgda.cs (GdaList): added new internal class.
555 * System.Data.OleDb/OleDbConnection.cs (DataSource): implemented.
556 (OpenReader): removed internal method.
558 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader): split correctly
559 the list of returned data models.
561 2002-08-15 Franklin Wise <gracenote@earthlink.net>
563 * System.Data/Constraint.cs: Added helper virtual functions
565 * System.Data/ConstraintCollection.cs: Improved constraint removal,
566 validation. Removed specific knowledge of subclasses of
569 * System.Data/DataColumn.cs: Added static helper function to compare
570 if two DataColumn arrays are the same.
572 * System.Data/ForeignKeyConstraint.cs: Continued to flush out.
574 * System.Data/UniqueConstraint.cs: Implemented. Still some constraint
577 2002-08-13 Franklin Wise <gracenote@earthlink.net>
579 * System.Data/DataRow.cs: Added several fixme tags.
581 2002-08-13 Rodrigo Moya <rodrigo@ximian.com>
583 * System.Data.SqlClient/SqlDataAdapter.cs (DeleteCommand,
584 InsertCommand, SelectCommand, UpdateCommand): removed 'new' keyword
585 to avoid compiler warnings.
587 2002-08-12 Franklin Wise <gracenote@earthlink.net>
589 * System.Data/Constraint.cs: Implemented
591 * System.Data/UniqueConstraint.cs: GetHashCode() &
592 special case Ctor. Still need to be implemented. LAMESPEC tags
595 * System.Data/ConstraintCollection.cs: Clear() &
596 AddRange() need to be finished. Several LAMESPEC tags.
598 * Allow Constraint collection to be created in DataTable.
600 * System.Data/ForeignKeyConstraint: Added a couple of
603 * System.Data/DataColumnCollection New/Added DataColumns now have
606 2002-08-11 Rodrigo Moya <rodrigo@ximian.com>
608 * System.Data.OleDb/libgda.cs: added some GdaValue functions.
610 * System.Data.OleDb/OleDbCommand.cs (OpenReader): removed this
611 internal method, since we don't need it.
612 (ExecuteReader): call SetupGdaCommand before executing the command
613 via libgda functions.
614 (ExecuteScalar): implemented.
616 * System.Data.OleDb/OleDbDateReader.cs (OleDbDataReader): removed call
617 to OleDbCommand.OpenReader.
618 (GetBoolean): implemented.
620 2002-08-08 Franklin Wise <gracenote@earthlink.net>
622 * System.Data/IDbComand.cs: IDbCommand now inherits IDisposable
624 * System.Data/IDbConnection.cs: IDbConnection now inherits IDisposable
626 * System.Data.SqlTypes/SqlCompareOptions.cs: Enum now set to correct
629 2002-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
631 * System.Data.OleDb/OleDbConnection.cs: little fixes to make it work
632 and don't show a warning in Open.
634 * System.Data.OleDb/TestOleDb.cs: added Close.
636 2002-08-05 Rodrigo Moya <rodrigo@ximian.com>
638 * System.Data.OleDb/OleDbConnection.cs (ConnectionString,
639 ConnectionTimeout, ServerVersion, GdaConnection):
641 (OleDbConnection): call libgda.gda_init on constructor.
643 * System.Data.OleDb/libgda.cs (libgda): removed static constructor,
644 which wasn't been called.
646 * System.Data.OleDb/TestOleDb.cs (TestOleDb): updated to really
649 2002-08-04 Rodrigo Moya <rodrigo@ximian.com>
651 * list: added missing System.Data.OleDb and
652 System.Data.Common files.
654 * System.Data.OleDb/ChangeLog: removed and merged with
655 System.Data's ChangeLog.
657 * System.Data.OleDb/OleDbDataAdapter.cs:
658 * System.Data.OleDb/OleDbPermission.cs: compilation fixes.
660 2002-07-30 Rodrigo Moya <rodrigo@ximian.com>
662 * System.Data.OleDb/OleDbDataReader.cs (FieldCount): implemented.
663 (IsClosed, Item, RecordsAffected): implemented some properties.
665 * libgda.cs: added GdaDataModel methods.
667 2002-07-29 Rodrigo Moya <rodrigo@ximian.com>
669 * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader constructor): changed to receive
670 a second argument (ArrayList results).
671 (NextResult): implemented.
673 * System.Data.OleDb/OleDbCommand.cs: don't store the ArrayList of results, since we'll
674 pass that to the OleDbDataReader.
675 (OleDbCommand constructor): don't create the ArrayList of results.
676 (GdaResults): removed property.
677 (ExecuteReader): create a temporary ArrayList and pass that to the
678 OleDbDataReader constructor.
680 2002-07-28 Rodrigo Moya <rodrigo@ximian.com>
682 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader):
683 (CreateParameter): implemented IDbCommand methods.
684 (CommandText): don't create many GdaCommand's, only one is needed.
685 (ExecuteNonQuery): set up the internal GDA command object.
686 (ExecuteReader): use correctly the unique GDA command object.
688 * System.Data.OleDb/libgda.cs: added new libgda calls.
690 2002-07-27 Rodrigo Moya <rodrigo@ximian.com>
692 * System.Data.OleDb/OleDbConnection.cs (CreateCommand):
693 (BeginTransaction): implemented IDbConnection methods.
695 2002-07-12 Rodrigo Moya <rodrigo@ximian.com>
697 * list: added System.Data.OleDb files to file list.
699 2002-07-11 Rodrigo Moya <rodrigo@ximian.com>
701 * System.Data.OleDb/libgda.cs: added new libgda functions and some enumerations.
703 * System.Data.OleDb/OleDbParameter.cs (IsNullable): removed explicit implementation
704 of the set method for this property.
706 * System.Data.OleDb/OleDbDataAdapter.cs (MissingMappingAction): implemented.
707 (MissingSchemaAction): implemented.
709 2002-07-10 Tim Coleman <tim@timcoleman.com>
711 * System.Data.OleDb/OleDbCommandBuilder.cs: Added new methods, properties
712 * System.Data.OleDb/OleDbConnection.cs: Modified constructor
713 * System.Data.OleDb/OleDbError.cs: Added stubbs
714 * System.Data.OleDb/OleDbException.cs: Added stubbs
715 * System.Data.OleDb/OleDbInfoMessageEventArgs.cs: Added stubbs
716 * System.Data.OleDb/OleDbInfoMessageEventHandler.cs: style change
717 * System.Data.OleDb/OleDbParameter.cs: Added conversion from type to OleDbType
718 * System.Data.OleDb/OleDbPermission.cs: Added stubbs
719 * System.Data.OleDb/OleDbSchemaGuid.cs: Added stubbs
720 * System.Data.OleDb/OleDbTransaction.cs: New constructors, changes to methods to
721 support transaction nesting
722 * System.Data.OleDb/libgda.cs: Added my name to this file
724 2002-07-09 Tim Coleman <tim@timcoleman.com>
726 * System.Data.OleDb/OleDbCommand.cs: Style changes, added new methods
727 * System.Data.OleDb/OleDbConnection.cs: Style changes, added new methods
728 * System.Data.OleDb/OleDbDataAdapter.cs: Implementation
729 * System.Data.OleDb/OleDbDataReader.cs: Added stubbs
730 * System.Data.OleDb/OleDbErrorCollection.cs: Added stubbs, some implementation
731 * System.Data.OleDb/OleDbParameter.cs: Style changes, added new methods
732 * System.Data.OleDb/OleDbParameterCollection.cs: Style changes, added new methods
733 * System.Data.OleDb/OleDbPermissionAttribute.cs: Style changes, added new methods
734 * System.Data.OleDb/OleDbRowUpdatedEventArgs.cs: Added stubbs
735 * System.Data.OleDb/OleDbRowUpdatingEventArgs.cs: Added stubbs
736 * System.Data.OleDb/OleDbTransaction.cs: Style changes, added new methods
737 * System.Data.OleDb/OleDbType.cs: Fixed two typos
738 * System.Data.OleDb/libgda.cs: Style changes, added new methods
740 2002-07-09 Tim Coleman <tim@timcoleman.com>
742 * System.Data.build: remove restriction on System.Data.OleDb build
744 2002-06-03 Rodrigo Moya <rodrigo@ximian.com>
746 * System.Data.OleDb/OleDbParameterCollection.cs (GetEnumerator, SyncRoot,
747 IsSynchronized): implemented.
749 2002-06-02 Rodrigo Moya <rodrigo@ximian.com>
751 * System.Data.OleDb/OleDbTransaction.cs (Dispose): added missing method.
753 * System.Data.OleDb/OleDbCommand.cs (Clone): added missing methods.
754 (Parameters, Transaction, Connection): made these overload
757 * System.Data.OleDb/OleDbParameterCollection.cs (IndexOf, Remove, RemoveAt):
758 call m_list methods, not own ones.
760 * System.Data.OleDb/OleDbParameter.cs: more implementation.
762 2002-06-02 Rodrigo Moya <rodrigo@ximian.com>
764 * System.Data.OleDb/OleDbTransaction.cs (Connection, IsolationLevel, Begin,
765 Commit, Rollback): implemented.
766 (GdaConnection): added new internal property.
768 * System.Data.OleDb/OleDbParameter.cs:
769 * System.Data.OleDb/OleDbParameterCollection.cs: implemented some methods and
772 * System.Data.OleDb/libgda.cs: added yet more libgda API functions.
774 2002-06-01 Rodrigo Moya <rodrigo@ximian.com>
776 * System.Data.OleDb/libgda.cs: added new libgda API functions.
778 * System.Data.OleDb/OleDbConnection.cs (Provider): implemented.
779 (BeginTransaction): made it overload IDbConnection methods.
780 (ChangeDatabase): new stub, needs some work on libgda for being
783 (Close): implemented.
784 (CreateCommand): implemented.
785 (GetOleDbSchemaTable): new stub, until I understand what to do here.
786 (Open): implemented basic stuff, which is just supporting connection
787 strings that represent a GDA data source name. More to come.
788 (InfoMessage, StateChange): added events.
790 * System.Data.OleDb/TestOleDb.cs: test program for System.Data.OleDb.
792 2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
794 * System.Data.OleDb/libgda.cs: added static constructor.
795 (GdaClient): new static property to get the underlying GdaClient
798 * System.Data.OleDb/OleDbConnection.cs: removed GDA initialization, which belongs to
799 the static 'libgda' class.
801 2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
803 * System.Data.OleDb/libgda.cs: static class for libgda API calls.
805 * System.Data.OleDb/OleDbConnection.cs: implemented constructors.
806 (ConnectionString, Connectiontimeout, Database, State):
807 implemented class properties.
808 (BeginTransaction): implemented.
810 * System.Data.OleDb/OleDbTransaction.cs: implemented protected constructors.
812 * System.Data.OleDb/TestGDA.cs: simple test for libgda API.
814 2002-05-27 Rodrigo Moya <rodrigo@ximian.com>
816 * System.Data.OleDb/*: started System.Data.OleDb provider, based on libgda.
818 2002-06-06 Rodrigo Moya <rodrigo@ximian.com>
820 * list: added missing PostgresTypes.cs file.
822 2002-06-02 Francisco Jr. <fxjrlists@yahoo.com.br>
824 * System.Data.SqlClient/SqlParameterCollection.cs: implemented missing
827 2002-05-30 Daniel Morgan <danmorg@sc.rr.com>
829 * System.Data.SqlClient/SqlConnection.cs: modifed -
830 start to implement the interfaces properly and
831 properly doing a Close(), Dispose(), and
834 * Test/SqlSharpCli.cs: modified -
835 add support for MySQL in Mono.Data.MySql
836 and OleDb support in System.Data.OleDb. However,
837 the OleDb support is commented right now.
838 When the program starts up, a shorter help menu should
839 display the most important commands: help and quit
841 2002-05-28 Rodrigo Moya <rodrigo@ximian.com>
843 * System.Data.build: exclude System.Data.OleDb files.
845 2002-05-27 Daniel Morgan <danmorg@sc.rr.com>
847 * System.Data.SqlClient/SqlCommand.cs: typo
848 should be CommandBehavior.KeyInfo
850 * Test/SqlSharpCli.cs: refactored and added a few more
853 2002-05-27 Tim Coleman <tim@timcoleman.com>
854 * list: update to compile properly (add missing
855 files and switch path delimiter from '\' to '/').
857 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
859 * System.Data/DataRow.cs
860 * System.Data.Common/DbDataAdapter.cs: fix to
861 get Test/TestSqlDataAdapter.cs to work again
863 * Test/TestSqlDataAdapter.cs: removed comment
864 about SqlDataReader:NextResult() not being implemented; it
867 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
869 * System.Data/DataRow.cs: modified
870 support setting of DBNull.Value
871 using the Item indexer this[DataColumn]
873 * System.Data.SqlClient/SqlCommand.cs: modified
874 tweaks to show TODO's for other CommandBehavior.
875 Set AllowDBNull column to true for IsKey row
878 * System.Data.SqlClient/SqlConnection.cs: modified
879 if transaction is in progress when a Close() is called,
880 do a transaction Rollback.
882 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
884 * Test/SqlSharpCli.cs: added file
885 My new toy. SQL# is a command-line tool to enter
886 SQL commands and queries using Mono System.Data.
887 It also serves as a test for Mono System.Data.
889 * System.Data.SqlClient/SqlCommand.cs: modified
890 - ExecuteNonQuery(), ExecuteScalar(), and ExecuteReader()
891 should handle the results from SQL Commands and Queries.
892 - Internal class SqlResult should not create schema Table
893 for the result from a SQL Command. Also, set the RecordsRetrieved
894 property for SqlDataReader.
895 - Closing the SqlDataReader should Close() the SqlConnection for
896 a CommandBehavior.CloseConnection.
897 - Set defaults for SqlResult
899 * System.Data.SqlClient/SqlConnection.cs: modified -
900 when SqlDataReader is Close()
901 should Close() the SqlConnection for
902 a CommandBehavior.CloseConnection. Changed internal Property
903 from OpenReader get/set to IsReaderOpen get and created
904 internal methods OpenReader()/CloseReader() for SqlCommand to call.
905 SqlConnection needs to be prevented from doing while SqlDataReader
908 * System.Data.SqlClient/SqlDataReader.cs: modified -
909 call SqlCommand's OpenReader() internal method. get
910 RecordsRetrieved from SqlResult. set/reset default
911 values for SqlDataReader.
913 * Test/PostgresTest.cs
914 * Test/TestExecuteScalar.cs
915 * Test/TestSqlDataReader.cs: modified
916 for the Execute...() methods in SqlCommand
917 to test SQL Queries and Commands
919 * Test/System.Data_test.build: modified
920 exclude new file Test/SqlSharpCli.cs from
923 2002-05-24 Tim Coleman <tim@timcoleman.com>
924 * System.Data.Common/DbDataAdapter.cs: remove IDbCommands, except
925 for get accessors. These should be implemented in derived classes. See
926 SqlDataAdapter for clues.
927 * System.Data.SqlClient/SqlDataAdapter.cs: implement IDbDataAdapter
928 * System.Data.Common/DataAdapter.cs:
929 * System.Data.Common/DataTableMappingCollection.cs:
930 * System.Data.Common/DataTableMapping.cs:
931 * System.Data.Common/DataColumnMappingCollection.cs:
932 * System.Data.Common/DataColumnMapping.cs:
933 Properly (I hope!) implement all of the appropriate interfaces
937 2002-05-23 Tim Coleman <tim@timcoleman.com>
938 * System.Data.SqlClient/SqlCommand.cs: include
939 the BaseColumnName in the schema table. Was missed before.
940 * System.Data.Common/DbDataAdapter.cs: Use DataTable
941 mappings so that the DataSet and DataTable are more closely tied.
942 Get schema information from the DataTable using GetSchemaTable ()
943 Various other little fixes
944 * System.Data.Common/DataColumnMappingCollection.cs:
945 * System.Data.Common/DataTableMapping.cs:
946 * System.Data.Common/DataTableMappingCollection.cs: Some
947 implementation, enough to be used by DbDataAdapter.
949 2002-05-23 Daniel Morgan <danmorg@sc.rr.com>
951 * System.Data.SqlClient/SqlCommand.cs: set
952 the "ProviderType" to the PostgreSQL type oid
954 * System.Data.SqlClient/SqlDataReader.cs: fix
955 for various properties and methods that
956 return meta data: Item indexers this[name] and this[index],
957 GetFieldType, GetName, and GetOrdinal. SqlDataAdapter
960 2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
962 * System.Data/DataRow.cs: change suggested
963 by tim: in Item indexer, do an EndEdit()
965 * System.Data.SqlClient/SqlCommand.cs: more
966 fixes to SqlResult. After setting each item in
967 the DataRow, do an AcceptChanges() to commit
968 the changes in the DataRow. For DataType, use a Type
969 of System.String since System.Type nor System.Object
972 * Test/TestSqlDataReader.cs
973 * Test/PostgresTest.cs: updated to to be on
974 the way schema table is suppose to work
976 2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
978 * System.Data.SqlClient/SqlCommand.cs: more work on
979 building the schema table
981 2002-05-22 Tim Coleman <tim@timcoleman.com>
982 * System.Data.SqlClient/SqlCommand.cs: preliminary work
983 on getting the schema table correctly built.
985 2002-05-21 Daniel Morgan <danmorg@sc.rr.com>
987 * System.Data.SqlClient/ParmUtil.cs: added file - to
988 provide utility for conversion of input parameters
990 * System.Data.SqlClient/PostgresTypes.cs: added file -
991 moved the PostgreHelper class to here. May eventually
992 move the internal class PostgresTypes that's inside the
993 SqlConnection to here as well.
994 Handling of PostgreSQL <-> .NET types need to be though
995 out more. Also, the PostgreHelper has a method to convert
996 from .NET types to a string which can be put into used in
997 an SQL statement to execute against a PostgreSQL database.
998 This is the beginnings of parameters support. It currently
999 only supports input parameters. Still need to do output,
1000 input/output, and return parameters.
1002 * Test/TestSqlParameters.cs: new test to test the input
1003 parameters in System.Data.SqlClient against a
1006 * System.Data.SqlClient/PostgresLibrary.cs: moved
1007 PostgresHelper class to file PostgresTypes.cs. Also
1008 moved struct PostgresType there too.
1010 * System.Data.SqlClient/SqlCommand.cs: added input
1013 * System.Data.SqlClient/SqlParameter.cs: got
1014 SqlParameter to work
1016 * System.Data.SqlClient/SqlParameterCollection.cs: got
1017 SqlParameterCollection to work
1019 * Test/System.Data_test.build: added files to exclude
1022 * System.Data.SqlClient/SqlConnection.cs: release resources
1025 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
1027 * System.Xml: added directory for classes with namespace
1028 System.Xml to go into the System.Data.dll assembly
1030 * System.Xml/XmlDataDocument: added file
1031 for stubbed concrete class XmlDataDocument which
1032 inherits from XmlDocument. Its purpose is to provide
1033 a W3C XML DOM Document for relational data and interacting
1036 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
1038 * System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
1039 Text, TableDirect, and StoredProcedure
1041 * Test/PostgresTest.cs: changed call to version()
1042 stored procedure to use the CommandType of StoredProcedure
1044 * Test/TestSqlDataReader.cs: test all the CommandTypes
1046 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
1048 * System.Data.build: took out all excluded
1049 files except the ones in the Test directory
1050 because all files compile now. It does not
1051 mean they all work or have implementations
1054 * System.Data/DataRelationCollection.cs
1055 * System.Data/DataTableRelationCollection.cs
1056 * System.Data/InternalDataCollectionBase.cs
1057 * System.Data.Common/DbDataPermission.cs
1058 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs
1059 * System.Data.SqlClient/SqlClientPermission.cs
1060 * System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
1061 to get all System.Data* files to compile.
1063 * System.Data.SqlClient/SqlCommand.cs: started coding
1064 to prevent SqlConnection and SqlCommand from doing
1065 anyting while fetching data using SqlDataReader. Also,
1066 started coding to undo this prevention once the
1067 SqlDataReader is closed.
1069 * System.Data.SqlClient/SqlConnection.cs: get database server
1070 version. Started coding to prevent connection from
1071 doing anything while fetching data and undo once the reader
1072 is closed. Include events SqlInfoMessage and StateChange.
1074 * System.Data.SqlClient/SqlDataReader.cs: start coding to
1075 prevent connection and command from doing anything while
1076 fetching data, and undo when closed.
1078 * Test/PostgresTest.cs: added test to get ServerVersion
1079 property from SqlConnection
1081 2002-05-18 Tim Coleman <tim@timcoleman.com>
1082 * System.Data/DataRow.cs: More implementation,
1083 as well as boundary checks and small semantic
1086 2002-05-18 Tim Coleman <tim@timcoleman.com>
1087 * System.Data/DataRow.cs: Try to reduce memory
1088 usage by only creating the original and proposed
1089 arrays as required in BeginEdit, and then destroying
1090 proposed during EndEdit, and original during AcceptChanges.
1091 * System.Data.Common/DbDataAdapter.cs: Make the
1092 startRecord and maxRecords parameters work correctly.
1094 2002-05-18 Tim Coleman <tim@timcoleman.com>
1095 * System.Data/DataRow.cs: Move the null check in
1096 ItemArray set to above the Invalid Cast check, so
1097 that we don't get null reference exceptions.
1099 2002-05-17 Daniel Morgan <danmorg@sc.rr.com>
1101 * System.Data.SqlClient/PostgresLibrary.cs: handle
1102 data value from database being NULL
1104 * System.Data.SqlClient/SqlCommand.cs: for ExecuteReader,
1105 allow multiple result sets. Added new internal class
1106 SqlResult to pass result set data from SqlCommand
1109 * System.Data.SqlClient/SqlDataReader.cs: allow
1110 multiple result sets.
1112 * System.Data.SqlClient/SqlConnection.cs: moved
1113 things around. Implement IDisposable.
1115 * Test/TestSqlDataReader.cs: test for execution
1116 of multiple result sets and display the results
1117 of these multiple results sets
1119 * Test/TestSqlDataAdapter.cs: tweaks
1121 2002-05-17 Tim Coleman <tim@timcoleman.com>
1122 * System.Data.Common/DbDataAdapter.cs:
1123 - More implementation of Fill methods
1124 - Get rid of isDirty flag, because we can just check
1126 - Do *not* remove DataTables before Filling them
1127 - Implicitly open the connection before doing a Fill
1128 if it does not exist.
1129 * System.Data.SqlClient/SqlDataAdapter.cs:
1131 * System.Data/DataTableCollection.cs:
1132 - Add DataSet to internal, undocumented constructor
1133 - When a table is created, set its DataSet property
1134 - Default table name for creation is "Table1" (see .NET)
1135 - Inherit the ArrayList list from InternalDataCollecitonBase
1136 and maintain a hashtable between table names and
1138 * System.Data/DataTable.cs:
1139 - Add internal dataSet field. This is used by
1140 DataTableCollection when the DataTable is constructed.
1141 * System.Data/DataSet.cs:
1142 - Pass a reference to the DataSet when constructing the
1143 DataTableCollection.
1145 2002-05-16 Tim Coleman <tim@timcoleman.com>
1146 * System.Data.Common/DbDataAdapter.cs:
1147 Use table.Rows.Add (itemArray) instead of
1148 table.Rows.Add (thisRow) to provide better
1150 * System.Data/DataRowCollection.cs:
1151 Some implementation of this class.
1152 * System.Data/InternalDataCollectionBase.cs:
1153 Some implementation. Most notably, this now
1154 has an enumerator so we can use foreach (DataRow row in table.Rows)
1155 in the test classes.
1156 * System.Data/DataTable.cs:
1157 Since DataRowCollection now accepts a DataTable in
1158 its internal constructor, we must pass one in.
1160 2002-05-16 Daniel Morgan <danmorg@sc.rr.com>
1162 * Test/TestSqlDataAdapter.cs: added new test
1163 for SqlDataAdapter, DataSet, DataTableCollection, DataTable,
1164 DataRowCollection, and DataRow. It tests retrieving data
1165 based on a SQL SELECT query. This test is based on Tim Coleman's
1168 2002-05-16 Tim Coleman <tim@timcoleman.com>
1169 * System.Data.Common/DbDataAdapter.cs:
1170 Use table.Rows.Add (thisRow) instead of
1171 table.ImportRow (thisRow)
1172 * System.Data/DataRowCollection.cs:
1173 Construct the ArrayList before using it
1175 2002-05-16 Tim Coleman <tim@timcoleman.com>
1176 * System.Data/DataTable.cs:
1177 Construct the DataRowCollection in the DataTable
1178 constructor. Otherwise, it's a null reference.
1180 2002-05-16 Tim Coleman <tim@timcoleman.com>
1181 * System.Data.SqlClient/SqlDataReader.cs:
1182 Modify GetValues to use Array.Copy() to copy
1183 the results from fields to values, rather than
1184 an assignment, which results in loss of data.
1186 2002-05-16 Tim Coleman <tim@timcoleman.com>
1187 * System.Data/DataRow.cs:
1188 More implementation and documentation. It should
1189 work more like expected, although there is no way
1190 to demonstrate this well yet. DataTable requires
1193 2002-05-15 Tim Coleman <tim@timcoleman.com>
1194 * System.Data/DataRow.cs:
1195 Minor tweaks as I determine exactly how to
1196 implement this class.
1199 2002-05-14 Duncan Mak <duncan@ximian.com>
1201 * System.Data/DataTable.cs (NewRow): Added missing paren to fix build.
1203 2002-05-14 Tim Coleman
1204 * System.Data/DataRow.cs:
1205 * System.Data/DataRowBuilder.cs:
1206 * System.Data/DataTable.cs:
1207 More implementation of these classes. DataRow
1208 can now (possibly) do some useful things.
1209 Still not sure what DataRowBuilder is all about,
1210 other than passing a DataTable in.
1212 2002-05-14 Tim Coleman
1213 * System.Data/DataRowBuilder.cs:
1214 Add stubb for this internal class.
1216 2002-05-13 Tim Coleman
1217 * System.Data.Common/DbDataAdapter.cs:
1218 The maxRecords check was not correct.
1220 2002-05-13 Tim Coleman
1221 * System.Data/DataTableCollection.cs:
1222 Fix an issue when adding a DataTable and size == 0.
1223 Now explicitly checks if size > 0 before doing Array.Copy ()
1224 * System.Data.Common/DbDataAdapter.cs:
1225 Move closer to a working implementation.
1226 Make the IDbCommand fields protected so that they can
1228 * System.Data.SqlClient/SqlDataAdapter.cs:
1229 This should inherit the IDbCommands instead of having its
1230 own. An explicit cast is used to force conversion between
1231 IDbCommand and SqlCommand
1233 2002-05-13 Tim Coleman
1234 * System.Data.Common/DataTableMappingCollection.cs:
1235 Some implementation to allow progress with DbDataAdapter
1237 2002-05-13 Tim Coleman
1238 * System.Data.Common/DbDataAdapter.cs:
1239 Modify to not break compile.
1241 2002-05-13 Tim Coleman
1242 * System.Data.build:
1243 include SqlDataAdapter, SqlRowUpdatedEventArgs,
1244 SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
1245 SqlRowUpdatingEventHandler in the build.
1247 2002-05-13 Tim Coleman
1248 * System.Data.Common/DbDataAdapter.cs:
1249 More implementation.
1250 * System.Data.Common/DataAdapter.cs:
1251 Correction of some of the stubbing, as well as a
1252 little bit more implementation
1254 2002-05-11 Tim Coleman
1255 * System.Data.SqlClient/SqlDataAdapter.cs:
1256 * System.Data.Common/DbDataAdapter.cs:
1257 Moved methods that weren't supposed to
1258 be in SqlDataAdapter out. They should be implemented
1262 2002-05-11 Tim Coleman
1263 * System.Data.SqlClient/SqlDataAdapter.cs:
1264 some implementation of this class. Note
1265 that none of the functionality has been
1266 tested yet, but I felt it should be checked
1267 in at this point as it compiles.
1268 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
1269 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
1270 Modified so that they will compile properly.
1271 Needed to include SqlDataAdapter in the build.
1273 2002-05-11 Rodrigo Moya <rodrigo@ximian.com>
1275 * System.Data/DataTable.cs (Clear): implemented.
1276 (DataTable): removed repeated code in constructors, and call the
1277 basic constructor from the others.
1279 * System.Data/DataColumn.cs: some tweaks.
1281 * System.Data/DataRow.cs (RowState): implemented.
1282 (CancelEdit): set rowState property back to Unchanged.
1283 (RejectChanges): call CancelEdit.
1284 (Delete): set rowState to Deleted.
1286 2002-05-11 Daniel Morgan <danmorg@sc.rr.com>
1288 * System.Data.build: added copy of System.Data.dll to Test directory
1289 for easy testing. Also, added clean for it too.
1291 * System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
1292 from PostgreSQL data type to .NET type.
1294 * System.Data.SqlClient/SqlDataReader.cs: beginnings
1295 handling of a NULL value from the database
1297 * Test/PostgresTest.cs: added tests for NULL values retrieved
1300 * Test/ReadPostgresData.cs
1301 * Test/TestExecuteScalar.cs
1302 * Test/TestSqlDataReader.cs
1303 * Test/TestSqlException.cs
1304 * Test/TestSqlIsolationLevel.cs: updated tests to use databas user
1305 "postgres". These tests may eventually be removed since they
1308 2002-05-10 Rodrigo Moya <rodrigo@ximian.com>
1310 * System.Data.build: removed reference to non-existant
1311 TestDataColumn.cs file.
1313 * System.Data/DataSet.cs: added some implementation.
1315 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
1317 * System.Data.SqlClient/PostgresLibrary.cs: got
1318 PostgreSQL data types time, date, timestamp (DateTime like)
1319 mapped to .NET System.DateTime working based
1320 on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
1321 Also mapped pg type boolean to .net Boolean
1323 * SqlClient/SqlConnection.cs: run SQL command to set
1326 * Test/PostgresTest.cs: added test for an UPDATE SQL command,
1327 added tests for aggregates min(), max(), sum(), count(). could
1328 not get avg() to work due to some formatting error; someone claimed
1329 that it was my locale settings. added tests for SELECT of columns
1330 of type boolean, float, double, date, time, and timestamp. They
1331 have not been fully tested, but its a start.
1333 2002-05-09 Tim Coleman <tim@timcoleman.com>
1334 * System.Data.SqlTypes/SqlDecimal.cs: Implementations of
1335 addition, subtraction, and multiplication for the
1336 SqlDecimal type, as well as modification of some other
1337 operations. More to come on this one.
1339 2002-05-08 Rodrigo Moya <rodrigo@ximian.com>
1341 * Test/System.Data_test.build: excluded TestDataColumn, which
1342 should be replaced with a nunit test.
1344 * Test/TestDataColumn.cs: added basic test for DataColumn.cs.
1346 2002-05-07 Tim Coleman <tim@timcoleman.com>
1360 Fix the broken build I made before. Bad
1363 2002-05-07 Tim Coleman <tim@timcoleman.com>
1365 Fix a symantic error I made in SqlString
1366 Equals where I copied and pasted wrongly
1368 2002-05-07 Tim Coleman <tim@timcoleman.com>
1373 * SqlCompareOptions.cs:
1384 Implement CompareTo, Equals, and String conversions
1387 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
1389 * Test/PostgresTest.cs: modified to run completely. There
1390 are many TODOs in System.Data, so not all data types are
1391 included in the SELECT SQL query. Also, I made it to where
1393 using "host=localhost;dbname=test;user=postgres"
1394 instead of my userid and password. When more types are included,
1397 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
1399 * Test/PostgresTest.cs: added - ported
1400 libgda postgres-test.c originally by
1401 Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
1404 2002-05-05 Tim Coleman <tim@timcoleman.com>
1405 * System.Data.SqlTypes/SqlBinary.cs:
1406 * System.Data.SqlTypes/SqlBoolean.cs:
1407 * System.Data.SqlTypes/SqlByte.cs:
1408 * System.Data.SqlTypes/SqlDateTime.cs:
1409 * System.Data.SqlTypes/SqlDecimal.cs:
1410 * System.Data.SqlTypes/SqlDouble.cs:
1411 * System.Data.SqlTypes/SqlGuid.cs:
1412 * System.Data.SqlTypes/SqlInt16.cs:
1413 * System.Data.SqlTypes/SqlInt32.cs:
1414 * System.Data.SqlTypes/SqlInt64.cs:
1415 * System.Data.SqlTypes/SqlMoney.cs:
1416 * System.Data.SqlTypes/SqlSingle.cs:
1417 * System.Data.SqlTypes/SqlString.cs:
1418 More implementation, and code clean-up for consistency.
1419 Also, I had implemented many conversions as explicit
1420 that should have been implicit. This should remove
1421 many of the red X's and green pluses from the
1422 System.Data.SqlTypes namespace.
1424 2002-05-05 Miguel de Icaza <miguel@ximian.com>
1426 * System.Data/DataSet.cs: Remove [Serializable] attributes from
1427 methods, those only apply to structs or classes.
1429 Stub out ISerializable, ISupportInitialize, and IListSource methods
1431 * System.Data/DataRowView.cs: Stub out interface methods for
1432 IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
1434 * System.Data/DataView.cs: Comment out non-implemented
1437 * System.Data/DataViewSettingsCollection.cs: Type cast variables
1438 to the correct type to make it compile.
1440 * System.Data/DataViewSettings.cs: remove reference to
1441 non-existance type ApplyDefaultSort, it is a boolean.
1444 2002-05-05 Tim Coleman <tim@timcoleman.com>
1445 * System.Data.SqlTypes/SqlBinary.cs:
1446 * System.Data.SqlTypes/SqlBoolean.cs:
1447 * System.Data.SqlTypes/SqlByte.cs:
1448 * System.Data.SqlTypes/SqlDecimal.cs:
1449 * System.Data.SqlTypes/SqlDouble.cs:
1450 * System.Data.SqlTypes/SqlGuid.cs:
1451 * System.Data.SqlTypes/SqlInt16.cs:
1452 * System.Data.SqlTypes/SqlInt32.cs:
1453 * System.Data.SqlTypes/SqlInt64.cs:
1454 * System.Data.SqlTypes/SqlMoney.cs:
1455 * System.Data.SqlTypes/SqlSingle.cs:
1456 * System.Data.SqlTypes/SqlString.cs:
1457 Various fixes, including adding the SqlNullValueException
1458 when trying to retrieve the value of a null SqlType,
1459 and when casting values, a Null of type A converts to a
1462 2002-05-04 Daniel Morgan <danmorg@sc.rr.com>
1464 * System.Data.SqlClient/PostgresLibrary.cs
1465 * System.Data.SqlClient/SqlCommand.cs
1466 * System.Data.SqlClient/SqlConnection.cs
1467 * System.Data.SqlClient/SqlDataReader.cs
1468 oid should not be hard coded because they
1469 can change from one version of PostgreSQL
1470 to the next. Use the typname's instead.
1471 The PostgreSQL type data retrieves
1472 at database connection time. Any unimplemented
1473 types just default to string. These were things
1474 suggested by Gonzalo.
1476 * Test/ReadPostgresData.cs - stuff
1477 * Test/TestSqlDataReader.cs - stuff
1479 * System.Data.SqlTypes/SqlInt32.cs - added a using
1481 2002-05-03 Tim Coleman <tim@timcoleman.com>
1482 * System.Data.build: Fix the build so that test depends on build
1484 2002-05-03 Tim Coleman <tim@timcoleman.com>
1485 * System.Data.SqlTypes/SqlByte.cs:
1486 * System.Data.SqlTypes/SqlDateTime.cs:
1487 * System.Data.SqlTypes/SqlDecimal.cs:
1488 * System.Data.SqlTypes/SqlDouble.cs:
1489 * System.Data.SqlTypes/SqlGuid.cs:
1490 * System.Data.SqlTypes/SqlInt16.cs:
1491 * System.Data.SqlTypes/SqlInt64.cs:
1492 * System.Data.SqlTypes/SqlMoney.cs:
1493 * System.Data.SqlTypes/SqlSingle.cs:
1494 These files were mysteriously excluded from the last
1495 patch I made and sent to Rodrigo
1496 * System.Data.build: include the System.Data.SqlTypes in the build
1498 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
1500 * System.Data.build: removed comments
1502 * System.Data.SqlClient/PostgresLibrary.cs: changed
1503 the hard-coded PostgreSQL oid type int's to using an
1504 enum. Also, added PostgreSQL bpchar (character) type.
1506 * Test/TestSqlDataReader.cs: updated test
1507 to include new bpchar PostgreSQL type
1509 2002-05-03 Rodrigo Moya <rodrigo@ximian.com>
1511 * System.Data.SqlTypes/SqlBinary.cs:
1512 * System.Data.SqlTypes/SqlBoolean.cs:
1513 * System.Data.SqlTypes/SqlInt32.cs:
1514 * System.Data.SqlTypes/SqlString.cs: more implementation, by
1515 Tim Coleman <tcoleman@opentext.com>.
1517 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
1519 * Test/TestExecuteScalar.cs: added test for
1520 method ExecuteScalar in class SqlCommand.
1522 * System.Data/DataColumnCollection.cs - it should
1523 inherit properties from base InternalDataCollectionBase
1524 and use them instead of overriding them, such as, List.
1526 * System.Data/DataColumn.cs
1527 * System.Data/DataTable.cs: tweaks to retrieve
1528 meta data from the database
1530 * System.Data.SqlClient/PostgresLibrary.cs -
1531 added method OidToType to convert PostgreSQL oid type
1532 to System.Type. Renamed method OidTypeToSystem
1533 to ConvertPgTypeToSystem for converting the data value
1534 from a PostgreSQL type to a .NET System type.
1536 * System.Data.SqlClient/SqlCommand.cs: implemented
1537 method ExecuteReader which returns a SqlDataReader
1538 for a light forward only read only result set.
1539 It works on types int4 ==> Int32 and
1540 varchar ==> String. Other types
1543 * System.Data.SqlClient/SqlConnection.cs: added comment
1545 * System.Data.SqlClient/SqlDataReader.cs: implemented
1546 class. It works, but still lots to do.
1548 * Test/ReadPostgresData.cs: stuff
1550 * Test/TestSqlDataReader.cs: updated test for SqlDataReader
1551 to display meta data and the data
1553 2002-05-03 Duncan Mak <duncan@ximian.com>
1555 * TODO: Took out all the Exceptions. They should be all done now.
1557 * System.Data/ConstraintException.cs:
1558 * System.Data/DBConcurrencyException.cs:
1559 * System.Data/DataException.cs:
1560 * System.Data/DeletedRowInaccessibleException.cs:
1561 * System.Data/DuplicateNameException.cs:
1562 * System.Data/EvaluateException.cs:
1563 * System.Data/InRowChangingEventException.cs:
1564 * System.Data/InvalidConstraintException.cs:
1565 * System.Data/InvalidExpressionException.cs:
1566 * System.Data/MissingPrimaryKeyException.cs:
1567 * System.Data/NoNullAllowedException.cs:
1568 * System.Data/ReadOnlyException.cs:
1569 * System.Data/RowNotInTableException.cs:
1570 * System.Data/StrongTypingException.cs:
1571 * System.Data/SyntaxErrorException.cs:
1572 * System.Data/TypeDataSetGeneratorException.cs:
1573 * System.Data/VersionNotFoundException.cs: Added to CVS.
1575 * System.Data.SqlTypes/SqlNullValueException.cs:
1576 * System.Data.SqlTypes/SqlTruncateException.cs:
1577 * System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
1579 2002-05-02 Rodrigo Moya <rodrigo@ximian.com>
1581 * System.Data/DataViewSettingCollection.cs: implemented.
1583 * System.Data/DataRowView.cs: new stubs.
1585 * System.Data.SqlTypes/SqlByte.cs:
1586 * System.Data.SqlTypes/SqlDateTime.cs:
1587 * System.Data.SqlTypes/SqlDecimal.cs:
1588 * System.Data.SqlTypes/SqlDouble.cs:
1589 * System.Data.SqlTypes/SqlGuid.cs:
1590 * System.Data.SqlTypes/SqlInt16.cs:
1591 * System.Data.SqlTypes/SqlInt64.cs:
1592 * System.Data.SqlTypes/SqlMoney.cs:
1593 * System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
1594 by Tim Coleman <tcoleman@opentext.com>
1596 * System.Data.build: excluded newly-added files.
1598 2002-05-02 Daniel Morgan <danmorg@sc.rr.com>
1600 * System.Data.SqlClient/PostgresLibrary.cs: included new
1601 internal class that will be a helper class in using
1602 PostgreSQL. PostgresLibrary is used for the
1603 pinvoke methods to the PostgreSQL Client
1604 native C library libpq while the class PostgresHelper
1605 is used for wrapper or helper methods. It currently only
1606 has one static method OidTypeToSystem in converting
1607 PostgreSQL types to .NET System.<type>s, such as,
1608 a PostgreSQL int8 becomes a .NET System.Int64.
1609 Only a few types have been added, such as, int2,
1610 int4, int8, varchar, text, bool, and char. Other types
1613 * System.Data.SqlClient/SqlCommand.cs: implemented
1614 method ExecuteScalar which allows us to do aggregate
1615 functions, such as, count, avg, min, max, and sum. We
1616 also are able to retrieve the result, convert it to the .NET type
1617 as an object. The user of the returned object must explicitly cast.
1619 * Test/ReadPostgresData.cs: updated sample
1620 to help us learn to retrieve data in System.Data.SqlClient
1623 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
1625 * System.Data.build: added /nowarn: nnnn arguments
1626 so you will not get a ton of warnings. The warnings
1627 being excluded are: 1595, 0067, 0109, 0169, and 0649
1629 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
1631 * System.Data.build: modified to exclude more
1632 files from the build
1634 2002-05-01 Rodrigo Moya <rodrigo@ximian.com>
1636 * System.Data.SqlClient/SqlClientPermission.cs: added missing
1639 * System.Data/MergeFailedEventArgs.cs: new class, contributed
1640 by John Dugaw <jdugaw@unizenconsulting.com>.
1642 * System.Data.build: excluded new files from build.
1644 2002-04-29 Daniel Morgan <danmorg@sc.rr.com>
1646 * Test/ReadPostgresData.cs: added - Uses the
1647 PostgresLibrary to retrieve a recordset.
1648 This is not meant to be used in Production, but as a
1649 learning aid in coding
1650 class System.Data.SqlClient.SqlDataReader.
1651 This sample does work.
1653 * Test/TestSqlDataReader.cs: added - used
1654 to test SqlDataReader (does not work yet)
1655 Forgot to add to ChangeLog on last commit.
1657 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1659 * System.Data/DataViewSetting.cs: new class.
1661 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1663 * System.Data/DataViewManager.cs: new class.
1665 * System.Data.SqlTypes/INullable.cs: properties for interfaces
1666 don't have implementation.
1668 * System.Data.SqlTypes/SqlInt32.cs:
1669 * System.Data.SqlTypes/SqlString.cs:
1670 * System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
1671 these are strctures.
1673 * System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
1676 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1678 * System.Data/DataTableRelationCollection.cs: use 'new' keyword
1679 for correctly hiding parent class' members.
1680 (AddRange): use 'override' keyword on overriden method.
1682 (Contains): likewise.
1683 (IndexOf): likewise.
1684 (OnCollectionChanged): likewise.
1685 (OnCollectionChanging): likewise.
1686 (RemoveCore): likewise.
1688 * System.Data/DataColumnCollection.cs: use 'new' keyword.
1690 * System.Data/DataSet.cs: added missing 'using's.
1692 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1694 * System.Data/DataSet.cs:
1695 * System.Data/DataTableCollection.cs:
1696 * System.Data/DataView.cs: compilation fixes on Linux.
1698 2002-04-28 Daniel Morgan <danmorg@sc.rr.com>
1700 * System.Data/DataRelation.cs
1701 * System.Data/ForeignKeyConstraint.cs
1702 * System.Data/UniqueConstraint.cs: added more stubs
1704 * System.Data/DataTableRelationCollection.cs: added back to cvs
1705 and modified for compile errors. DataRelationCollection is an
1706 abstract class and there must be a class that implements for
1707 DataTable/DataSet. DataTableRelationCollection was changed
1708 to an internal class.
1710 * System.Data.build: modified - new files added
1711 also wanted to include files/classes in the build
1712 so we can get a compilable forward read only result set.
1713 It compiles now using csc/nant with warnings, but this
1714 is a start for adding functionality for the result set.
1715 Classes associated with/and DataSet are still excluded.
1717 * TODO: modified - updated to do list for System.Data
1719 * System.Data/Constraint.cs
1720 * System.Data/ConstraintCollection.cs
1721 * System.Data/DataRelationCollection.cs
1722 * System.Data/DataRow.cs
1723 * System.Data/DataRowChangeEventArgs.cs
1724 * System.Data/DataRowCollection.cs
1725 * System.Data/DataTable.cs
1726 * System.Data/DataTableCollection.cs
1727 * System.Data/InternalDataCollectionBase.cs
1728 * System.Data/PropertyCollection.cs: modified -
1729 changes to compile SqlDataReader/DataTable and
1732 * System.Data/IDbCommand.cs
1733 * System.Data.SqlClient/SqlCommand.cs: modified -
1734 un-commented overloaded methods ExecuteReader
1735 which returns a SqlDataReader
1737 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1739 * System.Data/DataTableCollection.cs: more implementation.
1740 (Count): added 'override' keyword, as pointer out by Martin.
1742 * System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
1743 only call Array.Copy when there is really stuff to be copied.
1744 (CopyTo): don't create the temporary array, it's not needed.
1746 * System.Data.build: excluded newly added file from build.
1748 2002-04-27 Rodrigo Moya <rodrigo@ximian.com>
1750 * System.Data/DataTableRelationCollection.cs: removed, it's not
1751 on MS SDK documentation.
1753 * System.Data/DataTableCollection.cs: new class.
1755 2002-04-27 Daniel Morgan <danmorg@sc.rr.com>
1757 * System.Data/DataRowChangeEventArgs.cs
1758 * System.Data/DataRowCollection.cs
1759 * System.Data/DataView.cs
1760 * System.Data/PropertyCollection.cs: added new stubs
1762 * System.Data.build: modified - added new files to exclude
1765 * TODO: modified - removed files from TODO list
1766 that were stubbed above
1768 * System.Data/DataColumn.cs
1769 * System.Data/DataRow.cs: modified - various tweaks
1770 and added internal method SetTable to set the reference
1773 * System.Data/DataSet.cs: modified - class was not
1776 * System.Data/DataTable.cs: modified - temporarily commented
1777 DataSet and DataView references - trying to compile a SqlDataReader,
1778 DataTable, and dependencies for a forward read-only result set.
1779 SqlDataAdapter, DataSet, and DataView will come later once we can get
1780 a forward read only result set working.
1782 * System.Data/IDataRecord.cs: modified - source code lines should
1785 * System.Data/InternalDataCollectionBase.cs: modified - started
1786 implementing this base class for collection of data rows,
1787 columns, tables, relations, and constraints
1789 * System.Data.SqlClient/SqlException.cs: modified -
1790 call base(message) so a unhandled exception displays
1791 the message of a SQL error instead of the
1792 default SystemException message
1794 * Test/TestSqlException.cs: modified -
1795 handle the rollback properly for a SqlException on a
1798 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1800 * System.Data.build: modified - added new
1801 files to exclude from build
1803 * System.Data/Constraint.cs
1804 * System.Data/ConstraintCollection.cs
1805 * System.Data/InternalDataCollectionBase.cs: added -
1806 stubs which are needed to build DataTable.cs
1808 * TODO: modified - added more classes TODO and
1809 added more stuff TODO, such as, create script
1810 to create test database monotestdb for testing
1811 classes in System.Data
1813 2002-04-23 Rodrigo Moya <rodrigo@ximian.com>
1815 * System.Data.Common/DataAdapter.cs:
1816 * System.Data.Common/DataColumnMappingCollection.cs:
1817 * System.Data.Common/DataTableMappingCollection.cs:
1818 * System.Data.Common/DbDataPermission.cs:
1819 * System.Data.Common/DbDataPermissionAttribute.cs: some
1820 compilation errors fixed.
1822 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1824 * TODO: modified - added classes TODO, and
1825 a poor attempt at System.Data plan
1827 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1829 * ChangeLog: modified - put tabs where they belong
1831 * System.Data.SqlClient/SqlDataReader.cs
1832 * System.Data/DataColumn.cs: modified - compile errors
1833 trying to compile SqlDataAdapter and dependencies
1835 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1837 * System.Data.SqlTypes/SqlBoolean.cs
1838 * System.Data.SqlTypes/SqlCompareOptions.cs
1839 * System.Data.SqlTypes/SqlInt32.cs
1840 * System.Data.SqlTypes/SqlString.cs: added - new stubs
1842 * System.Data/DataTable.cs
1843 * System.Data.SqlClient/SqlCommand.cs
1844 * System.Data.SqlClient/SqlConnection.cs
1845 * System.Data.SqlClient/SqlError.cs
1846 * System.Data.SqlClient/SqlTransaction.cs: modified -
1849 * System.Data.SqlClient/SqlException.cs: modified -
1850 missing Message on indexer for Message property
1852 2002-04-21 Daniel Morgan <danmorg@sc.rr.com>
1854 * System.Data.SqlClient/SqlCommand.cs: modified - to
1855 compile using mcs. This problem is
1856 returning a stronger type in csc vs. msc
1858 * System.Data.SqlClient/SqlConnection.cs: modified - msc
1859 can not do a using PGconn = IntPtr; and then declare
1860 with PGconn pgConn = IntPtr.Zero;
1861 Thiw works under csc though. Had to comment using and
1862 changed declaration to IntPtr pgConn = IntPtr.Zero;
1863 Also, got rid of compile warnings for hostaddr and port.
1865 * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
1866 rid of compile warnings. Commented MonoTODO attribute because mcs
1867 doesn't seem to work with C# array property indexer (Item)
1870 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
1871 commented MonoTODO attribute for indexer for mcs compiling
1873 * Test/TestSqlIsolationLevel.cs:
1874 * Test/TestSqlInsert.cs:
1875 * Test/TestSqlException.cs: modified -
1876 removed extra ExecuteNonQuery which caused two inserted rows
1878 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
1880 * System.Data/StateChangeEventArgs.cs - added
1881 needed to compile System.Data.dll with mcs.
1883 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
1885 * System.Data.OleDb: added directory - for OleDb database
1888 * System.Data.SqlClient/SqlClientPermission.cs
1889 * System.Data.SqlClient/SqlClientPermissionAttribute.cs
1890 * System.Data.SqlClient/SqlCommandBuilder.cs
1891 * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
1892 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
1893 * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
1894 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
1895 * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
1896 * Test/TestSqlException.cs
1897 * Test/TestSqlIsolationLevel.cs: added - more tests
1899 * System.Data.build: modified - added new files - excludes these too
1901 * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
1903 * System.Data.SqlClient/SqlConnection.cs
1904 * System.Data.SqlClient/SqlCommand.cs
1905 * System.Data.SqlClient/SqlTransaction.cs
1906 * System.Data.SqlClient/SqlException.cs
1907 * System.Data.SqlClient/SqlErrorCollection.cs
1908 * System.Data.SqlClient/SqlError.cs: modified - transaction and
1909 exception/error handling. SqlConnection(connectionString)
1910 constructor should not automatically connect.
1912 * System.Data.SqlClient/SqlDataReader.cs
1913 * System.Data.SqlClient/SqlDataAdapter.cs
1914 * System.Data.SqlClient/SqlParameter.cs
1915 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
1916 added using System.ComponentModel;
1918 * Test/TestSqlInsert.cs: modified - to use transaction
1920 2002-04-17 Rodrigo Moya <rodrigo@ximian.com>
1922 * System.Data/DataRow.cs: new skeletons.
1924 * System.Data.Common/DataAdapter.cs:
1925 * System.Data.Common/DataColumnMapping.cs:
1926 * System.Data.Common/DataColumnMappingCollection.cs:
1927 * System.Data.Common/DataTableMapping.cs:
1928 * System.Data.Common/DataTableMappingCollection.cs:
1929 * System.Data.Common/DbDataAdapter.cs:
1930 * System.Data.Common/RowUpdatedEventArgs.cs:
1931 * System.Data.SqlClient/SqlDataAdapter.cs:
1932 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
1935 * System.Data.Common/DbDataRecord.cs:
1936 * System.Data.Common/DbEnumerator.cs: removed MS implementation
1939 2002-04-17 Daniel Morgan <danmorg@sc.rr.com>
1941 * Test/TestSqlInsert.cs: modified - do
1942 a SQL DELETE before SQL INSERT of row so you can use this
1945 * System.Data.SqlClient/SqlTransaction.cs: modified - default
1946 IsolationLevel for PostgreSQL is ReadCommitted. However,
1947 PostgreSQL allows Serializable as well.
1948 (Thanks to Gonzalo for that!)
1950 * System.Data.SqlClient/SqlConnection.cs: modified
1951 * System.Data.SqlClient/SqlCommand.cs: modified
1952 * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
1953 working; however, we still need to implement SQL errors
1954 and exceptions to properly handle transactions. Also, added
1955 status and error message support from the PostgreSQL database.
1956 Currently, this does a Console.WriteLine() to display the
1957 status and error messages, but this is a TODO
1958 for SQL errors and exceptions.
1960 * System.Data/TODOAttribute.cs: added - needed MonoTODO
1961 attribute for System.Data.dll assembly
1963 * System.Data/IDbCommand.cs: modified - commented
1964 overloaded method ExecuteReader
1965 so System.Data.SqlClient.SqlCommand can compile
1967 * System.Data/IDbCommand.cs: modified
1968 * System.Data/IDbConnection.cs: modified - added using System;
1969 * System.Data/IDataParameter.cs
1971 * System.Data.build: modified - build classes
1972 in System.Data.SqlClient and exclude others in System.Data
1974 * System.Data.SqlClient/PostgresLibrary.cs: modified - change
1975 parameter data type from IntPtr to enum ExecStatusType
1977 * ChangeLog: modified - corrected previous entries in log
1979 2002-04-16 Rodrigo Moya <rodrigo@ximian.com>
1981 * System.Data.Common/DataColumnMappingCollection.cs: added basic
1982 implementation. Still missing some stuff.
1984 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
1986 * System.Data.SqlClient/SqlConnection.cs: modified - got
1987 to compile, run, and connect to PostgreSQL database
1989 * System.Data.SqlClient/SqlCommand.cs: modified - got
1990 to compile, run, and execute a SQL INSERT command
1991 which successfully inserted a row
1992 into the PostgreSQL database
1994 * System.Data.SqlClient/SqlTransaction.cs: modified
1995 * System.Data.SqlClient/SqlParameter.cs: modified
1996 * System.Data.SqlClient/SqlParameterCollection.cs: modified
1997 * System.Data.SqlClient/SqlError.cs: modified
1998 * System.Data.SqlClient/SqlErrorCollection.cs: modified
1999 * System.Data.SqlClient/SqlException.cs: modified
2000 * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
2002 * System.Data.SqlClient/SqlAdapter: modified
2003 * System.Data.SqlClient/SqlReader: modified - add more stubs
2005 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
2007 * Test/TestSqlInsert.cs: added
2009 2002-04-15 Daniel Morgan <danmorg@sc.rr.com>
2011 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
2012 class SqlConnecition
2013 * System.Data.SqlClient/SqlErrorCollection.cs: added
2014 * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
2016 2002-04-15 Christopher Podurgiel <cpodurgiel@msn.com>
2018 * System.Data.IDbDataParameter: Added Interface to IDataParameter.
2019 * System.Data.IDbTransaction: Added Interface to IDisposable.
2020 * System.Data.IDbCommand: Fixed Capitalization of class name.
2021 * System.Data.IDbConnection: Fixed Capitalization of class name.
2023 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
2025 * System.Data.Common/DbDataPermissionAttribute.cs:
2026 * System.Data.Common/DataAdapter.cs:
2027 * System.Data.Common/DataColumnMapping.cs:
2028 * System.Data.Common/DbDataPermission.cs: added some implementation.
2030 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
2032 * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
2033 syntax, as pointed out by Levent Camlibel.
2035 2002-04-14 Rodrigo Moya <rodrigo@ximian.com>
2037 * System.Data.SqlTypes/SqlBinary.cs:
2038 * System.Data.SqlTypes/INullable.cs: new skeletons.
2040 2002-04-14 Daniel Morgan <danmorg@sc.rr.com>
2042 * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
2043 contains all calls the the PostgreSQL client library, to be used
2044 everywhere in System.Data.SqlClient.
2046 2002-03-30 Rodrigo Moya <rodrigo@ximian.com>
2048 * System.Data.SqlClient/SqlConnection.cs: implemented basic
2051 * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
2053 2002-03-29 Rodrigo Moya <rodrigo@ximian.com>
2055 * System.Data.Common/DbDataRecord.cs:
2056 * System.Data.Common/DbEnumerator.cs:
2057 * System.Data.Common/RowUpdatedEventArgs.cs:
2058 * System.Data.Common/RowUpdatingEventArgs.cs:
2059 * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
2061 2002-03-28 Rodrigo Moya <rodrigo@ximian.com>
2063 * System.Data.Common/DataTableMappingCollection.cs:
2064 * System.Data.Common/DbDataAdapter.cs:
2065 * System.Data.Common/DbDataPermission.cs:
2066 * System.Data.Common/DataTableMapping.cs: new skeletons.
2068 * System.Data.SqlClient/SqlDataAdapter.cs:
2069 * System.Data.SqlClient/SqlDataReader.cs:
2070 * System.Data.SqlClient/SqlErrors.cs:
2071 * System.Data.SqlClient/SqlError.cs:
2072 * System.Data.SqlClient/SqlException.cs:
2073 * System.Data.SqlClient/SqlParameter.cs:
2074 * System.Data.SqlClient/SqlParameterCollection.cs:
2075 * System.Data.SqlClient/SqlTransaction.cs:
2076 * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
2078 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
2080 * System.Data.Common/DataColumnMapping.cs:
2081 * System.Data.Common/DataColumnMappingCollection.cs:
2082 * System.Data.Common/DataAdapter.cs: created skeletons.
2084 * System.Data.build: exclude new directories from build.
2086 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
2088 * System.Data.SqlClient/SqlTransaction.cs: started implementation.
2090 * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
2091 implemented (2 methods).
2093 2002-03-24 Duncan Mak <duncan@ximian.com>
2095 * System.Data.build: Excluded System.Data.SqlClient from the build.
2096 The stubs are incomplete and they are stopping the build.
2098 * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
2100 2002-03-24 Rodrigo Moya <rodrigo@ximian.com>
2102 * System.Data.SqlClient/*: added skeletons for the SQL managed
2103 provider for ADO.Net, to be based initially in PostgreSQL.
2105 2002-03-15 Christopher Podurgiel <cpodurgiel@msn.com>
2107 Changed the Namespace on some Enums from mono.System.Data to System.Data
2109 2002-03-01 Christopher Podurgiel <cpodurgiel@msn.com>
2111 * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a
2112 default name if the ColumnName is null.
2113 * DataSet.cs : Added
2114 * DataTable.cs : Added
2115 * DataRelationCollection.cs : Added
2116 * DataTableRelationCollection.cs : Added
2117 * DataColumn : Added
2119 2002-02-11 Christopher Podurgiel <cpodurgiel@msn.com>
2121 * DataColumnChangeEventArgs.cs : Added
2122 * DataColumnCollection.cs : Added
2124 2002-02-10 Christopher Podurgiel <cpodurgiel@msn.com>
2126 * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
2127 * Updated all Enums, Interfaces, and Delegates in System.Data