C# Class Deveel.Data.Client.DeveelDbCommandBuilder

Inheritance: System.Data.Common.DbCommandBuilder
Afficher le fichier Open project: deveel/deveeldb Class Usage Examples

Private Properties

Свойство Type Description
HasPrimaryKey bool
OnRowUpdating void
ResetIsUniqueColumn void

Méthodes publiques

Méthode Description
DeveelDbCommandBuilder ( ) : System
DeveelDbCommandBuilder ( DeveelDbDataAdapter dataAdapter ) : System
GetDeleteCommand ( ) : DeveelDbCommand
GetDeleteCommand ( bool useColumnsForParameterNames ) : DeveelDbCommand
GetInsertCommand ( ) : DeveelDbCommand
GetInsertCommand ( bool useColumnsForParameterNames ) : DeveelDbCommand
GetUpdateCommand ( ) : DeveelDbCommand
GetUpdateCommand ( bool useColumnsForParameterNames ) : DeveelDbCommand

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 adapter ) : void

Private Methods

Méthode Description
HasPrimaryKey ( DataTable table ) : bool
OnRowUpdating ( object sender, RowUpdatingEventArgs e ) : void
ResetIsUniqueColumn ( DataTable schema ) : 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

DeveelDbCommandBuilder() public méthode

public DeveelDbCommandBuilder ( ) : System
Résultat System

DeveelDbCommandBuilder() public méthode

public DeveelDbCommandBuilder ( DeveelDbDataAdapter dataAdapter ) : System
dataAdapter DeveelDbDataAdapter
Résultat System

GetDeleteCommand() public méthode

public GetDeleteCommand ( ) : DeveelDbCommand
Résultat DeveelDbCommand

GetDeleteCommand() public méthode

public GetDeleteCommand ( bool useColumnsForParameterNames ) : DeveelDbCommand
useColumnsForParameterNames bool
Résultat DeveelDbCommand

GetInsertCommand() public méthode

public GetInsertCommand ( ) : DeveelDbCommand
Résultat DeveelDbCommand

GetInsertCommand() public méthode

public GetInsertCommand ( bool useColumnsForParameterNames ) : DeveelDbCommand
useColumnsForParameterNames bool
Résultat DeveelDbCommand

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

GetUpdateCommand() public méthode

public GetUpdateCommand ( ) : DeveelDbCommand
Résultat DeveelDbCommand

GetUpdateCommand() public méthode

public GetUpdateCommand ( bool useColumnsForParameterNames ) : DeveelDbCommand
useColumnsForParameterNames bool
Résultat DeveelDbCommand

SetRowUpdatingHandler() protected méthode

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