C# Class IQ.Data.ColumnMapper

Rewrite all column references to one or more aliases to a new single alias
Inheritance: DbExpressionVisitor
显示文件 Open project: maravillas/linq-to-delicious

Public Methods

Method Description
Map ( Expression expression, TableAlias newAlias ) : Expression
Map ( Expression expression, TableAlias newAlias, IEnumerable oldAliases ) : Expression

Protected Methods

Method Description
VisitColumn ( ColumnExpression column ) : Expression

Private Methods

Method Description
ColumnMapper ( IEnumerable oldAliases, TableAlias newAlias ) : System

Method Details

Map() public static method

public static Map ( Expression expression, TableAlias newAlias ) : Expression
expression System.Linq.Expressions.Expression
newAlias TableAlias
return System.Linq.Expressions.Expression

Map() public static method

public static Map ( Expression expression, TableAlias newAlias, IEnumerable oldAliases ) : Expression
expression System.Linq.Expressions.Expression
newAlias TableAlias
oldAliases IEnumerable
return System.Linq.Expressions.Expression

VisitColumn() protected method

protected VisitColumn ( ColumnExpression column ) : Expression
column ColumnExpression
return System.Linq.Expressions.Expression