C# Class Shaolinq.Persistence.Linq.Optimizers.SubqueryRemover

Inheritance: Shaolinq.Persistence.Linq.Expressions.SqlExpressionVisitor
Mostra file Open project: tumtumtum/Shaolinq Class Usage Examples

Public Methods

Method Description
Remove ( SqlProjectionExpression projection ) : SqlProjectionExpression
Remove ( SqlProjectionExpression projection, IEnumerable selectsToRemove ) : SqlProjectionExpression
Remove ( SqlSelectExpression outerSelect ) : SqlSelectExpression
Remove ( SqlSelectExpression outerSelect, IEnumerable selectsToRemove ) : SqlSelectExpression

Protected Methods

Method Description
VisitColumn ( SqlColumnExpression column ) : Expression
VisitSelect ( SqlSelectExpression select ) : Expression

Private Methods

Method Description
SubqueryRemover ( IEnumerable selectsToRemove ) : System

Method Details

Remove() public static method

public static Remove ( SqlProjectionExpression projection ) : SqlProjectionExpression
projection Shaolinq.Persistence.Linq.Expressions.SqlProjectionExpression
return Shaolinq.Persistence.Linq.Expressions.SqlProjectionExpression

Remove() public static method

public static Remove ( SqlProjectionExpression projection, IEnumerable selectsToRemove ) : SqlProjectionExpression
projection Shaolinq.Persistence.Linq.Expressions.SqlProjectionExpression
selectsToRemove IEnumerable
return Shaolinq.Persistence.Linq.Expressions.SqlProjectionExpression

Remove() public static method

public static Remove ( SqlSelectExpression outerSelect ) : SqlSelectExpression
outerSelect Shaolinq.Persistence.Linq.Expressions.SqlSelectExpression
return Shaolinq.Persistence.Linq.Expressions.SqlSelectExpression

Remove() public static method

public static Remove ( SqlSelectExpression outerSelect, IEnumerable selectsToRemove ) : SqlSelectExpression
outerSelect Shaolinq.Persistence.Linq.Expressions.SqlSelectExpression
selectsToRemove IEnumerable
return Shaolinq.Persistence.Linq.Expressions.SqlSelectExpression

VisitColumn() protected method

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

VisitSelect() protected method

protected VisitSelect ( SqlSelectExpression select ) : Expression
select Shaolinq.Persistence.Linq.Expressions.SqlSelectExpression
return System.Linq.Expressions.Expression