System.Data.Common.DbDataAdapter
namespace System.Data.Common
{
public abstract class DbDataAdapter : DataAdapter, IDataAdapter, IDbDataAdapter, ICloneable
{
public const string DefaultSourceTableName = "Table";
public DbCommand DeleteCommand { get; set; }
public DbCommand InsertCommand { get; set; }
public DbCommand SelectCommand { get; set; }
public virtual int UpdateBatchSize { get; set; }
public DbCommand UpdateCommand { get; set; }
protected DbDataAdapter();
protected DbDataAdapter(DbDataAdapter adapter);
protected virtual int AddToBatch(IDbCommand command);
protected virtual void ClearBatch();
protected virtual RowUpdatedEventArgs CreateRowUpdatedEvent(DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping);
protected virtual RowUpdatingEventArgs CreateRowUpdatingEvent(DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping);
protected virtual int ExecuteBatch();
public int Fill(DataSet dataSet, int startRecord, int maxRecords, string srcTable);
protected virtual int Fill(DataSet dataSet, int startRecord, int maxRecords, string srcTable, IDbCommand command, CommandBehavior behavior);
public int Fill(DataSet dataSet, string srcTable);
public int Fill(DataTable dataTable);
protected virtual int Fill(DataTable dataTable, IDbCommand command, CommandBehavior behavior);
protected virtual int Fill(DataTable[] dataTables, int startRecord, int maxRecords, IDbCommand command, CommandBehavior behavior);
public int Fill(int startRecord, int maxRecords, params DataTable[] dataTables);
protected virtual DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType, IDbCommand command, string srcTable, CommandBehavior behavior);
public DataTable[] FillSchema(DataSet dataSet, SchemaType schemaType, string srcTable);
public DataTable FillSchema(DataTable dataTable, SchemaType schemaType);
protected virtual DataTable FillSchema(DataTable dataTable, SchemaType schemaType, IDbCommand command, CommandBehavior behavior);
protected virtual IDataParameter GetBatchedParameter(int commandIdentifier, int parameterIndex);
protected virtual bool GetBatchedRecordsAffected(int commandIdentifier, out int recordsAffected, out Exception error);
protected virtual void InitializeBatching();
protected virtual void OnRowUpdated(RowUpdatedEventArgs value);
protected virtual void OnRowUpdating(RowUpdatingEventArgs value);
protected virtual void TerminateBatching();
public int Update(DataRow[] dataRows);
protected virtual int Update(DataRow[] dataRows, DataTableMapping tableMapping);
public int Update(DataSet dataSet, string srcTable);
public int Update(DataTable dataTable);
}
}