C# Class FrameDAL.SqlExpressions.OrderByRewriter

Inheritance: SqlExpressionVisitor
ファイルを表示 Open project: vincentlauvlwj/FrameDAL

Public Methods

Method Description
Rewrite ( SqlExpression expression ) : SqlExpression

Protected Methods

Method Description
VisitJoin ( JoinExpression expr ) : SqlExpression
VisitSelect ( SelectExpression select ) : SqlExpression

Private Methods

Method Description
GetAvailableColumnName ( IList columns, string baseName ) : string
IsUniqueName ( IList columns, string name ) : bool
PrependOrderings ( IList newOrderings ) : void
RebindOrderings ( IList orderings, TableAlias alias, HashSet existingAliases, IList existingColumns ) : BindResult

Method Details

Rewrite() public static method

public static Rewrite ( SqlExpression expression ) : SqlExpression
expression SqlExpression
return SqlExpression

VisitJoin() protected method

protected VisitJoin ( JoinExpression expr ) : SqlExpression
expr JoinExpression
return SqlExpression

VisitSelect() protected method

protected VisitSelect ( SelectExpression select ) : SqlExpression
select SelectExpression
return SqlExpression