C# Class Remotion.Linq.SqlBackend.SqlGeneration.SqlGeneratingOuterSelectExpressionVisitor

Extends SqlGeneratingSelectExpressionVisitor by building an in-memory projection. This should be used for the SqlStatement.SelectProjection of the outermost SqlStatement in a query. For substatements, SqlGeneratingSelectExpressionVisitor should be used instead.
Inheritance: SqlGeneratingSelectExpressionVisitor, ISqlConvertedBooleanExpressionVisitor
Afficher le fichier Open project: re-motion/Relinq-SqlBackend Class Usage Examples

Méthodes publiques

Méthode Description
GenerateSql ( Expression expression, ISqlCommandBuilder commandBuilder, ISqlGenerationStage stage ) : void
VisitNamedExpression ( NamedExpression expression ) : Expression
VisitSqlConvertedBooleanExpression ( SqlConvertedBooleanExpression expression ) : Expression
VisitSqlEntityExpression ( SqlEntityExpression expression ) : Expression
VisitSqlGroupingSelectExpression ( SqlGroupingSelectExpression expression ) : Expression

Méthodes protégées

Méthode Description
GetNextColumnID ( string columnName ) : ColumnID
SqlGeneratingOuterSelectExpressionVisitor ( ISqlCommandBuilder commandBuilder, ISqlGenerationStage stage ) : System
VisitMethodCallExpression ( MethodCallExpression expression ) : Expression
VisitNewExpression ( NewExpression expression ) : Expression
VisitUnaryExpression ( UnaryExpression expression ) : Expression

Private Methods

Méthode Description
GetBitConversionExpression ( Type sourceType, Type targetType, Expression convertedExpression ) : Expression
SetInMemoryProjectionForNamedExpression ( Type typeOfValue, Expression columnID ) : void
VisitArgumentOfLocalEvaluation ( Expression argumentExpression ) : Expression

Method Details

GenerateSql() public static méthode

public static GenerateSql ( Expression expression, ISqlCommandBuilder commandBuilder, ISqlGenerationStage stage ) : void
expression System.Linq.Expressions.Expression
commandBuilder ISqlCommandBuilder
stage ISqlGenerationStage
Résultat void

GetNextColumnID() protected méthode

protected GetNextColumnID ( string columnName ) : ColumnID
columnName string
Résultat ColumnID

SqlGeneratingOuterSelectExpressionVisitor() protected méthode

protected SqlGeneratingOuterSelectExpressionVisitor ( ISqlCommandBuilder commandBuilder, ISqlGenerationStage stage ) : System
commandBuilder ISqlCommandBuilder
stage ISqlGenerationStage
Résultat System

VisitMethodCallExpression() protected méthode

protected VisitMethodCallExpression ( MethodCallExpression expression ) : Expression
expression System.Linq.Expressions.MethodCallExpression
Résultat System.Linq.Expressions.Expression

VisitNamedExpression() public méthode

public VisitNamedExpression ( NamedExpression expression ) : Expression
expression Remotion.Linq.SqlBackend.SqlStatementModel.NamedExpression
Résultat System.Linq.Expressions.Expression

VisitNewExpression() protected méthode

protected VisitNewExpression ( NewExpression expression ) : Expression
expression System.Linq.Expressions.NewExpression
Résultat System.Linq.Expressions.Expression

VisitSqlConvertedBooleanExpression() public méthode

public VisitSqlConvertedBooleanExpression ( SqlConvertedBooleanExpression expression ) : Expression
expression Remotion.Linq.SqlBackend.SqlStatementModel.Resolved.SqlConvertedBooleanExpression
Résultat System.Linq.Expressions.Expression

VisitSqlEntityExpression() public méthode

public VisitSqlEntityExpression ( SqlEntityExpression expression ) : Expression
expression Remotion.Linq.SqlBackend.SqlStatementModel.Resolved.SqlEntityExpression
Résultat System.Linq.Expressions.Expression

VisitSqlGroupingSelectExpression() public méthode

public VisitSqlGroupingSelectExpression ( SqlGroupingSelectExpression expression ) : Expression
expression Remotion.Linq.SqlBackend.SqlStatementModel.SqlGroupingSelectExpression
Résultat System.Linq.Expressions.Expression

VisitUnaryExpression() protected méthode

protected VisitUnaryExpression ( UnaryExpression expression ) : Expression
expression System.Linq.Expressions.UnaryExpression
Résultat System.Linq.Expressions.Expression