C# 클래스 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.
상속: AbstractExpressionTreeVisitor
파일 보기 프로젝트 열기: RebelCMS/rebelcmsxu5 1 사용 예제들

공개 메소드들

메소드 설명
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.

메소드 상세

DefaultExpressionTreeVisitor() 공개 메소드

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.
리턴 System.Linq.Expressions

RewriteToFieldPredicateTree() 공개 정적인 메소드

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

RewriteToFieldPredicateTree() 공개 정적인 메소드

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.
리턴 System.Linq.Expressions.Expression