C# Class Signum.Engine.Linq.OrderByRewriter

Inheritance: Signum.Engine.Linq.DbExpressionVisitor
显示文件 Open project: signumsoftware/framework Class Usage Examples

Public Methods

Method Description
Scope ( ) : IDisposable

Protected Methods

Method Description
AppendKeys ( ) : void
PrependOrderings ( ReadOnlyCollection newOrderings ) : void
VisitExists ( ExistsExpression exists ) : Expression
VisitIn ( InExpression @in ) : Expression
VisitJoin ( JoinExpression join ) : Expression
VisitProjection ( ProjectionExpression proj ) : Expression
VisitRowNumber ( RowNumberExpression rowNumber ) : Expression
VisitScalar ( ScalarExpression scalar ) : Expression
VisitSelect ( SelectExpression select ) : Expression
VisitSetOperator ( SetOperatorExpression set ) : Expression
VisitTable ( TableExpression table ) : Expression

Private Methods

Method Description
AreEqual ( IEnumerable col1, IEnumerable col2 ) : bool
CleanCast ( Expression exp ) : Expression
IsCountSumOrAvg ( SelectExpression select ) : bool
OrderByRewriter ( ) : Signum.Entities.DynamicQuery
Rewrite ( Expression expression ) : Expression

Method Details

AppendKeys() protected method

protected AppendKeys ( ) : void
return void

PrependOrderings() protected method

protected PrependOrderings ( ReadOnlyCollection newOrderings ) : void
newOrderings ReadOnlyCollection
return void

Scope() public method

public Scope ( ) : IDisposable
return IDisposable

VisitExists() protected method

protected VisitExists ( ExistsExpression exists ) : Expression
exists ExistsExpression
return System.Linq.Expressions.Expression

VisitIn() protected method

protected VisitIn ( InExpression @in ) : Expression
@in InExpression
return System.Linq.Expressions.Expression

VisitJoin() protected method

protected VisitJoin ( JoinExpression join ) : Expression
join JoinExpression
return System.Linq.Expressions.Expression

VisitProjection() protected method

protected VisitProjection ( ProjectionExpression proj ) : Expression
proj ProjectionExpression
return System.Linq.Expressions.Expression

VisitRowNumber() protected method

protected VisitRowNumber ( RowNumberExpression rowNumber ) : Expression
rowNumber RowNumberExpression
return System.Linq.Expressions.Expression

VisitScalar() protected method

protected VisitScalar ( ScalarExpression scalar ) : Expression
scalar ScalarExpression
return System.Linq.Expressions.Expression

VisitSelect() protected method

protected VisitSelect ( SelectExpression select ) : Expression
select SelectExpression
return System.Linq.Expressions.Expression

VisitSetOperator() protected method

protected VisitSetOperator ( SetOperatorExpression set ) : Expression
set SetOperatorExpression
return System.Linq.Expressions.Expression

VisitTable() protected method

protected VisitTable ( TableExpression table ) : Expression
table TableExpression
return System.Linq.Expressions.Expression