C# Class NLite.Data.Linq.Expressions.SubqueryRemover

Removes one or more SelectExpression's by rewriting the expression tree to not include them, promoting their from clause expressions and rewriting any column expressions that may have referenced them to now reference the underlying data directly.
Inheritance: DbExpressionVisitor
Afficher le fichier Open project: netcasewqs/elinq Class Usage Examples

Méthodes publiques

Méthode Description
Remove ( ProjectionExpression projection ) : ProjectionExpression
Remove ( ProjectionExpression projection, IEnumerable selectsToRemove ) : ProjectionExpression
Remove ( SelectExpression outerSelect ) : SelectExpression
Remove ( SelectExpression outerSelect, IEnumerable selectsToRemove ) : SelectExpression

Méthodes protégées

Méthode Description
VisitColumn ( ColumnExpression column ) : Expression
VisitSelect ( SelectExpression select ) : Expression

Private Methods

Méthode Description
SubqueryRemover ( IEnumerable selectsToRemove ) : System

Method Details

Remove() public static méthode

public static Remove ( ProjectionExpression projection ) : ProjectionExpression
projection ProjectionExpression
Résultat ProjectionExpression

Remove() public static méthode

public static Remove ( ProjectionExpression projection, IEnumerable selectsToRemove ) : ProjectionExpression
projection ProjectionExpression
selectsToRemove IEnumerable
Résultat ProjectionExpression

Remove() public static méthode

public static Remove ( SelectExpression outerSelect ) : SelectExpression
outerSelect SelectExpression
Résultat SelectExpression

Remove() public static méthode

public static Remove ( SelectExpression outerSelect, IEnumerable selectsToRemove ) : SelectExpression
outerSelect SelectExpression
selectsToRemove IEnumerable
Résultat SelectExpression

VisitColumn() protected méthode

protected VisitColumn ( ColumnExpression column ) : Expression
column ColumnExpression
Résultat System.Linq.Expressions.Expression

VisitSelect() protected méthode

protected VisitSelect ( SelectExpression select ) : Expression
select SelectExpression
Résultat System.Linq.Expressions.Expression