From 2744f2972e4c4f4bda65c02b1b50ddc0862d2fdb Mon Sep 17 00:00:00 2001 From: Daniel Morgan Date: Sun, 28 Apr 2002 03:59:01 +0000 Subject: 2002-04-28 Daniel Morgan * System.Data/DataRelation.cs * System.Data/ForeignKeyConstraint.cs * System.Data/UniqueConstraint.cs: added more stubs * System.Data/DataTableRelationCollection.cs: added back to cvs and modified for compile errors. DataRelationCollection is an abstract class and there must be a class that implements for DataTable/DataSet. DataTableRelationCollection was changed to an internal class. * System.Data.build: modified - new files added also wanted to include files/classes in the build so we can get a compilable forward read only result set. It compiles now using csc/nant with warnings, but this is a start for adding functionality for the result set. Classes associated with/and DataSet are still excluded. * TODO: modified - updated to do list for System.Data * System.Data/Constraint.cs * System.Data/ConstraintCollection.cs * System.Data/DataRelationCollection.cs * System.Data/DataRow.cs * System.Data/DataRowChangeEventArgs.cs * System.Data/DataRowCollection.cs * System.Data/DataTable.cs * System.Data/DataTableCollection.cs * System.Data/InternalDataCollectionBase.cs * System.Data/PropertyCollection.cs: modified - changes to compile SqlDataReader/DataTable and dependencies * System.Data/IDbCommand.cs * System.Data.SqlClient/SqlCommand.cs: modified - un-commented overloaded methods ExecuteReader which returns a SqlDataReader svn path=/trunk/mcs/; revision=4098 --- .../Mono.Data.PostgreSqlClient/PgSqlCommand.cs | 9 ++------- .../Mono.Data.PostgreSqlClient/PgSqlDataReader.cs | 1 - mcs/class/Mono.Data.PostgreSqlClient/PgSqlCommand.cs | 9 ++------- mcs/class/Mono.Data.PostgreSqlClient/PgSqlDataReader.cs | 1 - 4 files changed, 4 insertions(+), 16 deletions(-) (limited to 'mcs/class/Mono.Data.PostgreSqlClient') diff --git a/mcs/class/Mono.Data.PostgreSqlClient/Mono.Data.PostgreSqlClient/PgSqlCommand.cs b/mcs/class/Mono.Data.PostgreSqlClient/Mono.Data.PostgreSqlClient/PgSqlCommand.cs index 02151854f49..51fdc2d93e4 100644 --- a/mcs/class/Mono.Data.PostgreSqlClient/Mono.Data.PostgreSqlClient/PgSqlCommand.cs +++ b/mcs/class/Mono.Data.PostgreSqlClient/Mono.Data.PostgreSqlClient/PgSqlCommand.cs @@ -163,14 +163,10 @@ namespace System.Data.SqlClient return rowsAffected; } - // FIXME: temporarily commmented out, so I could get a simple working - // SqlConnection and SqlCommand. I had to temporarily - // comment it out the ExecuteReader in IDbCommand as well. - /* [MonoTODO] IDataReader IDbCommand.ExecuteReader () { - throw new NotImplementedException (); + return ExecuteReader (); } [MonoTODO] @@ -183,7 +179,7 @@ namespace System.Data.SqlClient IDataReader IDbCommand.ExecuteReader ( CommandBehavior behavior) { - throw new NotImplementedException (); + return ExecuteReader (behavior); } [MonoTODO] @@ -191,7 +187,6 @@ namespace System.Data.SqlClient { throw new NotImplementedException (); } - */ [MonoTODO] public object ExecuteScalar () diff --git a/mcs/class/Mono.Data.PostgreSqlClient/Mono.Data.PostgreSqlClient/PgSqlDataReader.cs b/mcs/class/Mono.Data.PostgreSqlClient/Mono.Data.PostgreSqlClient/PgSqlDataReader.cs index ca2409cd39b..5e3fb572db6 100644 --- a/mcs/class/Mono.Data.PostgreSqlClient/Mono.Data.PostgreSqlClient/PgSqlDataReader.cs +++ b/mcs/class/Mono.Data.PostgreSqlClient/Mono.Data.PostgreSqlClient/PgSqlDataReader.cs @@ -211,7 +211,6 @@ namespace System.Data.SqlClient #endregion // Destructors - #region Properties public int Depth { diff --git a/mcs/class/Mono.Data.PostgreSqlClient/PgSqlCommand.cs b/mcs/class/Mono.Data.PostgreSqlClient/PgSqlCommand.cs index 02151854f49..51fdc2d93e4 100644 --- a/mcs/class/Mono.Data.PostgreSqlClient/PgSqlCommand.cs +++ b/mcs/class/Mono.Data.PostgreSqlClient/PgSqlCommand.cs @@ -163,14 +163,10 @@ namespace System.Data.SqlClient return rowsAffected; } - // FIXME: temporarily commmented out, so I could get a simple working - // SqlConnection and SqlCommand. I had to temporarily - // comment it out the ExecuteReader in IDbCommand as well. - /* [MonoTODO] IDataReader IDbCommand.ExecuteReader () { - throw new NotImplementedException (); + return ExecuteReader (); } [MonoTODO] @@ -183,7 +179,7 @@ namespace System.Data.SqlClient IDataReader IDbCommand.ExecuteReader ( CommandBehavior behavior) { - throw new NotImplementedException (); + return ExecuteReader (behavior); } [MonoTODO] @@ -191,7 +187,6 @@ namespace System.Data.SqlClient { throw new NotImplementedException (); } - */ [MonoTODO] public object ExecuteScalar () diff --git a/mcs/class/Mono.Data.PostgreSqlClient/PgSqlDataReader.cs b/mcs/class/Mono.Data.PostgreSqlClient/PgSqlDataReader.cs index ca2409cd39b..5e3fb572db6 100644 --- a/mcs/class/Mono.Data.PostgreSqlClient/PgSqlDataReader.cs +++ b/mcs/class/Mono.Data.PostgreSqlClient/PgSqlDataReader.cs @@ -211,7 +211,6 @@ namespace System.Data.SqlClient #endregion // Destructors - #region Properties public int Depth { -- cgit v1.2.3