Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRodrigo Moya <rodrigo@mono-cvs.ximian.com>2002-11-10 04:17:38 +0300
committerRodrigo Moya <rodrigo@mono-cvs.ximian.com>2002-11-10 04:17:38 +0300
commit3430bfbe804142d7328a75bf07ca32bff4db9135 (patch)
tree09554c5350dbbc8ab23df1a725341ed4369b3080 /mcs/class/System.Data/System.Data.OleDb
parenta4d4fbd2f9b04728df77048b30928de362056988 (diff)
2002-11-09 Rodrigo Moya <rodrigo@ximian.com>
* System.Data.OleDb/OleDbDataAdapter.cs: cleaned up implementation, based on the PgSql/SqlClient data adapter classes. svn path=/trunk/mcs/; revision=8908
Diffstat (limited to 'mcs/class/System.Data/System.Data.OleDb')
-rw-r--r--mcs/class/System.Data/System.Data.OleDb/OleDbDataAdapter.cs110
1 files changed, 12 insertions, 98 deletions
diff --git a/mcs/class/System.Data/System.Data.OleDb/OleDbDataAdapter.cs b/mcs/class/System.Data/System.Data.OleDb/OleDbDataAdapter.cs
index dfd3057c5bc..cdd50d1f847 100644
--- a/mcs/class/System.Data/System.Data.OleDb/OleDbDataAdapter.cs
+++ b/mcs/class/System.Data/System.Data.OleDb/OleDbDataAdapter.cs
@@ -169,123 +169,37 @@ namespace System.Data.OleDb
#region Methods
- public int Fill (DataTable dataTable, object ADODBRecordSet)
- {
- throw new NotImplementedException ();
- }
-
- public int Fill (DataSet dataSet, object ADODBRecordSet, string srcTable)
- {
- throw new NotImplementedException ();
- }
-
- public override int Fill (DataSet dataSet)
- {
- throw new NotImplementedException ();
- }
-
- protected override int Fill (DataTable dataTable, IDataReader dataReader)
- {
- throw new NotImplementedException ();
- }
-
- protected override int Fill (DataTable dataTable,
- IDbCommand command,
- CommandBehavior behavior)
- {
- throw new NotImplementedException ();
- }
-
- protected override int Fill (DataSet dataSet,
- string srcTable,
- IDataReader dataReader,
- int startRecord,
- int maxRecords)
- {
- throw new NotImplementedException ();
- }
-
- protected override int Fill (DataSet dataSet,
- int startRecord,
- int maxRecords,
- string srcTable,
- IDbCommand command,
- CommandBehavior behavior)
- {
- throw new NotImplementedException ();
- }
-
- public override DataTable[] FillSchema (DataSet dataSet,
- SchemaType schemaType)
- {
- throw new NotImplementedException ();
- }
-
- protected override DataTable FillSchema (DataTable dataTable,
- SchemaType schemaType,
- IDbCommand command,
- CommandBehavior behavior)
- {
- throw new NotImplementedException ();
- }
-
- protected override DataTable[] FillSchema (DataSet dataSet,
- SchemaType schemaType,
- IDbCommand command,
- string srcTable,
- CommandBehavior behavior)
- {
- throw new NotImplementedException ();
- }
-
protected override RowUpdatedEventArgs CreateRowUpdatedEvent (DataRow dataRow,
IDbCommand command,
StatementType statementType,
- DataTableMapping tableMapping)
+ DataTableMapping tableMapping)
{
- return new OleDbRowUpdatedEventArgs (dataRow, command,
- statementType, tableMapping);
+ return new OleDbRowUpdatedEventArgs (dataRow, command, statementType, tableMapping);
}
+
protected override RowUpdatingEventArgs CreateRowUpdatingEvent (DataRow dataRow,
IDbCommand command,
StatementType statementType,
- DataTableMapping tableMapping)
+ DataTableMapping tableMapping)
{
- return new OleDbRowUpdatingEventArgs (dataRow, command,
- statementType, tableMapping);
+ return new OleDbRowUpdatingEventArgs (dataRow, command, statementType, tableMapping);
}
- public override IDataParameter[] GetFillParameters ()
+ protected override void OnRowUpdated (RowUpdatedEventArgs value)
{
- throw new NotImplementedException ();
- }
-
- protected override void OnRowUpdated (RowUpdatedEventArgs value)
- {
- OleDbRowUpdatedEventHandler handler = (OleDbRowUpdatedEventHandler) Events[EventRowUpdated];
+ OleDbRowUpdatedEventHandler handler = (OleDbRowUpdatedEventHandler) Events[EventRowUpdated];
if ((handler != null) && (value is OleDbRowUpdatedEventArgs))
- handler (this, (OleDbRowUpdatedEventArgs) value);
+ handler (this, (OleDbRowUpdatedEventArgs) value);
}
- protected override void OnRowUpdating (RowUpdatingEventArgs value)
+ protected override void OnRowUpdating (RowUpdatingEventArgs value)
{
- OleDbRowUpdatingEventHandler handler = (OleDbRowUpdatingEventHandler) Events[EventRowUpdated];
+ OleDbRowUpdatingEventHandler handler = (OleDbRowUpdatingEventHandler) Events[EventRowUpdating];
if ((handler != null) && (value is OleDbRowUpdatingEventArgs))
- handler (this, (OleDbRowUpdatingEventArgs) value);
- }
-
- public override int Update (DataSet dataSet)
- {
- throw new NotImplementedException ();
+ handler (this, (OleDbRowUpdatingEventArgs) value);
}
-
- protected override int Update (DataRow[] dataRows,
- DataTableMapping tableMapping)
- {
- throw new NotImplementedException ();
- }
-
+
#endregion // Methods
#region Events and Delegates