C# 클래스 CqlSharp.Linq.Query.ProjectorBuilder

Converts an expression with selector expressions to a lambda expression that takes a datareader as input.
상속: CqlSharp.Linq.Expressions.CqlExpressionVisitor
파일 보기 프로젝트 열기: reuzel/CqlSharp

공개 메소드들

메소드 설명
BuildProjector ( Expression expression ) : LambdaExpression
VisitSelector ( SelectorExpression selector ) : Expression

replaces selectors (column references) expressions, with an expression that reads the corresponding value from DataReader

VisitTerm ( TermExpression node ) : Expression

Replaces Variable terms with references to the correct argument

메소드 상세

BuildProjector() 공개 메소드

public BuildProjector ( Expression expression ) : LambdaExpression
expression System.Linq.Expressions.Expression
리턴 System.Linq.Expressions.LambdaExpression

VisitSelector() 공개 메소드

replaces selectors (column references) expressions, with an expression that reads the corresponding value from DataReader
public VisitSelector ( SelectorExpression selector ) : Expression
selector CqlSharp.Linq.Expressions.SelectorExpression
리턴 System.Linq.Expressions.Expression

VisitTerm() 공개 메소드

Replaces Variable terms with references to the correct argument
public VisitTerm ( TermExpression node ) : Expression
node CqlSharp.Linq.Expressions.TermExpression
리턴 System.Linq.Expressions.Expression