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

Datei anzeigen Open project: netcasewqs/elinq

Public Methods

Method Description
AddColumn ( this select, ColumnDeclaration column ) : SelectExpression
AddGroupExpression ( this select, Expression expression ) : SelectExpression
AddOrderExpression ( this select, OrderExpression ordering ) : SelectExpression
AddOuterJoinTest ( this proj, Dialect language, Expression expression ) : ProjectionExpression
AddRedundantSelect ( this sel, TableAlias newAlias ) : SelectExpression
GetAvailableColumnName ( this columns, string baseName ) : string
IsDbExpression ( ExpressionType nodeType ) : bool
RemoveColumn ( this select, ColumnDeclaration column ) : SelectExpression
RemoveGroupExpression ( this select, Expression expression ) : SelectExpression
RemoveOrderExpression ( this select, OrderExpression ordering ) : SelectExpression
RemoveRedundantFrom ( this select ) : SelectExpression
SetColumns ( this select, IEnumerable columns ) : SelectExpression
SetDistinct ( this select, bool isDistinct ) : SelectExpression
SetFrom ( this select, Expression from ) : SelectExpression
SetGroupBy ( this select, IEnumerable groupBy ) : SelectExpression
SetOrderBy ( this select, IEnumerable orderBy ) : SelectExpression
SetReverse ( this select, bool isReverse ) : SelectExpression
SetSkip ( this select, Expression skip ) : SelectExpression
SetTake ( this select, Expression take ) : SelectExpression
SetWhere ( this select, Expression where ) : SelectExpression

Private Methods

Method Description
IsUniqueName ( IList columns, string name ) : bool

Method Details

AddColumn() public static method

public static AddColumn ( this select, ColumnDeclaration column ) : SelectExpression
select this
column ColumnDeclaration
return SelectExpression

AddGroupExpression() public static method

public static AddGroupExpression ( this select, Expression expression ) : SelectExpression
select this
expression System.Linq.Expressions.Expression
return SelectExpression

AddOrderExpression() public static method

public static AddOrderExpression ( this select, OrderExpression ordering ) : SelectExpression
select this
ordering OrderExpression
return SelectExpression

AddOuterJoinTest() public static method

public static AddOuterJoinTest ( this proj, Dialect language, Expression expression ) : ProjectionExpression
proj this
language Dialect
expression System.Linq.Expressions.Expression
return ProjectionExpression

AddRedundantSelect() public static method

public static AddRedundantSelect ( this sel, TableAlias newAlias ) : SelectExpression
sel this
newAlias TableAlias
return SelectExpression

GetAvailableColumnName() public static method

public static GetAvailableColumnName ( this columns, string baseName ) : string
columns this
baseName string
return string

IsDbExpression() public static method

public static IsDbExpression ( ExpressionType nodeType ) : bool
nodeType ExpressionType
return bool

RemoveColumn() public static method

public static RemoveColumn ( this select, ColumnDeclaration column ) : SelectExpression
select this
column ColumnDeclaration
return SelectExpression

RemoveGroupExpression() public static method

public static RemoveGroupExpression ( this select, Expression expression ) : SelectExpression
select this
expression System.Linq.Expressions.Expression
return SelectExpression

RemoveOrderExpression() public static method

public static RemoveOrderExpression ( this select, OrderExpression ordering ) : SelectExpression
select this
ordering OrderExpression
return SelectExpression

RemoveRedundantFrom() public static method

public static RemoveRedundantFrom ( this select ) : SelectExpression
select this
return SelectExpression

SetColumns() public static method

public static SetColumns ( this select, IEnumerable columns ) : SelectExpression
select this
columns IEnumerable
return SelectExpression

SetDistinct() public static method

public static SetDistinct ( this select, bool isDistinct ) : SelectExpression
select this
isDistinct bool
return SelectExpression

SetFrom() public static method

public static SetFrom ( this select, Expression from ) : SelectExpression
select this
from System.Linq.Expressions.Expression
return SelectExpression

SetGroupBy() public static method

public static SetGroupBy ( this select, IEnumerable groupBy ) : SelectExpression
select this
groupBy IEnumerable
return SelectExpression

SetOrderBy() public static method

public static SetOrderBy ( this select, IEnumerable orderBy ) : SelectExpression
select this
orderBy IEnumerable
return SelectExpression

SetReverse() public static method

public static SetReverse ( this select, bool isReverse ) : SelectExpression
select this
isReverse bool
return SelectExpression

SetSkip() public static method

public static SetSkip ( this select, Expression skip ) : SelectExpression
select this
skip System.Linq.Expressions.Expression
return SelectExpression

SetTake() public static method

public static SetTake ( this select, Expression take ) : SelectExpression
select this
take System.Linq.Expressions.Expression
return SelectExpression

SetWhere() public static method

public static SetWhere ( this select, Expression where ) : SelectExpression
select this
where System.Linq.Expressions.Expression
return SelectExpression