2 * System.Data/DataRow.cs:
3 * System.Data/DataRowBuilder.cs:
4 * System.Data/DataTable.cs:
5 More implementation of these classes. DataRow
6 can now (possibly) do some useful things.
7 Still not sure what DataRowBuilder is all about,
8 other than passing a DataTable in.
10 2002-05-14 Tim Coleman
11 * System.Data/DataRowBuilder.cs:
12 Add stubb for this internal class.
14 2002-05-13 Tim Coleman
15 * System.Data.Common/DbDataAdapter.cs:
16 The maxRecords check was not correct.
18 2002-05-13 Tim Coleman
19 * System.Data/DataTableCollection.cs:
20 Fix an issue when adding a DataTable and size == 0.
21 Now explicitly checks if size > 0 before doing Array.Copy ()
22 * System.Data.Common/DbDataAdapter.cs:
23 Move closer to a working implementation.
24 Make the IDbCommand fields protected so that they can
26 * System.Data.SqlClient/SqlDataAdapter.cs:
27 This should inherit the IDbCommands instead of having its
28 own. An explicit cast is used to force conversion between
29 IDbCommand and SqlCommand
31 2002-05-13 Tim Coleman
32 * System.Data.Common/DataTableMappingCollection.cs:
33 Some implementation to allow progress with DbDataAdapter
35 2002-05-13 Tim Coleman
36 * System.Data.Common/DbDataAdapter.cs:
37 Modify to not break compile.
39 2002-05-13 Tim Coleman
41 include SqlDataAdapter, SqlRowUpdatedEventArgs,
42 SqlRowUpdatingEventArgs, SqlRowUpdatedEventHandler,
43 SqlRowUpdatingEventHandler in the build.
45 2002-05-13 Tim Coleman
46 * System.Data.Common/DbDataAdapter.cs:
48 * System.Data.Common/DataAdapter.cs:
49 Correction of some of the stubbing, as well as a
50 little bit more implementation
52 2002-05-11 Tim Coleman
53 * System.Data.SqlClient/SqlDataAdapter.cs:
54 * System.Data.Common/DbDataAdapter.cs:
55 Moved methods that weren't supposed to
56 be in SqlDataAdapter out. They should be implemented
60 2002-05-11 Tim Coleman
61 * System.Data.SqlClient/SqlDataAdapter.cs:
62 some implementation of this class. Note
63 that none of the functionality has been
64 tested yet, but I felt it should be checked
65 in at this point as it compiles.
66 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs:
67 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs:
68 Modified so that they will compile properly.
69 Needed to include SqlDataAdapter in the build.
71 2002-05-11 Rodrigo Moya <rodrigo@ximian.com>
73 * System.Data/DataTable.cs (Clear): implemented.
74 (DataTable): removed repeated code in constructors, and call the
75 basic constructor from the others.
77 * System.Data/DataColumn.cs: some tweaks.
79 * System.Data/DataRow.cs (RowState): implemented.
80 (CancelEdit): set rowState property back to Unchanged.
81 (RejectChanges): call CancelEdit.
82 (Delete): set rowState to Deleted.
84 2002-05-11 Daniel Morgan <danmorg@sc.rr.com>
86 * System.Data.build: added copy of System.Data.dll to Test directory
87 for easy testing. Also, added clean for it too.
89 * System.Data.SqlClient/PostgresLibrary.cs: changed setting of boolean
90 from PostgreSQL data type to .NET type.
92 * System.Data.SqlClient/SqlDataReader.cs: beginnings
93 handling of a NULL value from the database
95 * Test/PostgresTest.cs: added tests for NULL values retrieved
98 * Test/ReadPostgresData.cs
99 * Test/TestExecuteScalar.cs
100 * Test/TestSqlDataReader.cs
101 * Test/TestSqlException.cs
102 * Test/TestSqlIsolationLevel.cs: updated tests to use databas user
103 "postgres". These tests may eventually be removed since they
106 2002-05-10 Rodrigo Moya <rodrigo@ximian.com>
108 * System.Data.build: removed reference to non-existant
109 TestDataColumn.cs file.
111 * System.Data/DataSet.cs: added some implementation.
113 2002-05-09 Daniel Morgan <danmorg@sc.rr.com>
115 * System.Data.SqlClient/PostgresLibrary.cs: got
116 PostgreSQL data types time, date, timestamp (DateTime like)
117 mapped to .NET System.DateTime working based
118 on ISO DateTime formatting "YYYY-MM-DD hh:mi:ss.ms"
119 Also mapped pg type boolean to .net Boolean
121 * SqlClient/SqlConnection.cs: run SQL command to set
124 * Test/PostgresTest.cs: added test for an UPDATE SQL command,
125 added tests for aggregates min(), max(), sum(), count(). could
126 not get avg() to work due to some formatting error; someone claimed
127 that it was my locale settings. added tests for SELECT of columns
128 of type boolean, float, double, date, time, and timestamp. They
129 have not been fully tested, but its a start.
131 2002-05-09 Tim Coleman <tim@timcoleman.com>
132 * System.Data.SqlTypes/SqlDecimal.cs: Implementations of
133 addition, subtraction, and multiplication for the
134 SqlDecimal type, as well as modification of some other
135 operations. More to come on this one.
137 2002-05-08 Rodrigo Moya <rodrigo@ximian.com>
139 * Test/System.Data_test.build: excluded TestDataColumn, which
140 should be replaced with a nunit test.
142 * Test/TestDataColumn.cs: added basic test for DataColumn.cs.
144 2002-05-07 Tim Coleman <tim@timcoleman.com>
158 Fix the broken build I made before. Bad
161 2002-05-07 Tim Coleman <tim@timcoleman.com>
163 Fix a symantic error I made in SqlString
164 Equals where I copied and pasted wrongly
166 2002-05-07 Tim Coleman <tim@timcoleman.com>
171 * SqlCompareOptions.cs:
182 Implement CompareTo, Equals, and String conversions
185 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
187 * Test/PostgresTest.cs: modified to run completely. There
188 are many TODOs in System.Data, so not all data types are
189 included in the SELECT SQL query. Also, I made it to where
191 using "host=localhost;dbname=test;user=postgres"
192 instead of my userid and password. When more types are included,
195 2002-05-05 Daniel Morgan <danmorg@sc.rr.com>
197 * Test/PostgresTest.cs: added - ported
198 libgda postgres-test.c originally by
199 Gonzalo Paniagua Javier <gonzalo@gnome-db.org>
202 2002-05-05 Tim Coleman <tim@timcoleman.com>
203 * System.Data.SqlTypes/SqlBinary.cs:
204 * System.Data.SqlTypes/SqlBoolean.cs:
205 * System.Data.SqlTypes/SqlByte.cs:
206 * System.Data.SqlTypes/SqlDateTime.cs:
207 * System.Data.SqlTypes/SqlDecimal.cs:
208 * System.Data.SqlTypes/SqlDouble.cs:
209 * System.Data.SqlTypes/SqlGuid.cs:
210 * System.Data.SqlTypes/SqlInt16.cs:
211 * System.Data.SqlTypes/SqlInt32.cs:
212 * System.Data.SqlTypes/SqlInt64.cs:
213 * System.Data.SqlTypes/SqlMoney.cs:
214 * System.Data.SqlTypes/SqlSingle.cs:
215 * System.Data.SqlTypes/SqlString.cs:
216 More implementation, and code clean-up for consistency.
217 Also, I had implemented many conversions as explicit
218 that should have been implicit. This should remove
219 many of the red X's and green pluses from the
220 System.Data.SqlTypes namespace.
222 2002-05-05 Miguel de Icaza <miguel@ximian.com>
224 * System.Data/DataSet.cs: Remove [Serializable] attributes from
225 methods, those only apply to structs or classes.
227 Stub out ISerializable, ISupportInitialize, and IListSource methods
229 * System.Data/DataRowView.cs: Stub out interface methods for
230 IEditableObject, ICustomTypeDescriptor and IDataErrorInfo
232 * System.Data/DataView.cs: Comment out non-implemented
235 * System.Data/DataViewSettingsCollection.cs: Type cast variables
236 to the correct type to make it compile.
238 * System.Data/DataViewSettings.cs: remove reference to
239 non-existance type ApplyDefaultSort, it is a boolean.
242 2002-05-05 Tim Coleman <tim@timcoleman.com>
243 * System.Data.SqlTypes/SqlBinary.cs:
244 * System.Data.SqlTypes/SqlBoolean.cs:
245 * System.Data.SqlTypes/SqlByte.cs:
246 * System.Data.SqlTypes/SqlDecimal.cs:
247 * System.Data.SqlTypes/SqlDouble.cs:
248 * System.Data.SqlTypes/SqlGuid.cs:
249 * System.Data.SqlTypes/SqlInt16.cs:
250 * System.Data.SqlTypes/SqlInt32.cs:
251 * System.Data.SqlTypes/SqlInt64.cs:
252 * System.Data.SqlTypes/SqlMoney.cs:
253 * System.Data.SqlTypes/SqlSingle.cs:
254 * System.Data.SqlTypes/SqlString.cs:
255 Various fixes, including adding the SqlNullValueException
256 when trying to retrieve the value of a null SqlType,
257 and when casting values, a Null of type A converts to a
260 2002-05-04 Daniel Morgan <danmorg@sc.rr.com>
262 * System.Data.SqlClient/PostgresLibrary.cs
263 * System.Data.SqlClient/SqlCommand.cs
264 * System.Data.SqlClient/SqlConnection.cs
265 * System.Data.SqlClient/SqlDataReader.cs
266 oid should not be hard coded because they
267 can change from one version of PostgreSQL
268 to the next. Use the typname's instead.
269 The PostgreSQL type data retrieves
270 at database connection time. Any unimplemented
271 types just default to string. These were things
272 suggested by Gonzalo.
274 * Test/ReadPostgresData.cs - stuff
275 * Test/TestSqlDataReader.cs - stuff
277 * System.Data.SqlTypes/SqlInt32.cs - added a using
279 2002-05-03 Tim Coleman <tim@timcoleman.com>
280 * System.Data.build: Fix the build so that test depends on build
282 2002-05-03 Tim Coleman <tim@timcoleman.com>
283 * System.Data.SqlTypes/SqlByte.cs:
284 * System.Data.SqlTypes/SqlDateTime.cs:
285 * System.Data.SqlTypes/SqlDecimal.cs:
286 * System.Data.SqlTypes/SqlDouble.cs:
287 * System.Data.SqlTypes/SqlGuid.cs:
288 * System.Data.SqlTypes/SqlInt16.cs:
289 * System.Data.SqlTypes/SqlInt64.cs:
290 * System.Data.SqlTypes/SqlMoney.cs:
291 * System.Data.SqlTypes/SqlSingle.cs:
292 These files were mysteriously excluded from the last
293 patch I made and sent to Rodrigo
294 * System.Data.build: include the System.Data.SqlTypes in the build
296 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
298 * System.Data.build: removed comments
300 * System.Data.SqlClient/PostgresLibrary.cs: changed
301 the hard-coded PostgreSQL oid type int's to using an
302 enum. Also, added PostgreSQL bpchar (character) type.
304 * Test/TestSqlDataReader.cs: updated test
305 to include new bpchar PostgreSQL type
307 2002-05-03 Rodrigo Moya <rodrigo@ximian.com>
309 * System.Data.SqlTypes/SqlBinary.cs:
310 * System.Data.SqlTypes/SqlBoolean.cs:
311 * System.Data.SqlTypes/SqlInt32.cs:
312 * System.Data.SqlTypes/SqlString.cs: more implementation, by
313 Tim Coleman <tcoleman@opentext.com>.
315 2002-05-03 Daniel Morgan <danmorg@sc.rr.com>
317 * Test/TestExecuteScalar.cs: added test for
318 method ExecuteScalar in class SqlCommand.
320 * System.Data/DataColumnCollection.cs - it should
321 inherit properties from base InternalDataCollectionBase
322 and use them instead of overriding them, such as, List.
324 * System.Data/DataColumn.cs
325 * System.Data/DataTable.cs: tweaks to retrieve
326 meta data from the database
328 * System.Data.SqlClient/PostgresLibrary.cs -
329 added method OidToType to convert PostgreSQL oid type
330 to System.Type. Renamed method OidTypeToSystem
331 to ConvertPgTypeToSystem for converting the data value
332 from a PostgreSQL type to a .NET System type.
334 * System.Data.SqlClient/SqlCommand.cs: implemented
335 method ExecuteReader which returns a SqlDataReader
336 for a light forward only read only result set.
337 It works on types int4 ==> Int32 and
338 varchar ==> String. Other types
341 * System.Data.SqlClient/SqlConnection.cs: added comment
343 * System.Data.SqlClient/SqlDataReader.cs: implemented
344 class. It works, but still lots to do.
346 * Test/ReadPostgresData.cs: stuff
348 * Test/TestSqlDataReader.cs: updated test for SqlDataReader
349 to display meta data and the data
351 2002-05-03 Duncan Mak <duncan@ximian.com>
353 * TODO: Took out all the Exceptions. They should be all done now.
355 * System.Data/ConstraintException.cs:
356 * System.Data/DBConcurrencyException.cs:
357 * System.Data/DataException.cs:
358 * System.Data/DeletedRowInaccessibleException.cs:
359 * System.Data/DuplicateNameException.cs:
360 * System.Data/EvaluateException.cs:
361 * System.Data/InRowChangingEventException.cs:
362 * System.Data/InvalidConstraintException.cs:
363 * System.Data/InvalidExpressionException.cs:
364 * System.Data/MissingPrimaryKeyException.cs:
365 * System.Data/NoNullAllowedException.cs:
366 * System.Data/ReadOnlyException.cs:
367 * System.Data/RowNotInTableException.cs:
368 * System.Data/StrongTypingException.cs:
369 * System.Data/SyntaxErrorException.cs:
370 * System.Data/TypeDataSetGeneratorException.cs:
371 * System.Data/VersionNotFoundException.cs: Added to CVS.
373 * System.Data.SqlTypes/SqlNullValueException.cs:
374 * System.Data.SqlTypes/SqlTruncateException.cs:
375 * System.Data.SqlTypes/SqlTypeException.cs: Added to CVS.
377 2002-05-02 Rodrigo Moya <rodrigo@ximian.com>
379 * System.Data/DataViewSettingCollection.cs: implemented.
381 * System.Data/DataRowView.cs: new stubs.
383 * System.Data.SqlTypes/SqlByte.cs:
384 * System.Data.SqlTypes/SqlDateTime.cs:
385 * System.Data.SqlTypes/SqlDecimal.cs:
386 * System.Data.SqlTypes/SqlDouble.cs:
387 * System.Data.SqlTypes/SqlGuid.cs:
388 * System.Data.SqlTypes/SqlInt16.cs:
389 * System.Data.SqlTypes/SqlInt64.cs:
390 * System.Data.SqlTypes/SqlMoney.cs:
391 * System.Data.SqlTypes/SqlSingle.cs: new stubs, contributed
392 by Tim Coleman <tcoleman@opentext.com>
394 * System.Data.build: excluded newly-added files.
396 2002-05-02 Daniel Morgan <danmorg@sc.rr.com>
398 * System.Data.SqlClient/PostgresLibrary.cs: included new
399 internal class that will be a helper class in using
400 PostgreSQL. PostgresLibrary is used for the
401 pinvoke methods to the PostgreSQL Client
402 native C library libpq while the class PostgresHelper
403 is used for wrapper or helper methods. It currently only
404 has one static method OidTypeToSystem in converting
405 PostgreSQL types to .NET System.<type>s, such as,
406 a PostgreSQL int8 becomes a .NET System.Int64.
407 Only a few types have been added, such as, int2,
408 int4, int8, varchar, text, bool, and char. Other types
411 * System.Data.SqlClient/SqlCommand.cs: implemented
412 method ExecuteScalar which allows us to do aggregate
413 functions, such as, count, avg, min, max, and sum. We
414 also are able to retrieve the result, convert it to the .NET type
415 as an object. The user of the returned object must explicitly cast.
417 * Test/ReadPostgresData.cs: updated sample
418 to help us learn to retrieve data in System.Data.SqlClient
421 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
423 * System.Data.build: added /nowarn: nnnn arguments
424 so you will not get a ton of warnings. The warnings
425 being excluded are: 1595, 0067, 0109, 0169, and 0649
427 2002-05-01 Daniel Morgan <danmorg@sc.rr.com>
429 * System.Data.build: modified to exclude more
432 2002-05-01 Rodrigo Moya <rodrigo@ximian.com>
434 * System.Data.SqlClient/SqlClientPermission.cs: added missing
437 * System.Data/MergeFailedEventArgs.cs: new class, contributed
438 by John Dugaw <jdugaw@unizenconsulting.com>.
440 * System.Data.build: excluded new files from build.
442 2002-04-29 Daniel Morgan <danmorg@sc.rr.com>
444 * Test/ReadPostgresData.cs: added - Uses the
445 PostgresLibrary to retrieve a recordset.
446 This is not meant to be used in Production, but as a
447 learning aid in coding
448 class System.Data.SqlClient.SqlDataReader.
449 This sample does work.
451 * Test/TestSqlDataReader.cs: added - used
452 to test SqlDataReader (does not work yet)
453 Forgot to add to ChangeLog on last commit.
455 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
457 * System.Data/DataViewSetting.cs: new class.
459 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
461 * System.Data/DataViewManager.cs: new class.
463 * System.Data.SqlTypes/INullable.cs: properties for interfaces
464 don't have implementation.
466 * System.Data.SqlTypes/SqlInt32.cs:
467 * System.Data.SqlTypes/SqlString.cs:
468 * System.Data.SqlTypes/SqlBoolean.cs: removed destructor, since
471 * System.Data.SqlClient/SqlClientPermissionAttribute.cs: added
474 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
476 * System.Data/DataTableRelationCollection.cs: use 'new' keyword
477 for correctly hiding parent class' members.
478 (AddRange): use 'override' keyword on overriden method.
480 (Contains): likewise.
482 (OnCollectionChanged): likewise.
483 (OnCollectionChanging): likewise.
484 (RemoveCore): likewise.
486 * System.Data/DataColumnCollection.cs: use 'new' keyword.
488 * System.Data/DataSet.cs: added missing 'using's.
490 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
492 * System.Data/DataSet.cs:
493 * System.Data/DataTableCollection.cs:
494 * System.Data/DataView.cs: compilation fixes on Linux.
496 2002-04-28 Daniel Morgan <danmorg@sc.rr.com>
498 * System.Data/DataRelation.cs
499 * System.Data/ForeignKeyConstraint.cs
500 * System.Data/UniqueConstraint.cs: added more stubs
502 * System.Data/DataTableRelationCollection.cs: added back to cvs
503 and modified for compile errors. DataRelationCollection is an
504 abstract class and there must be a class that implements for
505 DataTable/DataSet. DataTableRelationCollection was changed
506 to an internal class.
508 * System.Data.build: modified - new files added
509 also wanted to include files/classes in the build
510 so we can get a compilable forward read only result set.
511 It compiles now using csc/nant with warnings, but this
512 is a start for adding functionality for the result set.
513 Classes associated with/and DataSet are still excluded.
515 * TODO: modified - updated to do list for System.Data
517 * System.Data/Constraint.cs
518 * System.Data/ConstraintCollection.cs
519 * System.Data/DataRelationCollection.cs
520 * System.Data/DataRow.cs
521 * System.Data/DataRowChangeEventArgs.cs
522 * System.Data/DataRowCollection.cs
523 * System.Data/DataTable.cs
524 * System.Data/DataTableCollection.cs
525 * System.Data/InternalDataCollectionBase.cs
526 * System.Data/PropertyCollection.cs: modified -
527 changes to compile SqlDataReader/DataTable and
530 * System.Data/IDbCommand.cs
531 * System.Data.SqlClient/SqlCommand.cs: modified -
532 un-commented overloaded methods ExecuteReader
533 which returns a SqlDataReader
535 2002-04-28 Rodrigo Moya <rodrigo@ximian.com>
537 * System.Data/DataTableCollection.cs: more implementation.
538 (Count): added 'override' keyword, as pointer out by Martin.
540 * System.Data.Common/DataColumnMappingCollection.cs (Add, AddRange):
541 only call Array.Copy when there is really stuff to be copied.
542 (CopyTo): don't create the temporary array, it's not needed.
544 * System.Data.build: excluded newly added file from build.
546 2002-04-27 Rodrigo Moya <rodrigo@ximian.com>
548 * System.Data/DataTableRelationCollection.cs: removed, it's not
549 on MS SDK documentation.
551 * System.Data/DataTableCollection.cs: new class.
553 2002-04-27 Daniel Morgan <danmorg@sc.rr.com>
555 * System.Data/DataRowChangeEventArgs.cs
556 * System.Data/DataRowCollection.cs
557 * System.Data/DataView.cs
558 * System.Data/PropertyCollection.cs: added new stubs
560 * System.Data.build: modified - added new files to exclude
563 * TODO: modified - removed files from TODO list
564 that were stubbed above
566 * System.Data/DataColumn.cs
567 * System.Data/DataRow.cs: modified - various tweaks
568 and added internal method SetTable to set the reference
571 * System.Data/DataSet.cs: modified - class was not
574 * System.Data/DataTable.cs: modified - temporarily commented
575 DataSet and DataView references - trying to compile a SqlDataReader,
576 DataTable, and dependencies for a forward read-only result set.
577 SqlDataAdapter, DataSet, and DataView will come later once we can get
578 a forward read only result set working.
580 * System.Data/IDataRecord.cs: modified - source code lines should
583 * System.Data/InternalDataCollectionBase.cs: modified - started
584 implementing this base class for collection of data rows,
585 columns, tables, relations, and constraints
587 * System.Data.SqlClient/SqlException.cs: modified -
588 call base(message) so a unhandled exception displays
589 the message of a SQL error instead of the
590 default SystemException message
592 * Test/TestSqlException.cs: modified -
593 handle the rollback properly for a SqlException on a
596 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
598 * System.Data.build: modified - added new
599 files to exclude from build
601 * System.Data/Constraint.cs
602 * System.Data/ConstraintCollection.cs
603 * System.Data/InternalDataCollectionBase.cs: added -
604 stubs which are needed to build DataTable.cs
606 * TODO: modified - added more classes TODO and
607 added more stuff TODO, such as, create script
608 to create test database monotestdb for testing
609 classes in System.Data
611 2002-04-23 Rodrigo Moya <rodrigo@ximian.com>
613 * System.Data.Common/DataAdapter.cs:
614 * System.Data.Common/DataColumnMappingCollection.cs:
615 * System.Data.Common/DataTableMappingCollection.cs:
616 * System.Data.Common/DbDataPermission.cs:
617 * System.Data.Common/DbDataPermissionAttribute.cs: some
618 compilation errors fixed.
620 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
622 * TODO: modified - added classes TODO, and
623 a poor attempt at System.Data plan
625 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
627 * ChangeLog: modified - put tabs where they belong
629 * System.Data.SqlClient/SqlDataReader.cs
630 * System.Data/DataColumn.cs: modified - compile errors
631 trying to compile SqlDataAdapter and dependencies
633 2002-04-23 Daniel Morgan <danmorg@sc.rr.com>
635 * System.Data.SqlTypes/SqlBoolean.cs
636 * System.Data.SqlTypes/SqlCompareOptions.cs
637 * System.Data.SqlTypes/SqlInt32.cs
638 * System.Data.SqlTypes/SqlString.cs: added - new stubs
640 * System.Data/DataTable.cs
641 * System.Data.SqlClient/SqlCommand.cs
642 * System.Data.SqlClient/SqlConnection.cs
643 * System.Data.SqlClient/SqlError.cs
644 * System.Data.SqlClient/SqlTransaction.cs: modified -
647 * System.Data.SqlClient/SqlException.cs: modified -
648 missing Message on indexer for Message property
650 2002-04-21 Daniel Morgan <danmorg@sc.rr.com>
652 * System.Data.SqlClient/SqlCommand.cs: modified - to
653 compile using mcs. This problem is
654 returning a stronger type in csc vs. msc
656 * System.Data.SqlClient/SqlConnection.cs: modified - msc
657 can not do a using PGconn = IntPtr; and then declare
658 with PGconn pgConn = IntPtr.Zero;
659 Thiw works under csc though. Had to comment using and
660 changed declaration to IntPtr pgConn = IntPtr.Zero;
661 Also, got rid of compile warnings for hostaddr and port.
663 * System.Data.SqlClient/SqlErrorCollection.cs: modified - got
664 rid of compile warnings. Commented MonoTODO attribute because mcs
665 doesn't seem to work with C# array property indexer (Item)
668 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
669 commented MonoTODO attribute for indexer for mcs compiling
671 * Test/TestSqlIsolationLevel.cs:
672 * Test/TestSqlInsert.cs:
673 * Test/TestSqlException.cs: modified -
674 removed extra ExecuteNonQuery which caused two inserted rows
676 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
678 * System.Data/StateChangeEventArgs.cs - added
679 needed to compile System.Data.dll with mcs.
681 2002-04-20 Daniel Morgan <danmorg@sc.rr.com>
683 * System.Data.OleDb: added directory - for OleDb database
686 * System.Data.SqlClient/SqlClientPermission.cs
687 * System.Data.SqlClient/SqlClientPermissionAttribute.cs
688 * System.Data.SqlClient/SqlCommandBuilder.cs
689 * System.Data.SqlClient/SqlInfoMessageEventHandler.cs
690 * System.Data.SqlClient/SqlRowUpdatedEventArgs.cs
691 * System.Data.SqlClient/SqlRowUpdatedEventHandler.cs
692 * System.Data.SqlClient/SqlRowUpdatingEventArgs.cs
693 * System.Data.SqlClient/SqlRowUpdatingEventHandler.cs
694 * Test/TestSqlException.cs
695 * Test/TestSqlIsolationLevel.cs: added - more tests
697 * System.Data.build: modified - added new files - excludes these too
699 * System.Data.SqlClient/PostgresLibrary.cs - modified - comment
701 * System.Data.SqlClient/SqlConnection.cs
702 * System.Data.SqlClient/SqlCommand.cs
703 * System.Data.SqlClient/SqlTransaction.cs
704 * System.Data.SqlClient/SqlException.cs
705 * System.Data.SqlClient/SqlErrorCollection.cs
706 * System.Data.SqlClient/SqlError.cs: modified - transaction and
707 exception/error handling. SqlConnection(connectionString)
708 constructor should not automatically connect.
710 * System.Data.SqlClient/SqlDataReader.cs
711 * System.Data.SqlClient/SqlDataAdapter.cs
712 * System.Data.SqlClient/SqlParameter.cs
713 * System.Data.SqlClient/SqlParameterCollection.cs: modified -
714 added using System.ComponentModel;
716 * Test/TestSqlInsert.cs: modified - to use transaction
718 2002-04-17 Rodrigo Moya <rodrigo@ximian.com>
720 * System.Data/DataRow.cs: new skeletons.
722 * System.Data.Common/DataAdapter.cs:
723 * System.Data.Common/DataColumnMapping.cs:
724 * System.Data.Common/DataColumnMappingCollection.cs:
725 * System.Data.Common/DataTableMapping.cs:
726 * System.Data.Common/DataTableMappingCollection.cs:
727 * System.Data.Common/DbDataAdapter.cs:
728 * System.Data.Common/RowUpdatedEventArgs.cs:
729 * System.Data.SqlClient/SqlDataAdapter.cs:
730 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: compilation
733 * System.Data.Common/DbDataRecord.cs:
734 * System.Data.Common/DbEnumerator.cs: removed MS implementation
737 2002-04-17 Daniel Morgan <danmorg@sc.rr.com>
739 * Test/TestSqlInsert.cs: modified - do
740 a SQL DELETE before SQL INSERT of row so you can use this
743 * System.Data.SqlClient/SqlTransaction.cs: modified - default
744 IsolationLevel for PostgreSQL is ReadCommitted. However,
745 PostgreSQL allows Serializable as well.
746 (Thanks to Gonzalo for that!)
748 * System.Data.SqlClient/SqlConnection.cs: modified
749 * System.Data.SqlClient/SqlCommand.cs: modified
750 * System.Data.SqlClient/SqlTransaction.cs: modified - got transactions
751 working; however, we still need to implement SQL errors
752 and exceptions to properly handle transactions. Also, added
753 status and error message support from the PostgreSQL database.
754 Currently, this does a Console.WriteLine() to display the
755 status and error messages, but this is a TODO
756 for SQL errors and exceptions.
758 * System.Data/TODOAttribute.cs: added - needed MonoTODO
759 attribute for System.Data.dll assembly
761 * System.Data/IDbCommand.cs: modified - commented
762 overloaded method ExecuteReader
763 so System.Data.SqlClient.SqlCommand can compile
765 * System.Data/IDbCommand.cs: modified
766 * System.Data/IDbConnection.cs: modified - added using System;
767 * System.Data/IDataParameter.cs
769 * System.Data.build: modified - build classes
770 in System.Data.SqlClient and exclude others in System.Data
772 * System.Data.SqlClient/PostgresLibrary.cs: modified - change
773 parameter data type from IntPtr to enum ExecStatusType
775 * ChangeLog: modified - corrected previous entries in log
777 2002-04-16 Rodrigo Moya <rodrigo@ximian.com>
779 * System.Data.Common/DataColumnMappingCollection.cs: added basic
780 implementation. Still missing some stuff.
782 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
784 * System.Data.SqlClient/SqlConnection.cs: modified - got
785 to compile, run, and connect to PostgreSQL database
787 * System.Data.SqlClient/SqlCommand.cs: modified - got
788 to compile, run, and execute a SQL INSERT command
789 which successfully inserted a row
790 into the PostgreSQL database
792 * System.Data.SqlClient/SqlTransaction.cs: modified
793 * System.Data.SqlClient/SqlParameter.cs: modified
794 * System.Data.SqlClient/SqlParameterCollection.cs: modified
795 * System.Data.SqlClient/SqlError.cs: modified
796 * System.Data.SqlClient/SqlErrorCollection.cs: modified
797 * System.Data.SqlClient/SqlException.cs: modified
798 * System.Data.SqlClient/PostgresLibrary.cs: modified - to compile
800 * System.Data.SqlClient/SqlAdapter: modified
801 * System.Data.SqlClient/SqlReader: modified - add more stubs
803 2002-04-16 Daniel Morgan <danmorg@sc.rr.com>
805 * Test/TestSqlInsert.cs: added
807 2002-04-15 Daniel Morgan <danmorg@sc.rr.com>
809 * System.Data.SqlClient/SqlInfoMessageEventArgs.cs: added - using in
811 * System.Data.SqlClient/SqlErrorCollection.cs: added
812 * System.Data.SqlClient/SqlErrors.cs: removed - no such class SqlErrors
814 2002-04-15 Christopher Podurgiel <cpodurgiel@msn.com>
816 * System.Data.IDbDataParameter: Added Interface to IDataParameter.
817 * System.Data.IDbTransaction: Added Interface to IDisposable.
818 * System.Data.IDbCommand: Fixed Capitalization of class name.
819 * System.Data.IDbConnection: Fixed Capitalization of class name.
821 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
823 * System.Data.Common/DbDataPermissionAttribute.cs:
824 * System.Data.Common/DataAdapter.cs:
825 * System.Data.Common/DataColumnMapping.cs:
826 * System.Data.Common/DbDataPermission.cs: added some implementation.
828 2002-04-15 Rodrigo Moya <rodrigo@ximian.com>
830 * System.Data.SqlClient/SqlConnection.cs: fixed constructor chaining
831 syntax, as pointed out by Levent Camlibel.
833 2002-04-14 Rodrigo Moya <rodrigo@ximian.com>
835 * System.Data.SqlTypes/SqlBinary.cs:
836 * System.Data.SqlTypes/INullable.cs: new skeletons.
838 2002-04-14 Daniel Morgan <danmorg@sc.rr.com>
840 * System.Data.SqlClient/PostgresLibrary.cs: new internal class, which
841 contains all calls the the PostgreSQL client library, to be used
842 everywhere in System.Data.SqlClient.
844 2002-03-30 Rodrigo Moya <rodrigo@ximian.com>
846 * System.Data.SqlClient/SqlConnection.cs: implemented basic
849 * System.Data.SqlTypes/SqlNullValueException.cs: new skeletons.
851 2002-03-29 Rodrigo Moya <rodrigo@ximian.com>
853 * System.Data.Common/DbDataRecord.cs:
854 * System.Data.Common/DbEnumerator.cs:
855 * System.Data.Common/RowUpdatedEventArgs.cs:
856 * System.Data.Common/RowUpdatingEventArgs.cs:
857 * System.Data.Common/DbDataPermissionAttribute.cs: new skeletons.
859 2002-03-28 Rodrigo Moya <rodrigo@ximian.com>
861 * System.Data.Common/DataTableMappingCollection.cs:
862 * System.Data.Common/DbDataAdapter.cs:
863 * System.Data.Common/DbDataPermission.cs:
864 * System.Data.Common/DataTableMapping.cs: new skeletons.
866 * System.Data.SqlClient/SqlDataAdapter.cs:
867 * System.Data.SqlClient/SqlDataReader.cs:
868 * System.Data.SqlClient/SqlErrors.cs:
869 * System.Data.SqlClient/SqlError.cs:
870 * System.Data.SqlClient/SqlException.cs:
871 * System.Data.SqlClient/SqlParameter.cs:
872 * System.Data.SqlClient/SqlParameterCollection.cs:
873 * System.Data.SqlClient/SqlTransaction.cs:
874 * System.Data.SqlClient/SqlCommand.cs: fixed skeletons.
876 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
878 * System.Data.Common/DataColumnMapping.cs:
879 * System.Data.Common/DataColumnMappingCollection.cs:
880 * System.Data.Common/DataAdapter.cs: created skeletons.
882 * System.Data.build: exclude new directories from build.
884 2002-03-27 Rodrigo Moya <rodrigo@ximian.com>
886 * System.Data.SqlClient/SqlTransaction.cs: started implementation.
888 * System.Data.SqlClient/SqlConnection.cs (BeginTransaction):
889 implemented (2 methods).
891 2002-03-24 Duncan Mak <duncan@ximian.com>
893 * System.Data.build: Excluded System.Data.SqlClient from the build.
894 The stubs are incomplete and they are stopping the build.
896 * System.Data.SqlClient/SqlCommand.cs: Replaced 'implements' with ':'.
898 2002-03-24 Rodrigo Moya <rodrigo@ximian.com>
900 * System.Data.SqlClient/*: added skeletons for the SQL managed
901 provider for ADO.Net, to be based initially in PostgreSQL.
903 2002-03-15 Christopher Podurgiel <cpodurgiel@msn.com>
905 Changed the Namespace on some Enums from mono.System.Data to System.Data
907 2002-03-01 Christopher Podurgiel <cpodurgiel@msn.com>
909 * DataColumnCollection.cs : When an existing DataColumn is added, will now Assign a
910 default name if the ColumnName is null.
912 * DataTable.cs : Added
913 * DataRelationCollection.cs : Added
914 * DataTableRelationCollection.cs : Added
917 2002-02-11 Christopher Podurgiel <cpodurgiel@msn.com>
919 * DataColumnChangeEventArgs.cs : Added
920 * DataColumnCollection.cs : Added
922 2002-02-10 Christopher Podurgiel <cpodurgiel@msn.com>
924 * Removed *.cs from System.Data as the correct files are in mcs/class/System.Data/System.Data
925 * Updated all Enums, Interfaces, and Delegates in System.Data