* 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/TestOleDb.cs: made it work with a temporary table
we create.
(TestTransaction): added test for transactions.
svn path=/trunk/mcs/; revision=6688
* System.Data.OleDb/libgda.cs: added new needed libgda functions.
* System.Data.OleDb/OleDbDataReader.cs (GetBoolean): throw exceptions
when there are errors.
(GetByte, GetChar, GetDataTypeName, GetValue, Read): implemented.
* System.Data.OleDb/TestOleDb.cs: added more testing code for data
readers.
svn path=/trunk/mcs/; revision=6662
* System.Data.OleDb/libgda.cs: added some GdaValue functions.
* System.Data.OleDb/OleDbCommand.cs (OpenReader): removed this
internal method, since we don't need it.
(ExecuteReader): call SetupGdaCommand before executing the command
via libgda functions.
(ExecuteScalar): implemented.
* System.Data.OleDb/OleDbDateReader.cs (OleDbDataReader): removed call
to OleDbCommand.OpenReader.
(GetBoolean): implemented.
svn path=/trunk/mcs/; revision=6597
* libgda.cs: added new libgda API functions.
* OleDbConnection.cs (Provider): implemented.
(BeginTransaction): made it overload IDbConnection methods.
(ChangeDatabase): new stub, needs some work on libgda for being
implemented.
(Clone): new stub.
(Close): implemented.
(CreateCommand): implemented.
(GetOleDbSchemaTable): new stub, until I understand what to do here.
(Open): implemented basic stuff, which is just supporting connection
strings that represent a GDA data source name. More to come.
(InfoMessage, StateChange): added events.
* TestOleDb.cs: test program for System.Data.OleDb.
svn path=/trunk/mcs/; revision=5081