C# Class Shaolinq.Persistence.Linq.ProjectionBuilder

Inheritance: SqlExpressionVisitor
Show file Open project: tumtumtum/Shaolinq Class Usage Examples

Public Methods

Method Description
Build ( DataAccessModel dataAccessModel, SqlDatabaseContext sqlDatabaseContext, SqlQueryProvider queryProvider, Expression expression, ProjectionBuilderScope scope, object[]>.Expression &rootKeys ) : LambdaExpression

Protected Methods

Method Description
ConvertColumnToDataReaderRead ( SqlColumnExpression column, Type type ) : Expression
ConvertColumnToIsNull ( SqlColumnExpression column ) : Expression
VisitColumn ( SqlColumnExpression column ) : Expression
VisitConditional ( ConditionalExpression expression ) : Expression
VisitConstantPlaceholder ( SqlConstantPlaceholderExpression constantPlaceholder ) : Expression
VisitFunctionCall ( SqlFunctionCallExpression functionCallExpression ) : Expression
VisitMemberAssignment ( MemberAssignment assignment ) : MemberAssignment
VisitMemberInit ( MemberInitExpression expression ) : Expression
VisitMethodCall ( MethodCallExpression methodCallExpression ) : Expression
VisitNew ( NewExpression expression ) : Expression
VisitNewArray ( NewArrayExpression expression ) : Expression
VisitObjectReference ( SqlObjectReferenceExpression sqlObjectReferenceExpression ) : Expression
VisitProjection ( SqlProjectionExpression projectionExpression ) : Expression
VisitUnary ( UnaryExpression unaryExpression ) : Expression

Private Methods

Method Description
ProjectionBuilder ( DataAccessModel dataAccessModel, SqlDatabaseContext sqlDatabaseContext, SqlQueryProvider queryProvider, ProjectionBuilderScope scope ) : System

Method Details

Build() public static method

public static Build ( DataAccessModel dataAccessModel, SqlDatabaseContext sqlDatabaseContext, SqlQueryProvider queryProvider, Expression expression, ProjectionBuilderScope scope, object[]>.Expression &rootKeys ) : LambdaExpression
dataAccessModel DataAccessModel
sqlDatabaseContext SqlDatabaseContext
queryProvider SqlQueryProvider
expression System.Linq.Expressions.Expression
scope ProjectionBuilderScope
rootKeys object[]>.Expression
return System.Linq.Expressions.LambdaExpression

ConvertColumnToDataReaderRead() protected method

protected ConvertColumnToDataReaderRead ( SqlColumnExpression column, Type type ) : Expression
column Shaolinq.Persistence.Linq.Expressions.SqlColumnExpression
type System.Type
return System.Linq.Expressions.Expression

ConvertColumnToIsNull() protected method

protected ConvertColumnToIsNull ( SqlColumnExpression column ) : Expression
column Shaolinq.Persistence.Linq.Expressions.SqlColumnExpression
return System.Linq.Expressions.Expression

VisitColumn() protected method

protected VisitColumn ( SqlColumnExpression column ) : Expression
column Shaolinq.Persistence.Linq.Expressions.SqlColumnExpression
return System.Linq.Expressions.Expression

VisitConditional() protected method

protected VisitConditional ( ConditionalExpression expression ) : Expression
expression System.Linq.Expressions.ConditionalExpression
return System.Linq.Expressions.Expression

VisitConstantPlaceholder() protected method

protected VisitConstantPlaceholder ( SqlConstantPlaceholderExpression constantPlaceholder ) : Expression
constantPlaceholder Shaolinq.Persistence.Linq.Expressions.SqlConstantPlaceholderExpression
return System.Linq.Expressions.Expression

VisitFunctionCall() protected method

protected VisitFunctionCall ( SqlFunctionCallExpression functionCallExpression ) : Expression
functionCallExpression Shaolinq.Persistence.Linq.Expressions.SqlFunctionCallExpression
return System.Linq.Expressions.Expression

VisitMemberAssignment() protected method

protected VisitMemberAssignment ( MemberAssignment assignment ) : MemberAssignment
assignment System.Linq.Expressions.MemberAssignment
return System.Linq.Expressions.MemberAssignment

VisitMemberInit() protected method

protected VisitMemberInit ( MemberInitExpression expression ) : Expression
expression System.Linq.Expressions.MemberInitExpression
return System.Linq.Expressions.Expression

VisitMethodCall() protected method

protected VisitMethodCall ( MethodCallExpression methodCallExpression ) : Expression
methodCallExpression System.Linq.Expressions.MethodCallExpression
return System.Linq.Expressions.Expression

VisitNew() protected method

protected VisitNew ( NewExpression expression ) : Expression
expression System.Linq.Expressions.NewExpression
return System.Linq.Expressions.Expression

VisitNewArray() protected method

protected VisitNewArray ( NewArrayExpression expression ) : Expression
expression System.Linq.Expressions.NewArrayExpression
return System.Linq.Expressions.Expression

VisitObjectReference() protected method

protected VisitObjectReference ( SqlObjectReferenceExpression sqlObjectReferenceExpression ) : Expression
sqlObjectReferenceExpression Shaolinq.Persistence.Linq.Expressions.SqlObjectReferenceExpression
return System.Linq.Expressions.Expression

VisitProjection() protected method

protected VisitProjection ( SqlProjectionExpression projectionExpression ) : Expression
projectionExpression Shaolinq.Persistence.Linq.Expressions.SqlProjectionExpression
return System.Linq.Expressions.Expression

VisitUnary() protected method

protected VisitUnary ( UnaryExpression unaryExpression ) : Expression
unaryExpression System.Linq.Expressions.UnaryExpression
return System.Linq.Expressions.Expression