* 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/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/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
* OleDbDataReader.cs (OleDbDataReader constructor): changed to receive
a second argument (ArrayList results).
(NextResult): implemented.
* OleDbCommand.cs: don't store the ArrayList of results, since we'll
pass that to the OleDbDataReader.
(OleDbCommand constructor): don't create the ArrayList of results.
(GdaResults): removed property.
(ExecuteReader): create a temporary ArrayList and pass that to the
OleDbDataReader constructor.
svn path=/trunk/mcs/; revision=6236