C# Class Rebel.Framework.Linq.CriteriaGeneration.ExpressionVisitors.DefaultExpressionTreeVisitor

A default implementation of an expression tree visitor designed to take an expression tree and rewrite it to the more simplified model supported by the Rebel Framework and its descendent persistence providers.
Inheritance: AbstractExpressionTreeVisitor
Afficher le fichier Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Méthodes publiques

Méthode Description
DefaultExpressionTreeVisitor ( AbstractQueryStructureBinder structureBinder ) : System.Linq.Expressions

Initializes a new instance of the DefaultExpressionTreeVisitor class.

RewriteToFieldPredicateTree ( Expression expressionToVisit ) : Expression

Rewrites the expression tree to a field predicate tree.

RewriteToFieldPredicateTree ( Expression expressionToVisit, AbstractQueryStructureBinder structureBinder ) : Expression

Rewrites the expression tree to a field predicate tree given an AbstractQueryStructureBinder implementation.

Method Details

DefaultExpressionTreeVisitor() public méthode

Initializes a new instance of the DefaultExpressionTreeVisitor class.
public DefaultExpressionTreeVisitor ( AbstractQueryStructureBinder structureBinder ) : System.Linq.Expressions
structureBinder Rebel.Framework.Linq.CriteriaGeneration.StructureMetadata.AbstractQueryStructureBinder The structure binder.
Résultat System.Linq.Expressions

RewriteToFieldPredicateTree() public static méthode

Rewrites the expression tree to a field predicate tree.
public static RewriteToFieldPredicateTree ( Expression expressionToVisit ) : Expression
expressionToVisit System.Linq.Expressions.Expression The expression to visit.
Résultat System.Linq.Expressions.Expression

RewriteToFieldPredicateTree() public static méthode

Rewrites the expression tree to a field predicate tree given an AbstractQueryStructureBinder implementation.
public static RewriteToFieldPredicateTree ( Expression expressionToVisit, AbstractQueryStructureBinder structureBinder ) : Expression
expressionToVisit System.Linq.Expressions.Expression The expression to visit.
structureBinder Rebel.Framework.Linq.CriteriaGeneration.StructureMetadata.AbstractQueryStructureBinder The structure binder.
Résultat System.Linq.Expressions.Expression