C# Класс DbExpressions.DbQueryTranslator

Provides a base class for database-specific implementations.
Наследование: DbExpressionVisitor
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Translate ( DbExpression dbExpression ) : DbTranslateResult

Translates the dbExpression into a DbTranslateResult instance.

Защищенные методы

Метод Описание
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.

Описание методов

CreateParameter() защищенный Метод

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.
Результат void

DbQueryTranslator() защищенный Метод

Initializes a new instance of the DbQueryTranslator class.
protected DbQueryTranslator ( System.Data.Common.DbProviderFactory providerFactory ) : System.Collections.Generic
providerFactory System.Data.Common.DbProviderFactory
Результат System.Collections.Generic

QuoteIdentifier() защищенный Метод

Quotes the unquotedIdentifier.
protected QuoteIdentifier ( string unquotedIdentifier ) : string
unquotedIdentifier string The original unquoted identifier.
Результат string

Translate() публичный Метод

Translates the dbExpression into a DbTranslateResult instance.
public Translate ( DbExpression dbExpression ) : DbTranslateResult
dbExpression DbExpression The to translate.
Результат DbTranslateResult