* OleDbDataReader.cs: Added a call to GC.SuppressFinalize in Dispose
method (and avoids calling the destructor if the object was disposed).
* OleDbTransaction.cs: Added a call to GC.SuppressFinalize in Dispose
method (even if we throw an NotImplementedException afterward). This
will remove warnings from gendarme.
svn path=/trunk/mcs/; revision=51228
* OleDbCommand.cs: Fixed custom attributes to match MS.NET.
* OleDbParameter.cs: Fixed custom attribute to match MS.NET.
* OleDbException.cs: Added ErrorTypeConverter, assigned to ErrorCode
property to match MS.NET.
* OleDbConnection.cs: Fixed custom attributes to match MS.NET.
svn path=/trunk/mcs/; revision=48142
* OleDbCommand.cs: Make it inherit from the correct base class in 2.0,
and added stubs for some interface methods.
svn path=/trunk/mcs/; revision=40771
* OleDbPermission.cs: Added internal constructor accepting an OleDb
PermissionAttribute parameter (using base class protected ctor).
Re-added the Provider property (removed by error).
* OleDbPermission.cs: Copy now use the new OleDbPermission
constructor. Re-added the Provider property (removed by error).
svn path=/trunk/mcs/; revision=33904
* System.Data.OleDb/OleDbDataAdapter.cs: cleaned up implementation,
based on the PgSql/SqlClient data adapter classes.
svn path=/trunk/mcs/; revision=8908
* System.Data.OleDb/OleDbDataAdapter.cs (Fill, FillSchema,
GetFillParameters, Update): added overloaded methods.
* System.Data.OleDb/OleDbCommand.cs:
* System.Data.OleDb/OleDbDataReader.cs:
* System.Data.OleDb/OleDbConnection.cs: removed limitation of one
data adapter at a time. Mono's version can open as many as you want,
for free.
svn path=/trunk/mcs/; revision=8616
* System.Data.OleDb/OleDbConnection.cs (Open): commented code from
last commit, which wasn't supposed to be in CVS yet.
svn path=/trunk/mcs/; revision=7924
* System.Data.OleDb/libgda.cs: adapted to changes in libgda (get_vtype
and get_type for GdaValue).
* System.Data.OleDb/OleDbDataReader.cs: adapted to changes in
libgda.cs.
svn path=/trunk/mcs/; revision=6870
* System.Data.OleDb/OleDbConnection.cs (DataReader): new internal
property.
(Close): set the dataReader to null.
* System.Data.OleDb/OleDbDataReader.cs (OleDbDataReader): set the
connection's DataReader property to this object.
(Close): set it to null here.
(Depth, IsDbNull): implemented.
(this): implemented the Item property with a string indexer.
* System.Data.OleDb/OleDbCommand.cs (ExecuteNonQuery, ExecuteReader,
ExecuteScalar): do nothing if there's already an open data reader.
* System.Data.OleDb/libgda.cs: more API functions.
* System.Data.OleDb/TestOleDb.cs (TestDataReader): close the data
reader before continuing.
svn path=/trunk/mcs/; revision=6847
* System.Data.OleDb/OleDbDataReader.cs (Close): clear the results
ArrayList after releasing the items.
(GetName, GetDateTime, GetDouble, GetSingle, GetInt16, GetInt32,
GetOrdinal, GetString): implemented.
(GetDataTypeName): made it get the type from the data model, not from
the current value, which could not have been retrieved yet.
(GetValue): call the Get* method corresponding with the data type of
the requested column.
* System.Data.OleDb/libgda.cs: added more libgda functions.
(GdaTimestamp, GdaDate, GdaTime): new marshalled structures.
* System.Data.OleDb/TestOleDb.cs (TestDateReader): display column
titles via OleDbDataReader.GetName ().
(TestOleDb): create temporary table with a date field.
(InsertRow): set current date for the date field.
svn path=/trunk/mcs/; revision=6722
* System.Data.OleDb/OleDbDataReader.cs (this[]): made it just call
GetValue, which will take care of all the work needed.
(Close): implemented basic stuff.
(~OleDbDataReader): implemented.
* System.Data.OleDb/libgda.cs: added more needed functions.
svn path=/trunk/mcs/; revision=6721
* System.Data.OleDb/TestOleDb.cs: made it work with a temporary table
we create.
(TestTransaction): added test for transactions.
svn path=/trunk/mcs/; revision=6688