C# Class DevExpress.DataAccess.BigQuery.BigQueryCommandBuilder

Automatically generates commands to be executed against a BigQuery data source.
Inheritance: System.Data.Common.DbCommandBuilder
Mostrar archivo Open project: DevExpress/BigQueryProvider

Public Methods

Method Description
BigQueryCommandBuilder ( ) : System.Data

Initializes a new instance of the BigQueryCommandBuilder class with default settings.

BigQueryCommandBuilder ( BigQueryDataAdapter dataAdapter ) : System.Data

Initializes a new instance of the BigQueryCommandBuilder class with the specified data adapter.

GetDeleteCommand ( ) : BigQueryCommand

Returns a command that deletes records from a data source.

GetDeleteCommand ( bool useColumnsForParameterNames ) : BigQueryCommand

Returns a command that deletes records from a data source.

GetInsertCommand ( ) : BigQueryCommand

Returns a command that inserts a record into a data source.

GetInsertCommand ( bool useColumnsForParameterNames ) : BigQueryCommand

Returns a command that inserts a record into a data source.

OnRowUpdatingHandler ( object sender, RowUpdatingEventArgs e ) : void
QuoteIdentifier ( string unquotedIdentifier ) : string

Returns a properly quoted analog of the specified quoted identifier.

UnquoteIdentifier ( string quotedIdentifier ) : string

Returns an unquoted analog of the specified quoted identifier.

Protected Methods

Method Description
ApplyParameterInfo ( DbParameter parameter, DataRow row, StatementType statementType, bool whereClause ) : void
GetParameterName ( int parameterOrdinal ) : string
GetParameterName ( string parameterName ) : string
GetParameterPlaceholder ( int parameterOrdinal ) : string
GetSchemaTable ( DbCommand sourceCommand ) : DataTable
SetRowUpdatingHandler ( DbDataAdapter dataAdapter ) : void

Method Details

ApplyParameterInfo() protected method

protected ApplyParameterInfo ( DbParameter parameter, DataRow row, StatementType statementType, bool whereClause ) : void
parameter System.Data.Common.DbParameter
row System.Data.DataRow
statementType StatementType
whereClause bool
return void

BigQueryCommandBuilder() public method

Initializes a new instance of the BigQueryCommandBuilder class with default settings.
public BigQueryCommandBuilder ( ) : System.Data
return System.Data

BigQueryCommandBuilder() public method

Initializes a new instance of the BigQueryCommandBuilder class with the specified data adapter.
public BigQueryCommandBuilder ( BigQueryDataAdapter dataAdapter ) : System.Data
dataAdapter BigQueryDataAdapter A BigQueryDataAdapter for which to generate commands.
return System.Data

GetDeleteCommand() public method

Returns a command that deletes records from a data source.
public GetDeleteCommand ( ) : BigQueryCommand
return BigQueryCommand

GetDeleteCommand() public method

Returns a command that deletes records from a data source.
public GetDeleteCommand ( bool useColumnsForParameterNames ) : BigQueryCommand
useColumnsForParameterNames bool pecifies whether to generate parameter names based on column names.
return BigQueryCommand

GetInsertCommand() public method

Returns a command that inserts a record into a data source.
public GetInsertCommand ( ) : BigQueryCommand
return BigQueryCommand

GetInsertCommand() public method

Returns a command that inserts a record into a data source.
public GetInsertCommand ( bool useColumnsForParameterNames ) : BigQueryCommand
useColumnsForParameterNames bool Specifies whether to generate parameter names based on column names.
return BigQueryCommand

GetParameterName() protected method

protected GetParameterName ( int parameterOrdinal ) : string
parameterOrdinal int
return string

GetParameterName() protected method

protected GetParameterName ( string parameterName ) : string
parameterName string
return string

GetParameterPlaceholder() protected method

protected GetParameterPlaceholder ( int parameterOrdinal ) : string
parameterOrdinal int
return string

GetSchemaTable() protected method

protected GetSchemaTable ( DbCommand sourceCommand ) : DataTable
sourceCommand System.Data.Common.DbCommand
return System.Data.DataTable

OnRowUpdatingHandler() public method

public OnRowUpdatingHandler ( object sender, RowUpdatingEventArgs e ) : void
sender object
e System.Data.Common.RowUpdatingEventArgs
return void

QuoteIdentifier() public method

Returns a properly quoted analog of the specified quoted identifier.
public QuoteIdentifier ( string unquotedIdentifier ) : string
unquotedIdentifier string a string containing an unquoted identifier.
return string

SetRowUpdatingHandler() protected method

protected SetRowUpdatingHandler ( DbDataAdapter dataAdapter ) : void
dataAdapter System.Data.Common.DbDataAdapter
return void

UnquoteIdentifier() public method

Returns an unquoted analog of the specified quoted identifier.
public UnquoteIdentifier ( string quotedIdentifier ) : string
quotedIdentifier string a string containing an unquoted identifier.
return string