1 2002-08-11 Rodrigo Moya <rodrigo@ximian.com>
3 * System.Data.OleDb/libgda.cs: added some GdaValue functions.
5 * System.Data.OleDb/OleDbCommand.cs (OpenReader): removed this
6 internal method, since we don't need it.
7 (ExecuteReader): call SetupGdaCommand before executing the command
9 (ExecuteScalar): implemented.
11 * System.Data.OleDb/OleDbDateReader.cs (OleDbDataReader): removed call
12 to OleDbCommand.OpenReader.
13 (GetBoolean): implemented.
15 2002-08-08 Franklin Wise <gracenote@earthlink.net>
17 * System.Data/IDbComand.cs: IDbCommand now inherits IDisposable
19 * System.Data/IDbConnection.cs: IDbConnection now inherits IDisposable
21 * System.Data.SqlTypes/SqlCompareOptions.cs: Enum now set to correct
24 2002-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
26 * System.Data.OleDb/OleDbConnection.cs: little fixes to make it work
27 and don't show a warning in Open.
29 * System.Data.OleDb/TestOleDb.cs: added Close.
31 2002-08-05 Rodrigo Moya <rodrigo@ximian.com>
33 * System.Data.OleDb/OleDbConnection.cs (ConnectionString,
34 ConnectionTimeout, ServerVersion, GdaConnection):
36 (OleDbConnection): call libgda.gda_init on constructor.
38 * System.Data.OleDb/libgda.cs (libgda): removed static constructor,
39 which wasn't been called.
41 * System.Data.OleDb/TestOleDb.cs (TestOleDb): updated to really
44 2002-08-04 Rodrigo Moya <rodrigo@ximian.com>
46 * list: added missing System.Data.OleDb and
47 System.Data.Common files.
49 * System.Data.OleDb/ChangeLog: removed and merged with
50 System.Data's ChangeLog.
52 * System.Data.OleDb/OleDbDataAdapter.cs:
53 * System.Data.OleDb/OleDbPermission.cs: compilation fixes.
55 2002-07-30 Rodrigo Moya <rodrigo@ximian.com>
57 * System.Data.OleDb/OleDbDataReader.cs (FieldCount): implemented.
58 (IsClosed, Item, RecordsAffected): implemented some properties.
60 * libgda.cs: added GdaDataModel methods.
62 2002-07-29 Rodrigo Moya <rodrigo@ximian.com>
64 * System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader constructor): changed to receive
65 a second argument (ArrayList results).
66 (NextResult): implemented.
68 * System.Data.OleDb/OleDbCommand.cs: don't store the ArrayList of results, since we'll
69 pass that to the OleDbDataReader.
70 (OleDbCommand constructor): don't create the ArrayList of results.
71 (GdaResults): removed property.
72 (ExecuteReader): create a temporary ArrayList and pass that to the
73 OleDbDataReader constructor.
75 2002-07-28 Rodrigo Moya <rodrigo@ximian.com>
77 * System.Data.OleDb/OleDbCommand.cs (ExecuteReader):
78 (CreateParameter): implemented IDbCommand methods.
79 (CommandText): don't create many GdaCommand's, only one is needed.
80 (ExecuteNonQuery): set up the internal GDA command object.
81 (ExecuteReader): use correctly the unique GDA command object.
83 * System.Data.OleDb/libgda.cs: added new libgda calls.
85 2002-07-27 Rodrigo Moya <rodrigo@ximian.com>
87 * System.Data.OleDb/OleDbConnection.cs (CreateCommand):
88 (BeginTransaction): implemented IDbConnection methods.
90 2002-07-12 Rodrigo Moya <rodrigo@ximian.com>
92 * list: added System.Data.OleDb files to file list.
94 2002-07-11 Rodrigo Moya <rodrigo@ximian.com>
96 * System.Data.OleDb/libgda.cs: added new libgda functions and some enumerations.
98 * System.Data.OleDb/OleDbParameter.cs (IsNullable): removed explicit implementation
99 of the set method for this property.
101 * System.Data.OleDb/OleDbDataAdapter.cs (MissingMappingAction): implemented.
102 (MissingSchemaAction): implemented.
104 2002-07-10 Tim Coleman <tim@timcoleman.com>
106 * System.Data.OleDb/OleDbCommandBuilder.cs: Added new methods, properties
107 * System.Data.OleDb/OleDbConnection.cs: Modified constructor
108 * System.Data.OleDb/OleDbError.cs: Added stubbs
109 * System.Data.OleDb/OleDbException.cs: Added stubbs
110 * System.Data.OleDb/OleDbInfoMessageEventArgs.cs: Added stubbs
111 * System.Data.OleDb/OleDbInfoMessageEventHandler.cs: style change
112 * System.Data.OleDb/OleDbParameter.cs: Added conversion from type to OleDbType
113 * System.Data.OleDb/OleDbPermission.cs: Added stubbs
114 * System.Data.OleDb/OleDbSchemaGuid.cs: Added stubbs
115 * System.Data.OleDb/OleDbTransaction.cs: New constructors, changes to methods to
116 support transaction nesting
117 * System.Data.OleDb/libgda.cs: Added my name to this file
119 2002-07-09 Tim Coleman <tim@timcoleman.com>
121 * System.Data.OleDb/OleDbCommand.cs: Style changes, added new methods
122 * System.Data.OleDb/OleDbConnection.cs: Style changes, added new methods
123 * System.Data.OleDb/OleDbDataAdapter.cs: Implementation
124 * System.Data.OleDb/OleDbDataReader.cs: Added stubbs
125 * System.Data.OleDb/OleDbErrorCollection.cs: Added stubbs, some implementation
126 * System.Data.OleDb/OleDbParameter.cs: Style changes, added new methods
127 * System.Data.OleDb/OleDbParameterCollection.cs: Style changes, added new methods
128 * System.Data.OleDb/OleDbPermissionAttribute.cs: Style changes, added new methods
129 * System.Data.OleDb/OleDbRowUpdatedEventArgs.cs: Added stubbs
130 * System.Data.OleDb/OleDbRowUpdatingEventArgs.cs: Added stubbs
131 * System.Data.OleDb/OleDbTransaction.cs: Style changes, added new methods
132 * System.Data.OleDb/OleDbType.cs: Fixed two typos
133 * System.Data.OleDb/libgda.cs: Style changes, added new methods
135 2002-07-09 Tim Coleman <tim@timcoleman.com>
137 * System.Data.build: remove restriction on System.Data.OleDb build
139 2002-06-03 Rodrigo Moya <rodrigo@ximian.com>
141 * System.Data.OleDb/OleDbParameterCollection.cs (GetEnumerator, SyncRoot,
142 IsSynchronized): implemented.
144 2002-06-02 Rodrigo Moya <rodrigo@ximian.com>
146 * System.Data.OleDb/OleDbTransaction.cs (Dispose): added missing method.
148 * System.Data.OleDb/OleDbCommand.cs (Clone): added missing methods.
149 (Parameters, Transaction, Connection): made these overload
152 * System.Data.OleDb/OleDbParameterCollection.cs (IndexOf, Remove, RemoveAt):
153 call m_list methods, not own ones.
155 * System.Data.OleDb/OleDbParameter.cs: more implementation.
157 2002-06-02 Rodrigo Moya <rodrigo@ximian.com>
159 * System.Data.OleDb/OleDbTransaction.cs (Connection, IsolationLevel, Begin,
160 Commit, Rollback): implemented.
161 (GdaConnection): added new internal property.
163 * System.Data.OleDb/OleDbParameter.cs:
164 * System.Data.OleDb/OleDbParameterCollection.cs: implemented some methods and
167 * System.Data.OleDb/libgda.cs: added yet more libgda API functions.
169 2002-06-01 Rodrigo Moya <rodrigo@ximian.com>
171 * System.Data.OleDb/libgda.cs: added new libgda API functions.
173 * System.Data.OleDb/OleDbConnection.cs (Provider): implemented.
174 (BeginTransaction): made it overload IDbConnection methods.
175 (ChangeDatabase): new stub, needs some work on libgda for being
178 (Close): implemented.
179 (CreateCommand): implemented.
180 (GetOleDbSchemaTable): new stub, until I understand what to do here.
181 (Open): implemented basic stuff, which is just supporting connection
182 strings that represent a GDA data source name. More to come.
183 (InfoMessage, StateChange): added events.
185 * System.Data.OleDb/TestOleDb.cs: test program for System.Data.OleDb.
187 2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
189 * System.Data.OleDb/libgda.cs: added static constructor.
190 (GdaClient): new static property to get the underlying GdaClient
193 * System.Data.OleDb/OleDbConnection.cs: removed GDA initialization, which belongs to
194 the static 'libgda' class.
196 2002-05-29 Rodrigo Moya <rodrigo@ximian.com>
198 * System.Data.OleDb/libgda.cs: static class for libgda API calls.
200 * System.Data.OleDb/OleDbConnection.cs: implemented constructors.
201 (ConnectionString, Connectiontimeout, Database, State):
202 implemented class properties.
203 (BeginTransaction): implemented.
205 * System.Data.OleDb/OleDbTransaction.cs: implemented protected constructors.
207 * System.Data.OleDb/TestGDA.cs: simple test for libgda API.
209 2002-05-27 Rodrigo Moya <rodrigo@ximian.com>
211 * System.Data.OleDb/*: started System.Data.OleDb provider, based on libgda.
213 2002-06-06 Rodrigo Moya <rodrigo@ximian.com>
215 * list: added missing PostgresTypes.cs file.
217 2002-06-02 Francisco Jr. <fxjrlists@yahoo.com.br>
219 * System.Data.SqlClient/SqlParameterCollection.cs: implemented missing
222 2002-05-30 Daniel Morgan <danmorg@sc.rr.com>
224 * System.Data.SqlClient/SqlConnection.cs: modifed -
225 start to implement the interfaces properly and
226 properly doing a Close(), Dispose(), and
229 * Test/SqlSharpCli.cs: modified -
230 add support for MySQL in Mono.Data.MySql
231 and OleDb support in System.Data.OleDb. However,
232 the OleDb support is commented right now.
233 When the program starts up, a shorter help menu should
234 display the most important commands: help and quit
236 2002-05-28 Rodrigo Moya <rodrigo@ximian.com>
238 * System.Data.build: exclude System.Data.OleDb files.
240 2002-05-27 Daniel Morgan <danmorg@sc.rr.com>
242 * System.Data.SqlClient/SqlCommand.cs: typo
243 should be CommandBehavior.KeyInfo
245 * Test/SqlSharpCli.cs: refactored and added a few more
248 2002-05-27 Tim Coleman <tim@timcoleman.com>
249 * list: update to compile properly (add missing
250 files and switch path delimiter from '\' to '/').
252 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
254 * System.Data/DataRow.cs
255 * System.Data.Common/DbDataAdapter.cs: fix to
256 get Test/TestSqlDataAdapter.cs to work again
258 * Test/TestSqlDataAdapter.cs: removed comment
259 about SqlDataReader:NextResult() not being implemented; it
262 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
264 * System.Data/DataRow.cs: modified
265 support setting of DBNull.Value
266 using the Item indexer this[DataColumn]
268 * System.Data.SqlClient/SqlCommand.cs: modified
269 tweaks to show TODO's for other CommandBehavior.
270 Set AllowDBNull column to true for IsKey row
273 * System.Data.SqlClient/SqlConnection.cs: modified
274 if transaction is in progress when a Close() is called,
275 do a transaction Rollback.
277 2002-05-26 Daniel Morgan <danmorg@sc.rr.com>
279 * Test/SqlSharpCli.cs: added file
280 My new toy. SQL# is a command-line tool to enter
281 SQL commands and queries using Mono System.Data.
282 It also serves as a test for Mono System.Data.
284 * System.Data.SqlClient/SqlCommand.cs: modified
285 - ExecuteNonQuery(), ExecuteScalar(), and ExecuteReader()
286 should handle the results from SQL Commands and Queries.
287 - Internal class SqlResult should not create schema Table
288 for the result from a SQL Command. Also, set the RecordsRetrieved
289 property for SqlDataReader.
290 - Closing the SqlDataReader should Close() the SqlConnection for
291 a CommandBehavior.CloseConnection.
292 - Set defaults for SqlResult
294 * System.Data.SqlClient/SqlConnection.cs: modified -
295 when SqlDataReader is Close()
296 should Close() the SqlConnection for
297 a CommandBehavior.CloseConnection. Changed internal Property
298 from OpenReader get/set to IsReaderOpen get and created
299 internal methods OpenReader()/CloseReader() for SqlCommand to call.
300 SqlConnection needs to be prevented from doing while SqlDataReader
303 * System.Data.SqlClient/SqlDataReader.cs: modified -
304 call SqlCommand's OpenReader() internal method. get
305 RecordsRetrieved from SqlResult. set/reset default
306 values for SqlDataReader.
308 * Test/PostgresTest.cs
309 * Test/TestExecuteScalar.cs
310 * Test/TestSqlDataReader.cs: modified
311 for the Execute...() methods in SqlCommand
312 to test SQL Queries and Commands
314 * Test/System.Data_test.build: modified
315 exclude new file Test/SqlSharpCli.cs from
318 2002-05-24 Tim Coleman <tim@timcoleman.com>
319 * System.Data.Common/DbDataAdapter.cs: remove IDbCommands, except
320 for get accessors. These should be implemented in derived classes. See
321 SqlDataAdapter for clues.
322 * System.Data.SqlClient/SqlDataAdapter.cs: implement IDbDataAdapter
323 * System.Data.Common/DataAdapter.cs:
324 * System.Data.Common/DataTableMappingCollection.cs:
325 * System.Data.Common/DataTableMapping.cs:
326 * System.Data.Common/DataColumnMappingCollection.cs:
327 * System.Data.Common/DataColumnMapping.cs:
328 Properly (I hope!) implement all of the appropriate interfaces
332 2002-05-23 Tim Coleman <tim@timcoleman.com>
333 * System.Data.SqlClient/SqlCommand.cs: include
334 the BaseColumnName in the schema table. Was missed before.
335 * System.Data.Common/DbDataAdapter.cs: Use DataTable
336 mappings so that the DataSet and DataTable are more closely tied.
337 Get schema information from the DataTable using GetSchemaTable ()
338 Various other little fixes
339 * System.Data.Common/DataColumnMappingCollection.cs:
340 * System.Data.Common/DataTableMapping.cs:
341 * System.Data.Common/DataTableMappingCollection.cs: Some
342 implementation, enough to be used by DbDataAdapter.
344 2002-05-23 Daniel Morgan <danmorg@sc.rr.com>
346 * System.Data.SqlClient/SqlCommand.cs: set
347 the "ProviderType" to the PostgreSQL type oid
349 * System.Data.SqlClient/SqlDataReader.cs: fix
350 for various properties and methods that
351 return meta data: Item indexers this[name] and this[index],
352 GetFieldType, GetName, and GetOrdinal. SqlDataAdapter
355 2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
357 * System.Data/DataRow.cs: change suggested
358 by tim: in Item indexer, do an EndEdit()
360 * System.Data.SqlClient/SqlCommand.cs: more
361 fixes to SqlResult. After setting each item in
362 the DataRow, do an AcceptChanges() to commit
363 the changes in the DataRow. For DataType, use a Type
364 of System.String since System.Type nor System.Object
367 * Test/TestSqlDataReader.cs
368 * Test/PostgresTest.cs: updated to to be on
369 the way schema table is suppose to work
371 2002-05-22 Daniel Morgan <danmorg@sc.rr.com>
373 * System.Data.SqlClient/SqlCommand.cs: more work on
374 building the schema table
376 2002-05-22 Tim Coleman <tim@timcoleman.com>
377 * System.Data.SqlClient/SqlCommand.cs: preliminary work
378 on getting the schema table correctly built.
380 2002-05-21 Daniel Morgan <danmorg@sc.rr.com>
382 * System.Data.SqlClient/ParmUtil.cs: added file - to
383 provide utility for conversion of input parameters
385 * System.Data.SqlClient/PostgresTypes.cs: added file -
386 moved the PostgreHelper class to here. May eventually
387 move the internal class PostgresTypes that's inside the
388 SqlConnection to here as well.
389 Handling of PostgreSQL <-> .NET types need to be though
390 out more. Also, the PostgreHelper has a method to convert
391 from .NET types to a string which can be put into used in
392 an SQL statement to execute against a PostgreSQL database.
393 This is the beginnings of parameters support. It currently
394 only supports input parameters. Still need to do output,
395 input/output, and return parameters.
397 * Test/TestSqlParameters.cs: new test to test the input
398 parameters in System.Data.SqlClient against a
401 * System.Data.SqlClient/PostgresLibrary.cs: moved
402 PostgresHelper class to file PostgresTypes.cs. Also
403 moved struct PostgresType there too.
405 * System.Data.SqlClient/SqlCommand.cs: added input
408 * System.Data.SqlClient/SqlParameter.cs: got
411 * System.Data.SqlClient/SqlParameterCollection.cs: got
412 SqlParameterCollection to work
414 * Test/System.Data_test.build: added files to exclude
417 * System.Data.SqlClient/SqlConnection.cs: release resources
420 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
422 * System.Xml: added directory for classes with namespace
423 System.Xml to go into the System.Data.dll assembly
425 * System.Xml/XmlDataDocument: added file
426 for stubbed concrete class XmlDataDocument which
427 inherits from XmlDocument. Its purpose is to provide
428 a W3C XML DOM Document for relational data and interacting
431 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
433 * System.Data.SqlClient/SqlCommand.cs: handle CommandTypes
434 Text, TableDirect, and StoredProcedure
436 * Test/PostgresTest.cs: changed call to version()
437 stored procedure to use the CommandType of StoredProcedure
439 * Test/TestSqlDataReader.cs: test all the CommandTypes
441 2002-05-18 Daniel Morgan <danmorg@sc.rr.com>
443 * System.Data.build: took out all excluded
444 files except the ones in the Test directory
445 because all files compile now. It does not
446 mean they all work or have implementations
449 * System.Data/DataRelationCollection.cs
450 * System.Data/DataTableRelationCollection.cs
451 * System.Data/InternalDataCollectionBase.cs
452 * System.Data.Common/DbDataPermission.cs
453 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs
454 * System.Data.SqlClient/SqlClientPermission.cs
455 * System.Data.SqlClient/SqlClientPermissionAttribute.cs: changes
456 to get all System.Data* files to compile.
458 * System.Data.SqlClient/SqlCommand.cs: started coding
459 to prevent SqlConnection and SqlCommand from doing
460 anyting while fetching data using SqlDataReader. Also,
461 started coding to undo this prevention once the
462 SqlDataReader is closed.
464 * System.Data.SqlClient/SqlConnection.cs: get database server
465 version. Started coding to prevent connection from
466 doing anything while fetching data and undo once the reader
467 is closed. Include events SqlInfoMessage and StateChange.
469 * System.Data.SqlClient/SqlDataReader.cs: start coding to
470 prevent connection and command from doing anything while
471 fetching data, and undo when closed.
473 * Test/PostgresTest.cs: added test to get ServerVersion
474 property from SqlConnection
476 2002-05-18 Tim Coleman <tim@timcoleman.com>
477 * System.Data/DataRow.cs: More implementation,
478 as well as boundary checks and small semantic
481 2002-05-18 Tim Coleman <tim@timcoleman.com>
482 * System.Data/DataRow.cs: Try to reduce memory
483 usage by only creating the original and proposed
484 arrays as required in BeginEdit, and then destroying
485 proposed during EndEdit, and original during AcceptChanges.
486 * System.Data.Common/DbDataAdapter.cs: Make the
487 startRecord and maxRecords parameters work correctly.
489 2002-05-18 Tim Coleman <tim@timcoleman.com>
490 * System.Data/DataRow.cs: Move the null check in
491 ItemArray set to above the Invalid Cast check, so
492 that we don't get null reference exceptions.
494 2002-05-17 Daniel Morgan <danmorg@sc.rr.com>
496 * System.Data.SqlClient/PostgresLibrary.cs: handle
497 data value from database being NULL
499 * System.Data.SqlClient/SqlCommand.cs: for ExecuteReader,
500 allow multiple result sets. Added new internal class
501 SqlResult to pass result set data from SqlCommand
504 * System.Data.SqlClient/SqlDataReader.cs: allow
505 multiple result sets.
507 * System.Data.SqlClient/SqlConnection.cs: moved
508 things around. Implement IDisposable.
510 * Test/TestSqlDataReader.cs: test for execution
511 of multiple result sets and display the results
512 of these multiple results sets
514 * Test/TestSqlDataAdapter.cs: tweaks
516 2002-05-17 Tim Coleman <tim@timcoleman.com>
517 * System.Data.Common/DbDataAdapter.cs:
518 - More implementation of Fill methods
519 - Get rid of isDirty flag, because we can just check
521 - Do *not* remove DataTables before Filling them
522 - Implicitly open the connection before doing a Fill
523 if it does not exist.
524 * System.Data.SqlClient/SqlDataAdapter.cs:
526 * System.Data/DataTableCollection.cs:
527 - Add DataSet to internal, undocumented constructor
528 - When a table is created, set its DataSet property
529 - Default table name for creation is "Table1" (see .NET)
530 - Inherit the ArrayList list from InternalDataCollecitonBase
531 and maintain a hashtable between table names and
533 * System.Data/DataTable.cs:
534 - Add internal dataSet field. This is used by
535 DataTableCollection when the DataTable is constructed.
536 * System.Data/DataSet.cs:
537 - Pass a reference to the DataSet when constructing the
540 2002-05-16 Tim Coleman <tim@timcoleman.com>
541 * System.Data.Common/DbDataAdapter.cs:
542 Use table.Rows.Add (itemArray) instead of
543 table.Rows.Add (thisRow) to provide better
545 * System.Data/DataRowCollection.cs:
546 Some implementation of this class.
547 * System.Data/InternalDataCollectionBase.cs:
548 Some implementation. Most notably, this now
549 has an enumerator so we can use foreach (DataRow row in table.Rows)
551 * System.Data/DataTable.cs:
552 Since DataRowCollection now accepts a DataTable in
553 its internal constructor, we must pass one in.
555 2002-05-16 Daniel Morgan <danmorg@sc.rr.com>
557 * Test/TestSqlDataAdapter.cs: added new test
558 for SqlDataAdapter, DataSet, DataTableCollection, DataTable,
559 DataRowCollection, and DataRow. It tests retrieving data
560 based on a SQL SELECT query. This test is based on Tim Coleman's
563 2002-05-16 Tim Coleman <tim@timcoleman.com>
564 * System.Data.Common/DbDataAdapter.cs:
565 Use table.Rows.Add (thisRow) instead of
566 table.ImportRow (thisRow)
567 * System.Data/DataRowCollection.cs:
568 Construct the ArrayList before using it
570 2002-05-16 Tim Coleman <tim@timcoleman.com>
571 * System.Data/DataTable.cs:
572 Construct the DataRowCollection in the DataTable
573 constructor. Otherwise, it's a null reference.
575 2002-05-16 Tim Coleman <tim@timcoleman.com>
576 * System.Data.SqlClient/SqlDataReader.cs:
577 Modify GetValues to use Array.Copy() to copy
578 the results from fields to values, rather than
579 an assignment, which results in loss of data.
581 2002-05-16 Tim Coleman <tim@timcoleman.com>
582 * System.Data/DataRow.cs:
583 More implementation and documentation. It should
584 work more like expected, although there is no way
585 to demonstrate this well yet. DataTable requires
588 2002-05-15 Tim Coleman <tim@timcoleman.com>
589 * System.Data/DataRow.cs:
590 Minor tweaks as I determine exactly how to
591 implement this class.
594 2002-05-14 Duncan Mak <duncan@ximian.com>
596 * System.Data/DataTable.cs (NewRow): Added missing paren to fix build.
598 2002-05-14 Tim Coleman
599 * System.Data/DataRow.cs:
600 * System.Data/DataRowBuilder.cs:
601 * System.Data/DataTable.cs:
602 More implementation of these classes. DataRow
603 can now (possibly) do some useful things.
604 Still not sure what DataRowBuilder is all about,
605 other than passing a DataTable in.
607 2002-05-14 Tim Coleman
608 * System.Data/DataRowBuilder.cs:
609 Add stubb for this internal class.
611 2002-05-13 Tim Coleman
612 * System.Data.Common/DbDataAdapter.cs:
613 The maxRecords check was not correct.
615 2002-05-13 Tim Coleman
616 * System.Data/DataTableCollection.cs:
617 Fix an issue when adding a DataTable and size == 0.
618 Now explicitly checks if size > 0 before doing Array.Copy ()
619 * System.Data.Common/DbDataAdapter.cs:
620 Move closer to a working implementation.
621 Make the IDbCommand fields protected so that they can
623 * System.Data.SqlClient/SqlDataAdapter.cs:
624 This should inherit the IDbCommands instead of having its
625 own. An explicit cast is used to force conversion between
626 IDbCommand and SqlCommand
628 2002-05-13 Tim Coleman
629 * System.Data.Common/DataTableMappingCollection.cs:
630 Some implementation to allow progress with DbDataAdapter
632 2002-05-13 Tim Coleman
633 * System.Data.Common/DbDataAdapter.cs:
634 Modify to not break compile.
636 2002-05-13 Tim Coleman
638 include SqlDataAdapter, SqlRowUpdatedEventArgs,
639 SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
640 SqlRowUpdatingEventHandler in the build.
642 2002-05-13 Tim Coleman
643 * System.Data.Common/DbDataAdapter.cs:
645 * System.Data.Common/DataAdapter.cs:
646 Correction of some of the stubbing, as well as a
647 little bit more implementation
649 2002-05-11 Tim Coleman
650 * System.Data.SqlClient/SqlDataAdapter.cs:
651 * System.Data.Common/DbDataAdapter.cs:
652 Moved methods that weren't supposed to
653 be in SqlDataAdapter out. They should be implemented
657 2002-05-11 Tim Coleman
658 * System.Data.SqlClient/SqlDataAdapter.cs:
659 some implementation of this class. Note
660 that none of the functionality has been
661 tested yet, but I felt it should be checked
662 in at this point as it compiles.
663 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
664 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
665 Modified so that they will compile properly.
666 Needed to include SqlDataAdapter in the build.
668 2002-05-11 Rodrigo Moya <rodrigo@ximian.com>
670 * System.Data/DataTable.cs (Clear): implemented.
671 (DataTable): removed repeated code in constructors, and call the
672 basic constructor from the others.
674 * System.Data/DataColumn.cs: some tweaks.
676 * System.Data/DataRow.cs (RowState): implemented.
677 (CancelEdit): set rowState property back to Unchanged.
678 (RejectChanges): call CancelEdit.
679 (Delete): set rowState to Deleted.
681 2002-05-11 Daniel Morgan <danmorg@sc.rr.com>
683 * System.Data.build: added copy of System.Data.dll to Test directory
684 for easy testing. Also, added clean for it too.
686 * System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
687 from PostgreSQL data type to .NET type.
689 * System.Data.SqlClient/SqlDataReader.cs: beginnings
690 handling of a NULL value from the database
692 * Test/PostgresTest.cs: added tests for NULL values retrieved
695 * Test/ReadPostgresData.cs
696 * Test/TestExecuteScalar.cs
697 * Test/TestSqlDataReader.cs
698 * Test/TestSqlException.cs
699 * Test/TestSqlIsolationLevel.cs: updated tests to use databas user
700 "postgres". These tests may eventually be removed since they
703 2002-05-10 Rodrigo Moya <rodrigo@ximian.com>
705 * System.Data.build: removed reference to non-existant
706 TestDataColumn.cs file.
708 * System.Data/DataSet.cs: added some implementation.
710 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
712 * System.Data.SqlClient/PostgresLibrary.cs: got
713 PostgreSQL data types time, date, timestamp (DateTime like)
714 mapped to .NET System.DateTime working based
715 on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
716 Also mapped pg type boolean to .net Boolean
718 * SqlClient/SqlConnection.cs: run SQL command to set
721 * Test/PostgresTest.cs: added test for an UPDATE SQL command,
722 added tests for aggregates min(), max(), sum(), count(). could
723 not get avg() to work due to some formatting error; someone claimed
724 that it was my locale settings. added tests for SELECT of columns
725 of type boolean, float, double, date, time, and timestamp. They
726 have not been fully tested, but its a start.
728 2002-05-09 Tim Coleman <tim@timcoleman.com>
729 * System.Data.SqlTypes/SqlDecimal.cs: Implementations of
730 addition, subtraction, and multiplication for the
731 SqlDecimal type, as well as modification of some other
732 operations. More to come on this one.
734 2002-05-08 Rodrigo Moya <rodrigo@ximian.com>
736 * Test/System.Data_test.build: excluded TestDataColumn, which
737 should be replaced with a nunit test.
739 * Test/TestDataColumn.cs: added basic test for DataColumn.cs.
741 2002-05-07 Tim Coleman <tim@timcoleman.com>
755 Fix the broken build I made before. Bad
758 2002-05-07 Tim Coleman <tim@timcoleman.com>
760 Fix a symantic error I made in SqlString
761 Equals where I copied and pasted wrongly
763 2002-05-07 Tim Coleman <tim@timcoleman.com>
768 * SqlCompareOptions.cs:
779 Implement CompareTo, Equals, and String conversions
782 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
784 * Test/PostgresTest.cs: modified to run completely. There
785 are many TODOs in System.Data, so not all data types are
786 included in the SELECT SQL query. Also, I made it to where
788 using "host=localhost;dbname=test;user=postgres"
789 instead of my userid and password. When more types are included,
792 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
794 * Test/PostgresTest.cs: added - ported
795 libgda postgres-test.c originally by
796 Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
799 2002-05-05 Tim Coleman <tim@timcoleman.com>
800 * System.Data.SqlTypes/SqlBinary.cs:
801 * System.Data.SqlTypes/SqlBoolean.cs:
802 * System.Data.SqlTypes/SqlByte.cs:
803 * System.Data.SqlTypes/SqlDateTime.cs:
804 * System.Data.SqlTypes/SqlDecimal.cs:
805 * System.Data.SqlTypes/SqlDouble.cs:
806 * System.Data.SqlTypes/SqlGuid.cs:
807 * System.Data.SqlTypes/SqlInt16.cs:
808 * System.Data.SqlTypes/SqlInt32.cs:
809 * System.Data.SqlTypes/SqlInt64.cs:
810 * System.Data.SqlTypes/SqlMoney.cs:
811 * System.Data.SqlTypes/SqlSingle.cs:
812 * System.Data.SqlTypes/SqlString.cs:
813 More implementation, and code clean-up for consistency.
814 Also, I had implemented many conversions as explicit
815 that should have been implicit. This should remove
816 many of the red X's and green pluses from the
817 System.Data.SqlTypes namespace.
819 2002-05-05 Miguel de Icaza <miguel@ximian.com>
821 * System.Data/DataSet.cs: Remove [Serializable] attributes from
822 methods, those only apply to structs or classes.
824 Stub out ISerializable, ISupportInitialize, and IListSource methods
826 * System.Data/DataRowView.cs: Stub out interface methods for
827 IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
829 * System.Data/DataView.cs: Comment out non-implemented
832 * System.Data/DataViewSettingsCollection.cs: Type cast variables
833 to the correct type to make it compile.
835 * System.Data/DataViewSettings.cs: remove reference to
836 non-existance type ApplyDefaultSort, it is a boolean.
839 2002-05-05 Tim Coleman <tim@timcoleman.com>
840 * System.Data.SqlTypes/SqlBinary.cs:
841 * System.Data.SqlTypes/SqlBoolean.cs:
842 * System.Data.SqlTypes/SqlByte.cs:
843 * System.Data.SqlTypes/SqlDecimal.cs:
844 * System.Data.SqlTypes/SqlDouble.cs:
845 * System.Data.SqlTypes/SqlGuid.cs:
846 * System.Data.SqlTypes/SqlInt16.cs:
847 * System.Data.SqlTypes/SqlInt32.cs:
848 * System.Data.SqlTypes/SqlInt64.cs:
849 * System.Data.SqlTypes/SqlMoney.cs:
850 * System.Data.SqlTypes/SqlSingle.cs:
851 * System.Data.SqlTypes/SqlString.cs:
852 Various fixes, including adding the SqlNullValueException
853 when trying to retrieve the value of a null SqlType,
854 and when casting values, a Null of type A converts to a
857 2002-05-04 Daniel Morgan <danmorg@sc.rr.com>
859 * System.Data.SqlClient/PostgresLibrary.cs
860 * System.Data.SqlClient/SqlCommand.cs
861 * System.Data.SqlClient/SqlConnection.cs
862 * System.Data.SqlClient/SqlDataReader.cs
863 oid should not be hard coded because they
864 can change from one version of PostgreSQL
865 to the next. Use the typname's instead.
866 The PostgreSQL type data retrieves
867 at database connection time. Any unimplemented
868 types just default to string. These were things
869 suggested by Gonzalo.
871 * Test/ReadPostgresData.cs - stuff
872 * Test/TestSqlDataReader.cs - stuff
874 * System.Data.SqlTypes/SqlInt32.cs - added a using
876 2002-05-03 Tim Coleman <tim@timcoleman.com>
877 * System.Data.build: Fix the build so that test depends on build
879 2002-05-03 Tim Coleman <tim@timcoleman.com>
880 * System.Data.SqlTypes/SqlByte.cs:
881 * System.Data.SqlTypes/SqlDateTime.cs:
882 * System.Data.SqlTypes/SqlDecimal.cs:
883 * System.Data.SqlTypes/SqlDouble.cs:
884 * System.Data.SqlTypes/SqlGuid.cs:
885 * System.Data.SqlTypes/SqlInt16.cs:
886 * System.Data.SqlTypes/SqlInt64.cs:
887 * System.Data.SqlTypes/SqlMoney.cs:
888 * System.Data.SqlTypes/SqlSingle.cs:
889 These files were mysteriously excluded from the last
890 patch I made and sent to Rodrigo
891 * System.Data.build: include the System.Data.SqlTypes in the build
893 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
895 * System.Data.build: removed comments
897 * System.Data.SqlClient/PostgresLibrary.cs: changed
898 the hard-coded PostgreSQL oid type int's to using an
899 enum. Also, added PostgreSQL bpchar (character) type.
901 * Test/TestSqlDataReader.cs: updated test
902 to include new bpchar PostgreSQL type
904 2002-05-03 Rodrigo Moya <rodrigo@ximian.com>
906 * System.Data.SqlTypes/SqlBinary.cs:
907 * System.Data.SqlTypes/SqlBoolean.cs:
908 * System.Data.SqlTypes/SqlInt32.cs:
909 * System.Data.SqlTypes/SqlString.cs: more implementation, by
910 Tim Coleman <tcoleman@opentext.com>.
912 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
914 * Test/TestExecuteScalar.cs: added test for
915 method ExecuteScalar in class SqlCommand.
917 * System.Data/DataColumnCollection.cs - it should
918 inherit properties from base InternalDataCollectionBase
919 and use them instead of overriding them, such as, List.
921 * System.Data/DataColumn.cs
922 * System.Data/DataTable.cs: tweaks to retrieve
923 meta data from the database
925 * System.Data.SqlClient/PostgresLibrary.cs -
926 added method OidToType to convert PostgreSQL oid type
927 to System.Type. Renamed method OidTypeToSystem
928 to ConvertPgTypeToSystem for converting the data value
929 from a PostgreSQL type to a .NET System type.
931 * System.Data.SqlClient/SqlCommand.cs: implemented
932 method ExecuteReader which returns a SqlDataReader
933 for a light forward only read only result set.
934 It works on types int4 ==> Int32 and
935 varchar ==> String. Other types
938 * System.Data.SqlClient/SqlConnection.cs: added comment
940 * System.Data.SqlClient/SqlDataReader.cs: implemented
941 class. It works, but still lots to do.
943 * Test/ReadPostgresData.cs: stuff
945 * Test/TestSqlDataReader.cs: updated test for SqlDataReader
946 to display meta data and the data
948 2002-05-03 Duncan Mak <duncan@ximian.com>
950 * TODO: Took out all the Exceptions. They should be all done now.
952 * System.Data/ConstraintException.cs:
953 * System.Data/DBConcurrencyException.cs:
954 * System.Data/DataException.cs:
955 * System.Data/DeletedRowInaccessibleException.cs:
956 * System.Data/DuplicateNameException.cs:
957 * System.Data/EvaluateException.cs:
958 * System.Data/InRowChangingEventException.cs:
959 * System.Data/InvalidConstraintException.cs:
960 * System.Data/InvalidExpressionException.cs:
961 * System.Data/MissingPrimaryKeyException.cs:
962 * System.Data/NoNullAllowedException.cs:
963 * System.Data/ReadOnlyException.cs:
964 * System.Data/RowNotInTableException.cs:
965 * System.Data/StrongTypingException.cs:
966 * System.Data/SyntaxErrorException.cs:
967 * System.Data/TypeDataSetGeneratorException.cs:
968 * System.Data/VersionNotFoundException.cs: Added to CVS.
970 * System.Data.SqlTypes/SqlNullValueException.cs:
971 * System.Data.SqlTypes/SqlTruncateException.cs:
972 * System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
974 2002-05-02 Rodrigo Moya <rodrigo@ximian.com>
976 * System.Data/DataViewSettingCollection.cs: implemented.
978 * System.Data/DataRowView.cs: new stubs.
980 * System.Data.SqlTypes/SqlByte.cs:
981 * System.Data.SqlTypes/SqlDateTime.cs:
982 * System.Data.SqlTypes/SqlDecimal.cs:
983 * System.Data.SqlTypes/SqlDouble.cs:
984 * System.Data.SqlTypes/SqlGuid.cs:
985 * System.Data.SqlTypes/SqlInt16.cs:
986 * System.Data.SqlTypes/SqlInt64.cs:
987 * System.Data.SqlTypes/SqlMoney.cs:
988 * System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
989 by Tim Coleman <tcoleman@opentext.com>
991 * System.Data.build: excluded newly-added files.
993 2002-05-02 Daniel Morgan <danmorg@sc.rr.com>
995 * System.Data.SqlClient/PostgresLibrary.cs: included new
996 internal class that will be a helper class in using
997 PostgreSQL. PostgresLibrary is used for the
998 pinvoke methods to the PostgreSQL Client
999 native C library libpq while the class PostgresHelper
1000 is used for wrapper or helper methods. It currently only
1001 has one static method OidTypeToSystem in converting
1002 PostgreSQL types to .NET System.<type>s, such as,
1003 a PostgreSQL int8 becomes a .NET System.Int64.
1004 Only a few types have been added, such as, int2,
1005 int4, int8, varchar, text, bool, and char. Other types
1008 * System.Data.SqlClient/SqlCommand.cs: implemented
1009 method ExecuteScalar which allows us to do aggregate
1010 functions, such as, count, avg, min, max, and sum. We
1011 also are able to retrieve the result, convert it to the .NET type
1012 as an object. The user of the returned object must explicitly cast.
1014 * Test/ReadPostgresData.cs: updated sample
1015 to help us learn to retrieve data in System.Data.SqlClient
1018 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
1020 * System.Data.build: added /nowarn: nnnn arguments
1021 so you will not get a ton of warnings. The warnings
1022 being excluded are: 1595, 0067, 0109, 0169, and 0649
1024 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
1026 * System.Data.build: modified to exclude more
1027 files from the build
1029 2002-05-01 Rodrigo Moya <rodrigo@ximian.com>
1031 * System.Data.SqlClient/SqlClientPermission.cs: added missing
1034 * System.Data/MergeFailedEventArgs.cs: new class, contributed
1035 by John Dugaw <jdugaw@unizenconsulting.com>.
1037 * System.Data.build: excluded new files from build.
1039 2002-04-29 Daniel Morgan <danmorg@sc.rr.com>
1041 * Test/ReadPostgresData.cs: added - Uses the
1042 PostgresLibrary to retrieve a recordset.
1043 This is not meant to be used in Production, but as a
1044 learning aid in coding
1045 class System.Data.SqlClient.SqlDataReader.
1046 This sample does work.
1048 * Test/TestSqlDataReader.cs: added - used
1049 to test SqlDataReader (does not work yet)
1050 Forgot to add to ChangeLog on last commit.
1052 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1054 * System.Data/DataViewSetting.cs: new class.
1056 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1058 * System.Data/DataViewManager.cs: new class.
1060 * System.Data.SqlTypes/INullable.cs: properties for interfaces
1061 don't have implementation.
1063 * System.Data.SqlTypes/SqlInt32.cs:
1064 * System.Data.SqlTypes/SqlString.cs:
1065 * System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
1066 these are strctures.
1068 * System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
1071 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1073 * System.Data/DataTableRelationCollection.cs: use 'new' keyword
1074 for correctly hiding parent class' members.
1075 (AddRange): use 'override' keyword on overriden method.
1077 (Contains): likewise.
1078 (IndexOf): likewise.
1079 (OnCollectionChanged): likewise.
1080 (OnCollectionChanging): likewise.
1081 (RemoveCore): likewise.
1083 * System.Data/DataColumnCollection.cs: use 'new' keyword.
1085 * System.Data/DataSet.cs: added missing 'using's.
1087 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1089 * System.Data/DataSet.cs:
1090 * System.Data/DataTableCollection.cs:
1091 * System.Data/DataView.cs: compilation fixes on Linux.
1093 2002-04-28 Daniel Morgan <danmorg@sc.rr.com>
1095 * System.Data/DataRelation.cs
1096 * System.Data/ForeignKeyConstraint.cs
1097 * System.Data/UniqueConstraint.cs: added more stubs
1099 * System.Data/DataTableRelationCollection.cs: added back to cvs
1100 and modified for compile errors. DataRelationCollection is an
1101 abstract class and there must be a class that implements for
1102 DataTable/DataSet. DataTableRelationCollection was changed
1103 to an internal class.
1105 * System.Data.build: modified - new files added
1106 also wanted to include files/classes in the build
1107 so we can get a compilable forward read only result set.
1108 It compiles now using csc/nant with warnings, but this
1109 is a start for adding functionality for the result set.
1110 Classes associated with/and DataSet are still excluded.
1112 * TODO: modified - updated to do list for System.Data
1114 * System.Data/Constraint.cs
1115 * System.Data/ConstraintCollection.cs
1116 * System.Data/DataRelationCollection.cs
1117 * System.Data/DataRow.cs
1118 * System.Data/DataRowChangeEventArgs.cs
1119 * System.Data/DataRowCollection.cs
1120 * System.Data/DataTable.cs
1121 * System.Data/DataTableCollection.cs
1122 * System.Data/InternalDataCollectionBase.cs
1123 * System.Data/PropertyCollection.cs: modified -
1124 changes to compile SqlDataReader/DataTable and
1127 * System.Data/IDbCommand.cs
1128 * System.Data.SqlClient/SqlCommand.cs: modified -
1129 un-commented overloaded methods ExecuteReader
1130 which returns a SqlDataReader
1132 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
1134 * System.Data/DataTableCollection.cs: more implementation.
1135 (Count): added 'override' keyword, as pointer out by Martin.
1137 * System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
1138 only call Array.Copy when there is really stuff to be copied.
1139 (CopyTo): don't create the temporary array, it's not needed.
1141 * System.Data.build: excluded newly added file from build.
1143 2002-04-27 Rodrigo Moya <rodrigo@ximian.com>
1145 * System.Data/DataTableRelationCollection.cs: removed, it's not
1146 on MS SDK documentation.
1148 * System.Data/DataTableCollection.cs: new class.
1150 2002-04-27 Daniel Morgan <danmorg@sc.rr.com>
1152 * System.Data/DataRowChangeEventArgs.cs
1153 * System.Data/DataRowCollection.cs
1154 * System.Data/DataView.cs
1155 * System.Data/PropertyCollection.cs: added new stubs
1157 * System.Data.build: modified - added new files to exclude
1160 * TODO: modified - removed files from TODO list
1161 that were stubbed above
1163 * System.Data/DataColumn.cs
1164 * System.Data/DataRow.cs: modified - various tweaks
1165 and added internal method SetTable to set the reference
1168 * System.Data/DataSet.cs: modified - class was not
1171 * System.Data/DataTable.cs: modified - temporarily commented
1172 DataSet and DataView references - trying to compile a SqlDataReader,
1173 DataTable, and dependencies for a forward read-only result set.
1174 SqlDataAdapter, DataSet, and DataView will come later once we can get
1175 a forward read only result set working.
1177 * System.Data/IDataRecord.cs: modified - source code lines should
1180 * System.Data/InternalDataCollectionBase.cs: modified - started
1181 implementing this base class for collection of data rows,
1182 columns, tables, relations, and constraints
1184 * System.Data.SqlClient/SqlException.cs: modified -
1185 call base(message) so a unhandled exception displays
1186 the message of a SQL error instead of the
1187 default SystemException message
1189 * Test/TestSqlException.cs: modified -
1190 handle the rollback properly for a SqlException on a
1193 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1195 * System.Data.build: modified - added new
1196 files to exclude from build
1198 * System.Data/Constraint.cs
1199 * System.Data/ConstraintCollection.cs
1200 * System.Data/InternalDataCollectionBase.cs: added -
1201 stubs which are needed to build DataTable.cs
1203 * TODO: modified - added more classes TODO and
1204 added more stuff TODO, such as, create script
1205 to create test database monotestdb for testing
1206 classes in System.Data
1208 2002-04-23 Rodrigo Moya <rodrigo@ximian.com>
1210 * System.Data.Common/DataAdapter.cs:
1211 * System.Data.Common/DataColumnMappingCollection.cs:
1212 * System.Data.Common/DataTableMappingCollection.cs:
1213 * System.Data.Common/DbDataPermission.cs:
1214 * System.Data.Common/DbDataPermissionAttribute.cs: some
1215 compilation errors fixed.
1217 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1219 * TODO: modified - added classes TODO, and
1220 a poor attempt at System.Data plan
1222 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1224 * ChangeLog: modified - put tabs where they belong
1226 * System.Data.SqlClient/SqlDataReader.cs
1227 * System.Data/DataColumn.cs: modified - compile errors
1228 trying to compile SqlDataAdapter and dependencies
1230 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
1232 * System.Data.SqlTypes/SqlBoolean.cs
1233 * System.Data.SqlTypes/SqlCompareOptions.cs
1234 * System.Data.SqlTypes/SqlInt32.cs
1235 * System.Data.SqlTypes/SqlString.cs: added - new stubs
1237 * System.Data/DataTable.cs
1238 * System.Data.SqlClient/SqlCommand.cs
1239 * System.Data.SqlClient/SqlConnection.cs
1240 * System.Data.SqlClient/SqlError.cs
1241 * System.Data.SqlClient/SqlTransaction.cs: modified -
1244 * System.Data.SqlClient/SqlException.cs: modified -
1245 missing Message on indexer for Message property
1247 2002-04-21 Daniel Morgan <danmorg@sc.rr.com>
1249 * System.Data.SqlClient/SqlCommand.cs: modified - to
1250 compile using mcs. This problem is
1251 returning a stronger type in csc vs. msc
1253 * System.Data.SqlClient/SqlConnection.cs: modified - msc
1254 can not do a using PGconn = IntPtr; and then declare
1255 with PGconn pgConn = IntPtr.Zero;
1256 Thiw works under csc though. Had to comment using and
1257 changed declaration to IntPtr pgConn = IntPtr.Zero;
1258 Also, got rid of compile warnings for hostaddr and port.
1260 * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
1261 rid of compile warnings. Commented MonoTODO attribute because mcs
1262 doesn't seem to work with C# array property indexer (Item)
1265 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
1266 commented MonoTODO attribute for indexer for mcs compiling
1268 * Test/TestSqlIsolationLevel.cs:
1269 * Test/TestSqlInsert.cs:
1270 * Test/TestSqlException.cs: modified -
1271 removed extra ExecuteNonQuery which caused two inserted rows
1273 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
1275 * System.Data/StateChangeEventArgs.cs - added
1276 needed to compile System.Data.dll with mcs.
1278 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
1280 * System.Data.OleDb: added directory - for OleDb database
1283 * System.Data.SqlClient/SqlClientPermission.cs
1284 * System.Data.SqlClient/SqlClientPermissionAttribute.cs
1285 * System.Data.SqlClient/SqlCommandBuilder.cs
1286 * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
1287 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
1288 * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
1289 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
1290 * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
1291 * Test/TestSqlException.cs
1292 * Test/TestSqlIsolationLevel.cs: added - more tests
1294 * System.Data.build: modified - added new files - excludes these too
1296 * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
1298 * System.Data.SqlClient/SqlConnection.cs
1299 * System.Data.SqlClient/SqlCommand.cs
1300 * System.Data.SqlClient/SqlTransaction.cs
1301 * System.Data.SqlClient/SqlException.cs
1302 * System.Data.SqlClient/SqlErrorCollection.cs
1303 * System.Data.SqlClient/SqlError.cs: modified - transaction and
1304 exception/error handling. SqlConnection(connectionString)
1305 constructor should not automatically connect.
1307 * System.Data.SqlClient/SqlDataReader.cs
1308 * System.Data.SqlClient/SqlDataAdapter.cs
1309 * System.Data.SqlClient/SqlParameter.cs
1310 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
1311 added using System.ComponentModel;
1313 * Test/TestSqlInsert.cs: modified - to use transaction
1315 2002-04-17 Rodrigo Moya <rodrigo@ximian.com>
1317 * System.Data/DataRow.cs: new skeletons.
1319 * System.Data.Common/DataAdapter.cs:
1320 * System.Data.Common/DataColumnMapping.cs:
1321 * System.Data.Common/DataColumnMappingCollection.cs:
1322 * System.Data.Common/DataTableMapping.cs:
1323 * System.Data.Common/DataTableMappingCollection.cs:
1324 * System.Data.Common/DbDataAdapter.cs:
1325 * System.Data.Common/RowUpdatedEventArgs.cs:
1326 * System.Data.SqlClient/SqlDataAdapter.cs:
1327 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
1330 * System.Data.Common/DbDataRecord.cs:
1331 * System.Data.Common/DbEnumerator.cs: removed MS implementation
1334 2002-04-17 Daniel Morgan <danmorg@sc.rr.com>
1336 * Test/TestSqlInsert.cs: modified - do
1337 a SQL DELETE before SQL INSERT of row so you can use this
1340 * System.Data.SqlClient/SqlTransaction.cs: modified - default
1341 IsolationLevel for PostgreSQL is ReadCommitted. However,
1342 PostgreSQL allows Serializable as well.
1343 (Thanks to Gonzalo for that!)
1345 * System.Data.SqlClient/SqlConnection.cs: modified
1346 * System.Data.SqlClient/SqlCommand.cs: modified
1347 * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
1348 working; however, we still need to implement SQL errors
1349 and exceptions to properly handle transactions. Also, added
1350 status and error message support from the PostgreSQL database.
1351 Currently, this does a Console.WriteLine() to display the
1352 status and error messages, but this is a TODO
1353 for SQL errors and exceptions.
1355 * System.Data/TODOAttribute.cs: added - needed MonoTODO
1356 attribute for System.Data.dll assembly
1358 * System.Data/IDbCommand.cs: modified - commented
1359 overloaded method ExecuteReader
1360 so System.Data.SqlClient.SqlCommand can compile
1362 * System.Data/IDbCommand.cs: modified
1363 * System.Data/IDbConnection.cs: modified - added using System;
1364 * System.Data/IDataParameter.cs
1366 * System.Data.build: modified - build classes
1367 in System.Data.SqlClient and exclude others in System.Data
1369 * System.Data.SqlClient/PostgresLibrary.cs: modified - change
1370 parameter data type from IntPtr to enum ExecStatusType
1372 * ChangeLog: modified - corrected previous entries in log
1374 2002-04-16 Rodrigo Moya <rodrigo@ximian.com>
1376 * System.Data.Common/DataColumnMappingCollection.cs: added basic
1377 implementation. Still missing some stuff.
1379 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
1381 * System.Data.SqlClient/SqlConnection.cs: modified - got
1382 to compile, run, and connect to PostgreSQL database
1384 * System.Data.SqlClient/SqlCommand.cs: modified - got
1385 to compile, run, and execute a SQL INSERT command
1386 which successfully inserted a row
1387 into the PostgreSQL database
1389 * System.Data.SqlClient/SqlTransaction.cs: modified
1390 * System.Data.SqlClient/SqlParameter.cs: modified
1391 * System.Data.SqlClient/SqlParameterCollection.cs: modified
1392 * System.Data.SqlClient/SqlError.cs: modified
1393 * System.Data.SqlClient/SqlErrorCollection.cs: modified
1394 * System.Data.SqlClient/SqlException.cs: modified
1395 * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
1397 * System.Data.SqlClient/SqlAdapter: modified
1398 * System.Data.SqlClient/SqlReader: modified - add more stubs
1400 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
1402 * Test/TestSqlInsert.cs: added
1404 2002-04-15 Daniel Morgan <danmorg@sc.rr.com>
1406 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
1407 class SqlConnecition
1408 * System.Data.SqlClient/SqlErrorCollection.cs: added
1409 * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
1411 2002-04-15 Christopher Podurgiel <cpodurgiel@msn.com>
1413 * System.Data.IDbDataParameter: Added Interface to IDataParameter.
1414 * System.Data.IDbTransaction: Added Interface to IDisposable.
1415 * System.Data.IDbCommand: Fixed Capitalization of class name.
1416 * System.Data.IDbConnection: Fixed Capitalization of class name.
1418 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
1420 * System.Data.Common/DbDataPermissionAttribute.cs:
1421 * System.Data.Common/DataAdapter.cs:
1422 * System.Data.Common/DataColumnMapping.cs:
1423 * System.Data.Common/DbDataPermission.cs: added some implementation.
1425 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
1427 * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
1428 syntax, as pointed out by Levent Camlibel.
1430 2002-04-14 Rodrigo Moya <rodrigo@ximian.com>
1432 * System.Data.SqlTypes/SqlBinary.cs:
1433 * System.Data.SqlTypes/INullable.cs: new skeletons.
1435 2002-04-14 Daniel Morgan <danmorg@sc.rr.com>
1437 * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
1438 contains all calls the the PostgreSQL client library, to be used
1439 everywhere in System.Data.SqlClient.
1441 2002-03-30 Rodrigo Moya <rodrigo@ximian.com>
1443 * System.Data.SqlClient/SqlConnection.cs: implemented basic
1446 * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
1448 2002-03-29 Rodrigo Moya <rodrigo@ximian.com>
1450 * System.Data.Common/DbDataRecord.cs:
1451 * System.Data.Common/DbEnumerator.cs:
1452 * System.Data.Common/RowUpdatedEventArgs.cs:
1453 * System.Data.Common/RowUpdatingEventArgs.cs:
1454 * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
1456 2002-03-28 Rodrigo Moya <rodrigo@ximian.com>
1458 * System.Data.Common/DataTableMappingCollection.cs:
1459 * System.Data.Common/DbDataAdapter.cs:
1460 * System.Data.Common/DbDataPermission.cs:
1461 * System.Data.Common/DataTableMapping.cs: new skeletons.
1463 * System.Data.SqlClient/SqlDataAdapter.cs:
1464 * System.Data.SqlClient/SqlDataReader.cs:
1465 * System.Data.SqlClient/SqlErrors.cs:
1466 * System.Data.SqlClient/SqlError.cs:
1467 * System.Data.SqlClient/SqlException.cs:
1468 * System.Data.SqlClient/SqlParameter.cs:
1469 * System.Data.SqlClient/SqlParameterCollection.cs:
1470 * System.Data.SqlClient/SqlTransaction.cs:
1471 * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
1473 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
1475 * System.Data.Common/DataColumnMapping.cs:
1476 * System.Data.Common/DataColumnMappingCollection.cs:
1477 * System.Data.Common/DataAdapter.cs: created skeletons.
1479 * System.Data.build: exclude new directories from build.
1481 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
1483 * System.Data.SqlClient/SqlTransaction.cs: started implementation.
1485 * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
1486 implemented (2 methods).
1488 2002-03-24 Duncan Mak <duncan@ximian.com>
1490 * System.Data.build: Excluded System.Data.SqlClient from the build.
1491 The stubs are incomplete and they are stopping the build.
1493 * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
1495 2002-03-24 Rodrigo Moya <rodrigo@ximian.com>
1497 * System.Data.SqlClient/*: added skeletons for the SQL managed
1498 provider for ADO.Net, to be based initially in PostgreSQL.
1500 2002-03-15 Christopher Podurgiel <cpodurgiel@msn.com>
1502 Changed the Namespace on some Enums from mono.System.Data to System.Data
1504 2002-03-01 Christopher Podurgiel <cpodurgiel@msn.com>
1506 * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a
1507 default name if the ColumnName is null.
1508 * DataSet.cs : Added
1509 * DataTable.cs : Added
1510 * DataRelationCollection.cs : Added
1511 * DataTableRelationCollection.cs : Added
1512 * DataColumn : Added
1514 2002-02-11 Christopher Podurgiel <cpodurgiel@msn.com>
1516 * DataColumnChangeEventArgs.cs : Added
1517 * DataColumnCollection.cs : Added
1519 2002-02-10 Christopher Podurgiel <cpodurgiel@msn.com>
1521 * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
1522 * Updated all Enums, Interfaces, and Delegates in System.Data