C# 클래스 System.Data.Common.DbDataAdapter.DbDataAdapter

상속: DataAdapter, ICloneable
파일 보기 프로젝트 열기: runefs/Marvin

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