C# Class DbExpressions.DbQueryTranslator

Provides a base class for database-specific implementations.
Inheritance: DbExpressionVisitor
Afficher le fichier Open project: seesharper/DbExpressions Class Usage Examples

Méthodes publiques

Méthode Description
Translate ( DbExpression dbExpression ) : DbTranslateResult

Translates the dbExpression into a DbTranslateResult instance.

Méthodes protégées

Méthode Description
CreateParameter ( string name, object value ) : void

Creates a new IDataParameter used in the result of the query translation.

DbQueryTranslator ( System.Data.Common.DbProviderFactory providerFactory ) : System.Collections.Generic

Initializes a new instance of the DbQueryTranslator class.

QuoteIdentifier ( string unquotedIdentifier ) : string

Quotes the unquotedIdentifier.

Method Details

CreateParameter() protected méthode

Creates a new IDataParameter used in the result of the query translation.
protected CreateParameter ( string name, object value ) : void
name string The name of the parameter.
value object The parameter value.
Résultat void

DbQueryTranslator() protected méthode

Initializes a new instance of the DbQueryTranslator class.
protected DbQueryTranslator ( System.Data.Common.DbProviderFactory providerFactory ) : System.Collections.Generic
providerFactory System.Data.Common.DbProviderFactory
Résultat System.Collections.Generic

QuoteIdentifier() protected méthode

Quotes the unquotedIdentifier.
protected QuoteIdentifier ( string unquotedIdentifier ) : string
unquotedIdentifier string The original unquoted identifier.
Résultat string

Translate() public méthode

Translates the dbExpression into a DbTranslateResult instance.
public Translate ( DbExpression dbExpression ) : DbTranslateResult
dbExpression DbExpression The to translate.
Résultat DbTranslateResult