diff options
author | Daniel Morgan <monodanmorg@yahoo.com> | 2002-04-28 07:59:01 +0400 |
---|---|---|
committer | Daniel Morgan <monodanmorg@yahoo.com> | 2002-04-28 07:59:01 +0400 |
commit | 2744f2972e4c4f4bda65c02b1b50ddc0862d2fdb (patch) | |
tree | cb5fe728e696367b61ab7001de7893c888400e09 /mcs/class/Mono.Data.PostgreSqlClient | |
parent | c853e1750ff6cf103c40d48c216fe71148a2887f (diff) |
2002-04-28 Daniel Morgan <danmorg@sc.rr.com>
* 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
Diffstat (limited to 'mcs/class/Mono.Data.PostgreSqlClient')
4 files changed, 4 insertions, 16 deletions
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 { |