C# Class DbExpressions.DbExpressionVisitor

Represents a visitor or rewriter for DbExpression trees.
Afficher le fichier Open project: seesharper/DbExpressions

Méthodes publiques

Méthode Description
DbExpressionVisitor ( ) : System

Initializes a new instance of the DbExpressionVisitor class.

Visit ( DbExpression dbExpression ) : DbExpression

Visits each node of the DbExpression tree and rewrites the tree if any changes has been made to any of the child nodes.

Méthodes protégées

Méthode Description
VisitAggregateFunctionExpression ( DbAggregateFunctionExpression aggregateFunctionExpression ) : DbExpression

Translates the aggregateFunctionExpression into a string representation.

VisitAliasExpression ( DbAliasExpression aliasExpression ) : DbExpression

Translates the aliasExpression into a string representation.

VisitBatchExpression ( DbBatchExpression batchExpression ) : DbExpression

Translates the batchExpression into a string representation.

VisitBinaryExpression ( DbBinaryExpression binaryExpression ) : DbExpression

Translates the binaryExpression into a string representation.

VisitColumnExpression ( DbColumnExpression columnExpression ) : DbExpression

Translates the columnExpression into a string representation.

VisitConcatExpression ( DbConcatExpression concatExpression ) : DbExpression

Translates the concatExpression into a string representation.

VisitConditionalExpression ( DbConditionalExpression conditionalExpression ) : DbExpression

Translates the conditionalExpression into a string representation.

VisitConstantExpression ( DbConstantExpression constantExpression ) : DbExpression

Translates the constantExpression into a string representation.

VisitDateTimeFunctionExpression ( DbDateTimeFunctionExpression dateTimeFunctionExpression ) : DbExpression

Translates the dateTimeFunctionExpression into a string representation.

VisitDeleteExpression ( DbDeleteExpression deleteExpression ) : DbExpression

Translates the deleteExpression into a string representation.

VisitExistsExpression ( DbExistsExpression existsExpression ) : DbExpression

Translates the existsExpression into a string representation.

VisitFunctionExpression ( DbFunctionExpression functionExpression ) : DbExpression

Translates the functionExpression into a string representation.

VisitInExpression ( DbInExpression inExpression ) : DbExpression

Translates the inExpression into a string representation.

VisitInsertExpression ( DbInsertExpression insertExpression ) : DbExpression

Translates the insertExpression into a string representation.

VisitJoinExpression ( DbJoinExpression joinExpression ) : DbExpression

Translates the joinExpression into a string representation.

VisitListExpression ( DbListExpression listExpression ) : DbExpression

Translates the listExpression into a string representation.

VisitMathematicalFunctionExpression ( DbMathematicalFunctionExpression mathematicalFunctionExpression ) : DbExpression

Translates the mathematicalFunctionExpression into a string representation.

VisitOrderByExpression ( DbOrderByExpression orderByExpression ) : DbExpression

Translates the orderByExpression into a string representation.

VisitPrefixExpression ( DbPrefixExpression prefixExpression ) : DbExpression

Translates the prefixExpression into a string representation.

VisitQueryExpression ( DbQuery query ) : DbExpression

Translates the query into a string representation.

VisitSelectExpression ( DbSelectExpression selectExpression ) : DbExpression

Translates the selectExpression into a string representation.

VisitSqlExpression ( DbSqlExpression sqlExpression ) : DbExpression

Visits DbSqlExpression nodes.

VisitStringFunctionExpression ( DbStringFunctionExpression stringFunctionExpression ) : DbExpression

Translates the stringFunctionExpression into a string representation.

VisitTableExpression ( DbTableExpression tableExpression ) : DbExpression

Translates the tableExpression into a string representation.

VisitUnaryExpression ( DbUnaryExpression unaryExpression ) : DbExpression

Translates the unaryExpression into a string representation.

VisitUpdateExpression ( DbUpdateExpression updateExpression ) : DbExpression

Translates the updateExpression into a string representation.

Private Methods

Méthode Description
VisitListExpression ( DbExpression originalList ) : IEnumerable

Method Details

DbExpressionVisitor() public méthode

Initializes a new instance of the DbExpressionVisitor class.
public DbExpressionVisitor ( ) : System
Résultat System

Visit() public méthode

Visits each node of the DbExpression tree and rewrites the tree if any changes has been made to any of the child nodes.
public Visit ( DbExpression dbExpression ) : DbExpression
dbExpression DbExpression The to visit.
Résultat DbExpression

VisitAggregateFunctionExpression() protected méthode

Translates the aggregateFunctionExpression into a string representation.
protected VisitAggregateFunctionExpression ( DbAggregateFunctionExpression aggregateFunctionExpression ) : DbExpression
aggregateFunctionExpression DbAggregateFunctionExpression The to translate.
Résultat DbExpression

VisitAliasExpression() protected méthode

Translates the aliasExpression into a string representation.
protected VisitAliasExpression ( DbAliasExpression aliasExpression ) : DbExpression
aliasExpression DbAliasExpression The to translate.
Résultat DbExpression

VisitBatchExpression() protected méthode

Translates the batchExpression into a string representation.
protected VisitBatchExpression ( DbBatchExpression batchExpression ) : DbExpression
batchExpression DbBatchExpression The to translate.
Résultat DbExpression

VisitBinaryExpression() protected méthode

Translates the binaryExpression into a string representation.
protected VisitBinaryExpression ( DbBinaryExpression binaryExpression ) : DbExpression
binaryExpression DbBinaryExpression The to translate.
Résultat DbExpression

VisitColumnExpression() protected méthode

Translates the columnExpression into a string representation.
protected VisitColumnExpression ( DbColumnExpression columnExpression ) : DbExpression
columnExpression DbColumnExpression The to translate.
Résultat DbExpression

VisitConcatExpression() protected méthode

Translates the concatExpression into a string representation.
protected VisitConcatExpression ( DbConcatExpression concatExpression ) : DbExpression
concatExpression DbConcatExpression The to translate.
Résultat DbExpression

VisitConditionalExpression() protected méthode

Translates the conditionalExpression into a string representation.
protected VisitConditionalExpression ( DbConditionalExpression conditionalExpression ) : DbExpression
conditionalExpression DbConditionalExpression The to translate.
Résultat DbExpression

VisitConstantExpression() protected méthode

Translates the constantExpression into a string representation.
protected VisitConstantExpression ( DbConstantExpression constantExpression ) : DbExpression
constantExpression DbConstantExpression The to translate.
Résultat DbExpression

VisitDateTimeFunctionExpression() protected méthode

Translates the dateTimeFunctionExpression into a string representation.
protected VisitDateTimeFunctionExpression ( DbDateTimeFunctionExpression dateTimeFunctionExpression ) : DbExpression
dateTimeFunctionExpression DbDateTimeFunctionExpression The to translate.
Résultat DbExpression

VisitDeleteExpression() protected méthode

Translates the deleteExpression into a string representation.
protected VisitDeleteExpression ( DbDeleteExpression deleteExpression ) : DbExpression
deleteExpression DbDeleteExpression The to translate.
Résultat DbExpression

VisitExistsExpression() protected méthode

Translates the existsExpression into a string representation.
protected VisitExistsExpression ( DbExistsExpression existsExpression ) : DbExpression
existsExpression DbExistsExpression The to translate.
Résultat DbExpression

VisitFunctionExpression() protected méthode

Translates the functionExpression into a string representation.
protected VisitFunctionExpression ( DbFunctionExpression functionExpression ) : DbExpression
functionExpression DbFunctionExpression The to translate.
Résultat DbExpression

VisitInExpression() protected méthode

Translates the inExpression into a string representation.
protected VisitInExpression ( DbInExpression inExpression ) : DbExpression
inExpression DbInExpression The to translate.
Résultat DbExpression

VisitInsertExpression() protected méthode

Translates the insertExpression into a string representation.
protected VisitInsertExpression ( DbInsertExpression insertExpression ) : DbExpression
insertExpression DbInsertExpression The to translate.
Résultat DbExpression

VisitJoinExpression() protected méthode

Translates the joinExpression into a string representation.
protected VisitJoinExpression ( DbJoinExpression joinExpression ) : DbExpression
joinExpression DbJoinExpression The to translate.
Résultat DbExpression

VisitListExpression() protected méthode

Translates the listExpression into a string representation.
protected VisitListExpression ( DbListExpression listExpression ) : DbExpression
listExpression DbListExpression The to translate.
Résultat DbExpression

VisitMathematicalFunctionExpression() protected méthode

Translates the mathematicalFunctionExpression into a string representation.
protected VisitMathematicalFunctionExpression ( DbMathematicalFunctionExpression mathematicalFunctionExpression ) : DbExpression
mathematicalFunctionExpression DbMathematicalFunctionExpression The to translate.
Résultat DbExpression

VisitOrderByExpression() protected méthode

Translates the orderByExpression into a string representation.
protected VisitOrderByExpression ( DbOrderByExpression orderByExpression ) : DbExpression
orderByExpression DbOrderByExpression The to translate.
Résultat DbExpression

VisitPrefixExpression() protected méthode

Translates the prefixExpression into a string representation.
protected VisitPrefixExpression ( DbPrefixExpression prefixExpression ) : DbExpression
prefixExpression DbPrefixExpression The to translate.
Résultat DbExpression

VisitQueryExpression() protected méthode

Translates the query into a string representation.
protected VisitQueryExpression ( DbQuery query ) : DbExpression
query DbQuery The to translate.
Résultat DbExpression

VisitSelectExpression() protected méthode

Translates the selectExpression into a string representation.
protected VisitSelectExpression ( DbSelectExpression selectExpression ) : DbExpression
selectExpression DbSelectExpression The to translate.
Résultat DbExpression

VisitSqlExpression() protected méthode

Visits DbSqlExpression nodes.
protected VisitSqlExpression ( DbSqlExpression sqlExpression ) : DbExpression
sqlExpression DbSqlExpression The to visit
Résultat DbExpression

VisitStringFunctionExpression() protected méthode

Translates the stringFunctionExpression into a string representation.
protected VisitStringFunctionExpression ( DbStringFunctionExpression stringFunctionExpression ) : DbExpression
stringFunctionExpression DbStringFunctionExpression The to translate.
Résultat DbExpression

VisitTableExpression() protected méthode

Translates the tableExpression into a string representation.
protected VisitTableExpression ( DbTableExpression tableExpression ) : DbExpression
tableExpression DbTableExpression The to translate.
Résultat DbExpression

VisitUnaryExpression() protected méthode

Translates the unaryExpression into a string representation.
protected VisitUnaryExpression ( DbUnaryExpression unaryExpression ) : DbExpression
unaryExpression DbUnaryExpression The to translate.
Résultat DbExpression

VisitUpdateExpression() protected méthode

Translates the updateExpression into a string representation.
protected VisitUpdateExpression ( DbUpdateExpression updateExpression ) : DbExpression
updateExpression DbUpdateExpression The to translate.
Résultat DbExpression