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

상속: System.ComponentModel.Component
파일 보기 프로젝트 열기: dotnet/corefx 1 사용 예제들

Private Properties

프로퍼티 타입 설명
BuildCache void
BuildDeleteCommand DbCommand
BuildInformation void
BuildInsertCommand DbCommand
BuildUpdateCommand DbCommand
BuildWhereClause int
CreateParameterForNullTest string
CreateParameterForValue string
GetBaseParameterName string
GetColumnValue object
GetColumnValue object
GetConnection DbConnection
GetDataColumn DataColumn
GetDeleteCommand DbCommand
GetInsertCommand DbCommand
GetNextParameter DbParameter
GetNullParameterName string
GetOriginalParameterName string
GetSelectCommand DbCommand
GetTableMapping DataTableMapping
GetUpdateCommand DbCommand
IncludeInInsertValues bool
IncludeInUpdateSet bool
IncludeInWhereClause bool
IncrementWhereCount bool
ParseProcedureName string[]
QuotedColumn string
RemoveExtraParameters void
RowUpdatingHandlerBuilder void

공개 메소드들

메소드 설명
GetDeleteCommand ( ) : DbCommand
GetDeleteCommand ( bool useColumnsForParameterNames ) : DbCommand
GetInsertCommand ( ) : DbCommand
GetInsertCommand ( bool useColumnsForParameterNames ) : DbCommand
GetUpdateCommand ( ) : DbCommand
GetUpdateCommand ( bool useColumnsForParameterNames ) : DbCommand
QuoteIdentifier ( string unquotedIdentifier ) : string
RefreshSchema ( ) : void
UnquoteIdentifier ( string quotedIdentifier ) : string

보호된 메소드들

메소드 설명
ApplyParameterInfo ( DbParameter parameter, DataRow row, StatementType statementType, bool whereClause ) : void
DbCommandBuilder ( ) : System.ComponentModel
Dispose ( bool disposing ) : void
GetParameterName ( int parameterOrdinal ) : string
GetParameterName ( string parameterName ) : string
GetParameterPlaceholder ( int parameterOrdinal ) : string
GetSchemaTable ( DbCommand sourceCommand ) : DataTable
InitializeCommand ( DbCommand command ) : DbCommand
RowUpdatingHandler ( RowUpdatingEventArgs rowUpdatingEvent ) : void
SetRowUpdatingHandler ( DbDataAdapter adapter ) : void

비공개 메소드들

메소드 설명
BuildCache ( bool closeConnection, DataRow dataRow, bool useColumnsForParameterNames ) : void
BuildDeleteCommand ( DataTableMapping mappings, DataRow dataRow ) : DbCommand
BuildInformation ( DataTable schemaTable ) : void
BuildInsertCommand ( DataTableMapping mappings, DataRow dataRow ) : DbCommand
BuildUpdateCommand ( DataTableMapping mappings, DataRow dataRow ) : DbCommand
BuildWhereClause ( DataTableMapping mappings, DataRow dataRow, StringBuilder builder, DbCommand command, int parameterCount, bool isUpdate ) : int
CreateParameterForNullTest ( DbCommand command, string parameterName, string sourceColumn, DataRowVersion version, int parameterCount, object value, DbSchemaRow row, StatementType statementType, bool whereClause ) : string
CreateParameterForValue ( DbCommand command, string parameterName, string sourceColumn, DataRowVersion version, int parameterCount, object value, DbSchemaRow row, StatementType statementType, bool whereClause ) : string
GetBaseParameterName ( int index ) : string
GetColumnValue ( DataRow row, DataColumn column, DataRowVersion version ) : object
GetColumnValue ( DataRow row, string columnName, DataTableMapping mappings, DataRowVersion version ) : object
GetConnection ( ) : DbConnection
GetDataColumn ( string columnName, DataTableMapping tablemapping, DataRow row ) : DataColumn
GetDeleteCommand ( DataRow dataRow, bool useColumnsForParameterNames ) : DbCommand
GetInsertCommand ( DataRow dataRow, bool useColumnsForParameterNames ) : DbCommand
GetNextParameter ( DbCommand command, int pcount ) : DbParameter
GetNullParameterName ( int index ) : string
GetOriginalParameterName ( int index ) : string
GetSelectCommand ( ) : DbCommand
GetTableMapping ( DataRow dataRow ) : DataTableMapping
GetUpdateCommand ( DataRow dataRow, bool useColumnsForParameterNames ) : DbCommand
IncludeInInsertValues ( DbSchemaRow row ) : bool
IncludeInUpdateSet ( DbSchemaRow row ) : bool
IncludeInWhereClause ( DbSchemaRow row, bool isUpdate ) : bool
IncrementWhereCount ( DbSchemaRow row ) : bool
ParseProcedureName ( string name, string quotePrefix, string quoteSuffix ) : string[]
QuotedColumn ( string column ) : string
RemoveExtraParameters ( DbCommand command, int usedParameterCount ) : void
RowUpdatingHandlerBuilder ( RowUpdatingEventArgs rowUpdatingEvent ) : void

메소드 상세

ApplyParameterInfo() 보호된 추상적인 메소드

protected abstract ApplyParameterInfo ( DbParameter parameter, DataRow row, StatementType statementType, bool whereClause ) : void
parameter DbParameter
row DataRow
statementType StatementType
whereClause bool
리턴 void

DbCommandBuilder() 보호된 메소드

protected DbCommandBuilder ( ) : System.ComponentModel
리턴 System.ComponentModel

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

GetDeleteCommand() 공개 메소드

public GetDeleteCommand ( ) : DbCommand
리턴 DbCommand

GetDeleteCommand() 공개 메소드

public GetDeleteCommand ( bool useColumnsForParameterNames ) : DbCommand
useColumnsForParameterNames bool
리턴 DbCommand

GetInsertCommand() 공개 메소드

public GetInsertCommand ( ) : DbCommand
리턴 DbCommand

GetInsertCommand() 공개 메소드

public GetInsertCommand ( bool useColumnsForParameterNames ) : DbCommand
useColumnsForParameterNames bool
리턴 DbCommand

GetParameterName() 보호된 추상적인 메소드

protected abstract GetParameterName ( int parameterOrdinal ) : string
parameterOrdinal int
리턴 string

GetParameterName() 보호된 추상적인 메소드

protected abstract GetParameterName ( string parameterName ) : string
parameterName string
리턴 string

GetParameterPlaceholder() 보호된 추상적인 메소드

protected abstract GetParameterPlaceholder ( int parameterOrdinal ) : string
parameterOrdinal int
리턴 string

GetSchemaTable() 보호된 메소드

protected GetSchemaTable ( DbCommand sourceCommand ) : DataTable
sourceCommand DbCommand
리턴 DataTable

GetUpdateCommand() 공개 메소드

public GetUpdateCommand ( ) : DbCommand
리턴 DbCommand

GetUpdateCommand() 공개 메소드

public GetUpdateCommand ( bool useColumnsForParameterNames ) : DbCommand
useColumnsForParameterNames bool
리턴 DbCommand

InitializeCommand() 보호된 메소드

protected InitializeCommand ( DbCommand command ) : DbCommand
command DbCommand
리턴 DbCommand

QuoteIdentifier() 공개 메소드

public QuoteIdentifier ( string unquotedIdentifier ) : string
unquotedIdentifier string
리턴 string

RefreshSchema() 공개 메소드

public RefreshSchema ( ) : void
리턴 void

RowUpdatingHandler() 보호된 메소드

protected RowUpdatingHandler ( RowUpdatingEventArgs rowUpdatingEvent ) : void
rowUpdatingEvent RowUpdatingEventArgs
리턴 void

SetRowUpdatingHandler() 보호된 추상적인 메소드

protected abstract SetRowUpdatingHandler ( DbDataAdapter adapter ) : void
adapter DbDataAdapter
리턴 void

UnquoteIdentifier() 공개 메소드

public UnquoteIdentifier ( string quotedIdentifier ) : string
quotedIdentifier string
리턴 string