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

상속: DataAdapter, IDbDataAdapter, IDataAdapter, ICloneable
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CloneCommand IDbCommand
CloneFrom void
FillInternal int
FillSchemaInternal object
GetConnection1 IDbConnection
GetConnection3 IDbConnection
GetConnection4 IDbConnection
GetFillParameters IDataParameter[]
GetParameterSourceVersion DataRowVersion
GetTableMapping DataTableMapping
ICloneable object
ParameterInput void
ParameterOutput void
ParameterOutput void
QuietClose void
QuietOpen void
UpdateBatchExecute void
UpdateConnectionOpen ConnectionState
UpdateFromDataTable int
UpdateRowExecute void
UpdatedRowStatus int
UpdatedRowStatusContinue int
UpdatedRowStatusErrors int
UpdatedRowStatusSkip int
UpdatingRowStatusErrors void

공개 메소드들

메소드 설명
Fill ( DataSet dataSet ) : int
Fill ( DataSet dataSet, int startRecord, int maxRecords, string srcTable ) : int
Fill ( DataSet dataSet, string srcTable ) : int
Fill ( DataTable dataTable ) : int
Fill ( int startRecord, int maxRecords ) : 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.ComponentModel
DbDataAdapter ( DbDataAdapter adapter ) : System.ComponentModel
Dispose ( bool disposing ) : void
ExecuteBatch ( ) : int
Fill ( DataSet dataSet, int startRecord, int maxRecords, string srcTable, IDbCommand command, CommandBehavior behavior ) : int
Fill ( DataTable dataTable, IDbCommand command, CommandBehavior behavior ) : int
Fill ( DataTable dataTables, int startRecord, int maxRecords, 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
OnRowUpdated ( RowUpdatedEventArgs value ) : void
OnRowUpdating ( RowUpdatingEventArgs value ) : void
TerminateBatching ( ) : void
Update ( DataRow dataRows, DataTableMapping tableMapping ) : int

비공개 메소드들

메소드 설명
CloneCommand ( IDbCommand command ) : IDbCommand
CloneFrom ( DbDataAdapter from ) : void
FillInternal ( DataSet dataset, DataTable datatables, int startRecord, int maxRecords, string srcTable, IDbCommand command, CommandBehavior behavior ) : int
FillSchemaInternal ( DataSet dataset, DataTable datatable, SchemaType schemaType, IDbCommand command, string srcTable, CommandBehavior behavior ) : object
GetConnection1 ( DbDataAdapter adapter ) : IDbConnection
GetConnection3 ( DbDataAdapter adapter, IDbCommand command, string method ) : IDbConnection
GetConnection4 ( DbDataAdapter adapter, IDbCommand command, StatementType statementType, bool isCommandFromRowUpdating ) : IDbConnection
GetFillParameters ( ) : IDataParameter[]
GetParameterSourceVersion ( StatementType statementType, IDataParameter parameter ) : DataRowVersion
GetTableMapping ( DataTable dataTable ) : DataTableMapping
ICloneable ( ) : object
ParameterInput ( IDataParameterCollection parameters, StatementType typeIndex, DataRow row, DataTableMapping mappings ) : void
ParameterOutput ( IDataParameter parameter, DataRow row, DataTableMapping mappings, MissingMappingAction missingMapping, MissingSchemaAction missingSchema ) : void
ParameterOutput ( IDataParameterCollection parameters, DataRow row, DataTableMapping mappings ) : void
QuietClose ( IDbConnection connection, ConnectionState originalState ) : void
QuietOpen ( IDbConnection connection, ConnectionState &originalState ) : void
UpdateBatchExecute ( BatchCommandInfo batchCommands, int commandCount, RowUpdatedEventArgs rowUpdatedEvent ) : void
UpdateConnectionOpen ( IDbConnection connection, StatementType statementType, IDbConnection connections, ConnectionState connectionStates, bool useSelectConnectionState ) : ConnectionState
UpdateFromDataTable ( DataTable dataTable, DataTableMapping tableMapping ) : int
UpdateRowExecute ( RowUpdatedEventArgs rowUpdatedEvent, IDbCommand dataCommand, StatementType cmdIndex ) : void
UpdatedRowStatus ( RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo batchCommands, int commandCount ) : int
UpdatedRowStatusContinue ( RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo batchCommands, int commandCount ) : int
UpdatedRowStatusErrors ( RowUpdatedEventArgs rowUpdatedEvent, BatchCommandInfo batchCommands, int commandCount ) : int
UpdatedRowStatusSkip ( BatchCommandInfo batchCommands, int commandCount ) : int
UpdatingRowStatusErrors ( RowUpdatingEventArgs rowUpdatedEvent, DataRow dataRow ) : void

메소드 상세

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.ComponentModel
리턴 System.ComponentModel

DbDataAdapter() 보호된 메소드

protected DbDataAdapter ( DbDataAdapter adapter ) : System.ComponentModel
adapter DbDataAdapter
리턴 System.ComponentModel

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() 공개 메소드

public Fill ( DataTable dataTable ) : int
dataTable System.Data.DataTable
리턴 int

Fill() 보호된 메소드

protected Fill ( DataTable dataTable, IDbCommand command, CommandBehavior behavior ) : int
dataTable System.Data.DataTable
command IDbCommand
behavior CommandBehavior
리턴 int

Fill() 보호된 메소드

protected Fill ( DataTable dataTables, int startRecord, int maxRecords, IDbCommand command, CommandBehavior behavior ) : int
dataTables System.Data.DataTable
startRecord int
maxRecords int
command IDbCommand
behavior CommandBehavior
리턴 int

Fill() 공개 메소드

public Fill ( int startRecord, int maxRecords ) : int
startRecord int
maxRecords int
리턴 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

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