C# Класс System.Data.Common.DbDataAdapter.DbDataAdapter

Наследование: DataAdapter, ICloneable
Показать файл Открыть проект

Private Properties

Свойство Тип Описание
CreateMethodNotSupportedException System.Exception
Fill int
Fill int
FillFromReader int
FillFromReader int
GetFillParameters IDataParameter[]
ICloneable object
OnFillErrorInternal void
Update int

Открытые методы

Метод Описание
Fill ( DataSet dataSet ) : int
Fill ( DataSet dataSet, int startRecord, int maxRecords, string srcTable ) : int
Fill ( DataSet dataSet, string srcTable ) : int
Fill ( DataTable dataTable ) : int
FillSchema ( DataTable dataTable, SchemaType schemaType ) : DataTable
FillSchema ( DataSet dataSet, SchemaType schemaType ) : System.Data.DataTable[]
FillSchema ( DataSet dataSet, SchemaType schemaType, string srcTable ) : System.Data.DataTable[]
Update ( DataRow dataRows ) : int
Update ( DataSet dataSet ) : int
Update ( DataSet dataSet, string srcTable ) : int
Update ( DataTable dataTable ) : int

Защищенные методы

Метод Описание
AddToBatch ( IDbCommand command ) : int
ClearBatch ( ) : void
CreateRowUpdatedEvent ( DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping ) : RowUpdatedEventArgs
CreateRowUpdatingEvent ( DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping ) : RowUpdatingEventArgs
DbDataAdapter ( ) : System
DbDataAdapter ( DbDataAdapter adapter ) : System
Dispose ( bool disposing ) : void
ExecuteBatch ( ) : int
Fill ( DataSet dataSet, int startRecord, int maxRecords, string srcTable, IDbCommand command, CommandBehavior behavior ) : int
Fill ( DataSet dataSet, string srcTable, IDataReader dataReader, int startRecord, int maxRecords ) : int
Fill ( DataTable dataTable, IDataReader dataReader ) : int
Fill ( DataTable dataTable, IDbCommand command, CommandBehavior behavior ) : int
FillSchema ( DataTable dataTable, SchemaType schemaType, IDbCommand command, CommandBehavior behavior ) : DataTable
FillSchema ( DataSet dataSet, SchemaType schemaType, IDbCommand command, string srcTable, CommandBehavior behavior ) : System.Data.DataTable[]
GetBatchedParameter ( int commandIdentifier, int parameterIndex ) : IDataParameter
GetBatchedRecordsAffected ( int commandIdentifier, int &recordsAffected, Exception &error ) : bool
InitializeBatching ( ) : void
OnFillError ( FillErrorEventArgs value ) : void
OnRowUpdated ( RowUpdatedEventArgs value ) : void
OnRowUpdating ( RowUpdatingEventArgs value ) : void
TerminateBatching ( ) : void
Update ( DataRow dataRows, DataTableMapping tableMapping ) : int

Приватные методы

Метод Описание
CreateMethodNotSupportedException ( ) : Exception
Fill ( DataTable dataTables, int startRecord, int maxRecords, IDbCommand command, CommandBehavior behavior ) : int
Fill ( int startRecord, int maxRecords ) : int
FillFromReader ( DataTable table, IDataReader reader, int start, int length, int mapping, LoadOption loadOption ) : int

Fills the given datatable using values from reader. if a value for a column is null, that will be filled with default value.

FillFromReader ( DataTable table, IDataReader reader, int start, int length, int mapping, LoadOption loadOption, FillErrorEventHandler errorHandler ) : int
GetFillParameters ( ) : IDataParameter[]
ICloneable ( ) : object
OnFillErrorInternal ( FillErrorEventArgs value ) : void
Update ( DataTable dataTable, DataTableMapping tableMapping ) : int

Описание методов

AddToBatch() защищенный Метод

protected AddToBatch ( IDbCommand command ) : int
command IDbCommand
Результат int

ClearBatch() защищенный Метод

protected ClearBatch ( ) : void
Результат void

CreateRowUpdatedEvent() защищенный Метод

protected CreateRowUpdatedEvent ( DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping ) : RowUpdatedEventArgs
dataRow System.Data.DataRow
command IDbCommand
statementType StatementType
tableMapping DataTableMapping
Результат RowUpdatedEventArgs

CreateRowUpdatingEvent() защищенный Метод

protected CreateRowUpdatingEvent ( DataRow dataRow, IDbCommand command, StatementType statementType, DataTableMapping tableMapping ) : RowUpdatingEventArgs
dataRow System.Data.DataRow
command IDbCommand
statementType StatementType
tableMapping DataTableMapping
Результат RowUpdatingEventArgs

DbDataAdapter() защищенный Метод

protected DbDataAdapter ( ) : System
Результат System

DbDataAdapter() защищенный Метод

protected DbDataAdapter ( DbDataAdapter adapter ) : System
adapter DbDataAdapter
Результат System

Dispose() защищенный Метод

protected Dispose ( bool disposing ) : void
disposing bool
Результат void

ExecuteBatch() защищенный Метод

protected ExecuteBatch ( ) : int
Результат int

Fill() публичный Метод

public Fill ( DataSet dataSet ) : int
dataSet System.Data.DataSet
Результат int

Fill() публичный Метод

public Fill ( DataSet dataSet, int startRecord, int maxRecords, string srcTable ) : int
dataSet System.Data.DataSet
startRecord int
maxRecords int
srcTable string
Результат int

Fill() защищенный Метод

protected Fill ( DataSet dataSet, int startRecord, int maxRecords, string srcTable, IDbCommand command, CommandBehavior behavior ) : int
dataSet System.Data.DataSet
startRecord int
maxRecords int
srcTable string
command IDbCommand
behavior CommandBehavior
Результат int

Fill() публичный Метод

public Fill ( DataSet dataSet, string srcTable ) : int
dataSet System.Data.DataSet
srcTable string
Результат int

Fill() защищенный Метод

protected Fill ( DataSet dataSet, string srcTable, IDataReader dataReader, int startRecord, int maxRecords ) : int
dataSet System.Data.DataSet
srcTable string
dataReader IDataReader
startRecord int
maxRecords int
Результат int

Fill() публичный Метод

public Fill ( DataTable dataTable ) : int
dataTable System.Data.DataTable
Результат int

Fill() защищенный Метод

protected Fill ( DataTable dataTable, IDataReader dataReader ) : int
dataTable System.Data.DataTable
dataReader IDataReader
Результат int

Fill() защищенный Метод

protected Fill ( DataTable dataTable, IDbCommand command, CommandBehavior behavior ) : int
dataTable System.Data.DataTable
command IDbCommand
behavior CommandBehavior
Результат int

FillSchema() публичный Метод

public FillSchema ( DataTable dataTable, SchemaType schemaType ) : DataTable
dataTable System.Data.DataTable
schemaType SchemaType
Результат System.Data.DataTable

FillSchema() защищенный Метод

protected FillSchema ( DataTable dataTable, SchemaType schemaType, IDbCommand command, CommandBehavior behavior ) : DataTable
dataTable System.Data.DataTable
schemaType SchemaType
command IDbCommand
behavior CommandBehavior
Результат System.Data.DataTable

FillSchema() публичный Метод

public FillSchema ( DataSet dataSet, SchemaType schemaType ) : System.Data.DataTable[]
dataSet System.Data.DataSet
schemaType SchemaType
Результат System.Data.DataTable[]

FillSchema() защищенный Метод

protected FillSchema ( DataSet dataSet, SchemaType schemaType, IDbCommand command, string srcTable, CommandBehavior behavior ) : System.Data.DataTable[]
dataSet System.Data.DataSet
schemaType SchemaType
command IDbCommand
srcTable string
behavior CommandBehavior
Результат System.Data.DataTable[]

FillSchema() публичный Метод

public FillSchema ( DataSet dataSet, SchemaType schemaType, string srcTable ) : System.Data.DataTable[]
dataSet System.Data.DataSet
schemaType SchemaType
srcTable string
Результат System.Data.DataTable[]

GetBatchedParameter() защищенный Метод

protected GetBatchedParameter ( int commandIdentifier, int parameterIndex ) : IDataParameter
commandIdentifier int
parameterIndex int
Результат IDataParameter

GetBatchedRecordsAffected() защищенный Метод

protected GetBatchedRecordsAffected ( int commandIdentifier, int &recordsAffected, Exception &error ) : bool
commandIdentifier int
recordsAffected int
error System.Exception
Результат bool

InitializeBatching() защищенный Метод

protected InitializeBatching ( ) : void
Результат void

OnFillError() защищенный Метод

protected OnFillError ( FillErrorEventArgs value ) : void
value System.Data.FillErrorEventArgs
Результат void

OnRowUpdated() защищенный Метод

protected OnRowUpdated ( RowUpdatedEventArgs value ) : void
value RowUpdatedEventArgs
Результат void

OnRowUpdating() защищенный Метод

protected OnRowUpdating ( RowUpdatingEventArgs value ) : void
value RowUpdatingEventArgs
Результат void

TerminateBatching() защищенный Метод

protected TerminateBatching ( ) : void
Результат void

Update() публичный Метод

public Update ( DataRow dataRows ) : int
dataRows System.Data.DataRow
Результат int

Update() защищенный Метод

protected Update ( DataRow dataRows, DataTableMapping tableMapping ) : int
dataRows System.Data.DataRow
tableMapping DataTableMapping
Результат int

Update() публичный Метод

public Update ( DataSet dataSet ) : int
dataSet System.Data.DataSet
Результат int

Update() публичный Метод

public Update ( DataSet dataSet, string srcTable ) : int
dataSet System.Data.DataSet
srcTable string
Результат int

Update() публичный Метод

public Update ( DataTable dataTable ) : int
dataTable System.Data.DataTable
Результат int