C# Class DevExpress.DataAccess.BigQuery.BigQueryCommandBuilder

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

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode 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 méthode

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

BigQueryCommandBuilder() public méthode

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

BigQueryCommandBuilder() public méthode

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.
Résultat System.Data

GetDeleteCommand() public méthode

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

GetDeleteCommand() public méthode

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.
Résultat BigQueryCommand

GetInsertCommand() public méthode

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

GetInsertCommand() public méthode

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.
Résultat BigQueryCommand

GetParameterName() protected méthode

protected GetParameterName ( int parameterOrdinal ) : string
parameterOrdinal int
Résultat string

GetParameterName() protected méthode

protected GetParameterName ( string parameterName ) : string
parameterName string
Résultat string

GetParameterPlaceholder() protected méthode

protected GetParameterPlaceholder ( int parameterOrdinal ) : string
parameterOrdinal int
Résultat string

GetSchemaTable() protected méthode

protected GetSchemaTable ( DbCommand sourceCommand ) : DataTable
sourceCommand System.Data.Common.DbCommand
Résultat System.Data.DataTable

OnRowUpdatingHandler() public méthode

public OnRowUpdatingHandler ( object sender, RowUpdatingEventArgs e ) : void
sender object
e System.Data.Common.RowUpdatingEventArgs
Résultat void

QuoteIdentifier() public méthode

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

SetRowUpdatingHandler() protected méthode

protected SetRowUpdatingHandler ( DbDataAdapter dataAdapter ) : void
dataAdapter System.Data.Common.DbDataAdapter
Résultat void

UnquoteIdentifier() public méthode

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