SelectExpression SelectExpression Class

Represents a SQL SELECT expression.

Syntax

Declaration

public class SelectExpression : TableExpressionBasePublic Class SelectExpression
    Inherits TableExpressionBase

Inheritance Hierarchy

Inherited Members

NodeType,
NodeType,
QuerySource,
QuerySource,
Alias,
Alias,
Assign(Expression, Expression),
Assign(Expression, Expression),
MakeBinary(ExpressionType, Expression, Expression),
MakeBinary(ExpressionType, Expression, Expression),
MakeBinary(ExpressionType, Expression, Expression, Boolean, MethodInfo),
MakeBinary(ExpressionType, Expression, Expression, Boolean, MethodInfo),
MakeBinary(ExpressionType, Expression, Expression, Boolean, MethodInfo, LambdaExpression),
MakeBinary(ExpressionType, Expression, Expression, Boolean, MethodInfo, LambdaExpression),
Equal(Expression, Expression),
Equal(Expression, Expression),
Equal(Expression, Expression, Boolean, MethodInfo),
Equal(Expression, Expression, Boolean, MethodInfo),
ReferenceEqual(Expression, Expression),
ReferenceEqual(Expression, Expression),
NotEqual(Expression, Expression),
NotEqual(Expression, Expression),
NotEqual(Expression, Expression, Boolean, MethodInfo),
NotEqual(Expression, Expression, Boolean, MethodInfo),
ReferenceNotEqual(Expression, Expression),
ReferenceNotEqual(Expression, Expression),
GreaterThan(Expression, Expression),
GreaterThan(Expression, Expression),
GreaterThan(Expression, Expression, Boolean, MethodInfo),
GreaterThan(Expression, Expression, Boolean, MethodInfo),
LessThan(Expression, Expression),
LessThan(Expression, Expression),
LessThan(Expression, Expression, Boolean, MethodInfo),
LessThan(Expression, Expression, Boolean, MethodInfo),
GreaterThanOrEqual(Expression, Expression),
GreaterThanOrEqual(Expression, Expression),
GreaterThanOrEqual(Expression, Expression, Boolean, MethodInfo),
GreaterThanOrEqual(Expression, Expression, Boolean, MethodInfo),
LessThanOrEqual(Expression, Expression),
LessThanOrEqual(Expression, Expression),
LessThanOrEqual(Expression, Expression, Boolean, MethodInfo),
LessThanOrEqual(Expression, Expression, Boolean, MethodInfo),
AndAlso(Expression, Expression),
AndAlso(Expression, Expression),
AndAlso(Expression, Expression, MethodInfo),
AndAlso(Expression, Expression, MethodInfo),
OrElse(Expression, Expression),
OrElse(Expression, Expression),
OrElse(Expression, Expression, MethodInfo),
OrElse(Expression, Expression, MethodInfo),
Coalesce(Expression, Expression),
Coalesce(Expression, Expression),
Coalesce(Expression, Expression, LambdaExpression),
Coalesce(Expression, Expression, LambdaExpression),
Add(Expression, Expression),
Add(Expression, Expression),
Add(Expression, Expression, MethodInfo),
Add(Expression, Expression, MethodInfo),
AddAssign(Expression, Expression),
AddAssign(Expression, Expression),
AddAssign(Expression, Expression, MethodInfo),
AddAssign(Expression, Expression, MethodInfo),
AddAssign(Expression, Expression, MethodInfo, LambdaExpression),
AddAssign(Expression, Expression, MethodInfo, LambdaExpression),
AddAssignChecked(Expression, Expression),
AddAssignChecked(Expression, Expression),
AddAssignChecked(Expression, Expression, MethodInfo),
AddAssignChecked(Expression, Expression, MethodInfo),
AddAssignChecked(Expression, Expression, MethodInfo, LambdaExpression),
AddAssignChecked(Expression, Expression, MethodInfo, LambdaExpression),
AddChecked(Expression, Expression),
AddChecked(Expression, Expression),
AddChecked(Expression, Expression, MethodInfo),
AddChecked(Expression, Expression, MethodInfo),
Subtract(Expression, Expression),
Subtract(Expression, Expression),
Subtract(Expression, Expression, MethodInfo),
Subtract(Expression, Expression, MethodInfo),
SubtractAssign(Expression, Expression),
SubtractAssign(Expression, Expression),
SubtractAssign(Expression, Expression, MethodInfo),
SubtractAssign(Expression, Expression, MethodInfo),
SubtractAssign(Expression, Expression, MethodInfo, LambdaExpression),
SubtractAssign(Expression, Expression, MethodInfo, LambdaExpression),
SubtractAssignChecked(Expression, Expression),
SubtractAssignChecked(Expression, Expression),
SubtractAssignChecked(Expression, Expression, MethodInfo),
SubtractAssignChecked(Expression, Expression, MethodInfo),
SubtractAssignChecked(Expression, Expression, MethodInfo, LambdaExpression),
SubtractAssignChecked(Expression, Expression, MethodInfo, LambdaExpression),
SubtractChecked(Expression, Expression),
SubtractChecked(Expression, Expression),
SubtractChecked(Expression, Expression, MethodInfo),
SubtractChecked(Expression, Expression, MethodInfo),
Divide(Expression, Expression),
Divide(Expression, Expression),
Divide(Expression, Expression, MethodInfo),
Divide(Expression, Expression, MethodInfo),
DivideAssign(Expression, Expression),
DivideAssign(Expression, Expression),
DivideAssign(Expression, Expression, MethodInfo),
DivideAssign(Expression, Expression, MethodInfo),
DivideAssign(Expression, Expression, MethodInfo, LambdaExpression),
DivideAssign(Expression, Expression, MethodInfo, LambdaExpression),
Modulo(Expression, Expression),
Modulo(Expression, Expression),
Modulo(Expression, Expression, MethodInfo),
Modulo(Expression, Expression, MethodInfo),
ModuloAssign(Expression, Expression),
ModuloAssign(Expression, Expression),
ModuloAssign(Expression, Expression, MethodInfo),
ModuloAssign(Expression, Expression, MethodInfo),
ModuloAssign(Expression, Expression, MethodInfo, LambdaExpression),
ModuloAssign(Expression, Expression, MethodInfo, LambdaExpression),
Multiply(Expression, Expression),
Multiply(Expression, Expression),
Multiply(Expression, Expression, MethodInfo),
Multiply(Expression, Expression, MethodInfo),
MultiplyAssign(Expression, Expression),
MultiplyAssign(Expression, Expression),
MultiplyAssign(Expression, Expression, MethodInfo),
MultiplyAssign(Expression, Expression, MethodInfo),
MultiplyAssign(Expression, Expression, MethodInfo, LambdaExpression),
MultiplyAssign(Expression, Expression, MethodInfo, LambdaExpression),
MultiplyAssignChecked(Expression, Expression),
MultiplyAssignChecked(Expression, Expression),
MultiplyAssignChecked(Expression, Expression, MethodInfo),
MultiplyAssignChecked(Expression, Expression, MethodInfo),
MultiplyAssignChecked(Expression, Expression, MethodInfo, LambdaExpression),
MultiplyAssignChecked(Expression, Expression, MethodInfo, LambdaExpression),
MultiplyChecked(Expression, Expression),
MultiplyChecked(Expression, Expression),
MultiplyChecked(Expression, Expression, MethodInfo),
MultiplyChecked(Expression, Expression, MethodInfo),
LeftShift(Expression, Expression),
LeftShift(Expression, Expression),
LeftShift(Expression, Expression, MethodInfo),
LeftShift(Expression, Expression, MethodInfo),
LeftShiftAssign(Expression, Expression),
LeftShiftAssign(Expression, Expression),
LeftShiftAssign(Expression, Expression, MethodInfo),
LeftShiftAssign(Expression, Expression, MethodInfo),
LeftShiftAssign(Expression, Expression, MethodInfo, LambdaExpression),
LeftShiftAssign(Expression, Expression, MethodInfo, LambdaExpression),
RightShift(Expression, Expression),
RightShift(Expression, Expression),
RightShift(Expression, Expression, MethodInfo),
RightShift(Expression, Expression, MethodInfo),
RightShiftAssign(Expression, Expression),
RightShiftAssign(Expression, Expression),
RightShiftAssign(Expression, Expression, MethodInfo),
RightShiftAssign(Expression, Expression, MethodInfo),
RightShiftAssign(Expression, Expression, MethodInfo, LambdaExpression),
RightShiftAssign(Expression, Expression, MethodInfo, LambdaExpression),
And(Expression, Expression),
And(Expression, Expression),
And(Expression, Expression, MethodInfo),
And(Expression, Expression, MethodInfo),
AndAssign(Expression, Expression),
AndAssign(Expression, Expression),
AndAssign(Expression, Expression, MethodInfo),
AndAssign(Expression, Expression, MethodInfo),
AndAssign(Expression, Expression, MethodInfo, LambdaExpression),
AndAssign(Expression, Expression, MethodInfo, LambdaExpression),
Or(Expression, Expression),
Or(Expression, Expression),
Or(Expression, Expression, MethodInfo),
Or(Expression, Expression, MethodInfo),
OrAssign(Expression, Expression),
OrAssign(Expression, Expression),
OrAssign(Expression, Expression, MethodInfo),
OrAssign(Expression, Expression, MethodInfo),
OrAssign(Expression, Expression, MethodInfo, LambdaExpression),
OrAssign(Expression, Expression, MethodInfo, LambdaExpression),
ExclusiveOr(Expression, Expression),
ExclusiveOr(Expression, Expression),
ExclusiveOr(Expression, Expression, MethodInfo),
ExclusiveOr(Expression, Expression, MethodInfo),
ExclusiveOrAssign(Expression, Expression),
ExclusiveOrAssign(Expression, Expression),
ExclusiveOrAssign(Expression, Expression, MethodInfo),
ExclusiveOrAssign(Expression, Expression, MethodInfo),
ExclusiveOrAssign(Expression, Expression, MethodInfo, LambdaExpression),
ExclusiveOrAssign(Expression, Expression, MethodInfo, LambdaExpression),
Power(Expression, Expression),
Power(Expression, Expression),
Power(Expression, Expression, MethodInfo),
Power(Expression, Expression, MethodInfo),
PowerAssign(Expression, Expression),
PowerAssign(Expression, Expression),
PowerAssign(Expression, Expression, MethodInfo),
PowerAssign(Expression, Expression, MethodInfo),
PowerAssign(Expression, Expression, MethodInfo, LambdaExpression),
PowerAssign(Expression, Expression, MethodInfo, LambdaExpression),
ArrayIndex(Expression, Expression),
ArrayIndex(Expression, Expression),
Block(Expression, Expression),
Block(Expression, Expression),
Block(Expression, Expression, Expression),
Block(Expression, Expression, Expression),
Block(Expression, Expression, Expression, Expression),
Block(Expression, Expression, Expression, Expression),
Block(Expression, Expression, Expression, Expression, Expression),
Block(Expression, Expression, Expression, Expression, Expression),
Block(Expression[]),
Block(Expression()),
Block(IEnumerable<Expression>),
Block(IEnumerable(Of Expression)),
Block(Type, Expression[]),
Block(Type, Expression()),
Block(Type, IEnumerable<Expression>),
Block(Type, IEnumerable(Of Expression)),
Block(IEnumerable<ParameterExpression>, Expression[]),
Block(IEnumerable(Of ParameterExpression), Expression()),
Block(Type, IEnumerable<ParameterExpression>, Expression[]),
Block(Type, IEnumerable(Of ParameterExpression), Expression()),
Block(IEnumerable<ParameterExpression>, IEnumerable<Expression>),
Block(IEnumerable(Of ParameterExpression), IEnumerable(Of Expression)),
Block(Type, IEnumerable<ParameterExpression>, IEnumerable<Expression>),
Block(Type, IEnumerable(Of ParameterExpression), IEnumerable(Of Expression)),
Catch(Type, Expression),
Catch(Type, Expression),
Catch(ParameterExpression, Expression),
Catch(ParameterExpression, Expression),
Catch(Type, Expression, Expression),
Catch(Type, Expression, Expression),
Catch(ParameterExpression, Expression, Expression),
Catch(ParameterExpression, Expression, Expression),
MakeCatchBlock(Type, ParameterExpression, Expression, Expression),
MakeCatchBlock(Type, ParameterExpression, Expression, Expression),
Condition(Expression, Expression, Expression),
Condition(Expression, Expression, Expression),
Condition(Expression, Expression, Expression, Type),
Condition(Expression, Expression, Expression, Type),
IfThen(Expression, Expression),
IfThen(Expression, Expression),
IfThenElse(Expression, Expression, Expression),
IfThenElse(Expression, Expression, Expression),
Constant(Object),
Constant(Object),
Constant(Object, Type),
Constant(Object, Type),
DebugInfo(SymbolDocumentInfo, Int32, Int32, Int32, Int32),
DebugInfo(SymbolDocumentInfo, Int32, Int32, Int32, Int32),
ClearDebugInfo(SymbolDocumentInfo),
ClearDebugInfo(SymbolDocumentInfo),
Empty(),
Empty(),
Default(Type),
Default(Type),
MakeDynamic(Type, CallSiteBinder, Expression[]),
MakeDynamic(Type, CallSiteBinder, Expression()),
MakeDynamic(Type, CallSiteBinder, IEnumerable<Expression>),
MakeDynamic(Type, CallSiteBinder, IEnumerable(Of Expression)),
MakeDynamic(Type, CallSiteBinder, Expression),
MakeDynamic(Type, CallSiteBinder, Expression),
MakeDynamic(Type, CallSiteBinder, Expression, Expression),
MakeDynamic(Type, CallSiteBinder, Expression, Expression),
MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression),
MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression),
MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression, Expression),
MakeDynamic(Type, CallSiteBinder, Expression, Expression, Expression, Expression),
Dynamic(CallSiteBinder, Type, Expression[]),
Dynamic(CallSiteBinder, Type, Expression()),
Dynamic(CallSiteBinder, Type, Expression),
Dynamic(CallSiteBinder, Type, Expression),
Dynamic(CallSiteBinder, Type, Expression, Expression),
Dynamic(CallSiteBinder, Type, Expression, Expression),
Dynamic(CallSiteBinder, Type, Expression, Expression, Expression),
Dynamic(CallSiteBinder, Type, Expression, Expression, Expression),
Dynamic(CallSiteBinder, Type, Expression, Expression, Expression, Expression),
Dynamic(CallSiteBinder, Type, Expression, Expression, Expression, Expression),
Dynamic(CallSiteBinder, Type, IEnumerable<Expression>),
Dynamic(CallSiteBinder, Type, IEnumerable(Of Expression)),
ElementInit(MethodInfo, Expression[]),
ElementInit(MethodInfo, Expression()),
ElementInit(MethodInfo, IEnumerable<Expression>),
ElementInit(MethodInfo, IEnumerable(Of Expression)),
Reduce(),
Reduce(),
ReduceAndCheck(),
ReduceAndCheck(),
ReduceExtensions(),
ReduceExtensions(),
Break(LabelTarget),
Break(LabelTarget),
Break(LabelTarget, Expression),
Break(LabelTarget, Expression),
Break(LabelTarget, Type),
Break(LabelTarget, Type),
Break(LabelTarget, Expression, Type),
Break(LabelTarget, Expression, Type),
Continue(LabelTarget),
Continue(LabelTarget),
Continue(LabelTarget, Type),
Continue(LabelTarget, Type),
Return(LabelTarget),
Return(LabelTarget),
Return(LabelTarget, Type),
Return(LabelTarget, Type),
Return(LabelTarget, Expression),
Return(LabelTarget, Expression),
Return(LabelTarget, Expression, Type),
Return(LabelTarget, Expression, Type),
Goto(LabelTarget),
Goto(LabelTarget),
Goto(LabelTarget, Type),
Goto(LabelTarget, Type),
Goto(LabelTarget, Expression),
Goto(LabelTarget, Expression),
Goto(LabelTarget, Expression, Type),
Goto(LabelTarget, Expression, Type),
MakeGoto(GotoExpressionKind, LabelTarget, Expression, Type),
MakeGoto(GotoExpressionKind, LabelTarget, Expression, Type),
MakeIndex(Expression, PropertyInfo, IEnumerable<Expression>),
MakeIndex(Expression, PropertyInfo, IEnumerable(Of Expression)),
ArrayAccess(Expression, Expression[]),
ArrayAccess(Expression, Expression()),
ArrayAccess(Expression, IEnumerable<Expression>),
ArrayAccess(Expression, IEnumerable(Of Expression)),
Property(Expression, String, Expression[]),
Property(Expression, String, Expression()),
Property(Expression, PropertyInfo, Expression[]),
Property(Expression, PropertyInfo, Expression()),
Property(Expression, PropertyInfo, IEnumerable<Expression>),
Property(Expression, PropertyInfo, IEnumerable(Of Expression)),
Invoke(Expression, Expression[]),
Invoke(Expression, Expression()),
Invoke(Expression, IEnumerable<Expression>),
Invoke(Expression, IEnumerable(Of Expression)),
Label(LabelTarget),
Label(LabelTarget),
Label(LabelTarget, Expression),
Label(LabelTarget, Expression),
Label(),
Label(),
Label(String),
Label(String),
Label(Type),
Label(Type),
Label(Type, String),
Label(Type, String),
Lambda<TDelegate>(Expression, ParameterExpression[]),
Lambda(Of TDelegate)(Expression, ParameterExpression()),
Lambda<TDelegate>(Expression, Boolean, ParameterExpression[]),
Lambda(Of TDelegate)(Expression, Boolean, ParameterExpression()),
Lambda<TDelegate>(Expression, IEnumerable<ParameterExpression>),
Lambda(Of TDelegate)(Expression, IEnumerable(Of ParameterExpression)),
Lambda<TDelegate>(Expression, Boolean, IEnumerable<ParameterExpression>),
Lambda(Of TDelegate)(Expression, Boolean, IEnumerable(Of ParameterExpression)),
Lambda<TDelegate>(Expression, String, IEnumerable<ParameterExpression>),
Lambda(Of TDelegate)(Expression, String, IEnumerable(Of ParameterExpression)),
Lambda<TDelegate>(Expression, String, Boolean, IEnumerable<ParameterExpression>),
Lambda(Of TDelegate)(Expression, String, Boolean, IEnumerable(Of ParameterExpression)),
Lambda(Expression, ParameterExpression[]),
Lambda(Expression, ParameterExpression()),
Lambda(Expression, Boolean, ParameterExpression[]),
Lambda(Expression, Boolean, ParameterExpression()),
Lambda(Expression, IEnumerable<ParameterExpression>),
Lambda(Expression, IEnumerable(Of ParameterExpression)),
Lambda(Expression, Boolean, IEnumerable<ParameterExpression>),
Lambda(Expression, Boolean, IEnumerable(Of ParameterExpression)),
Lambda(Type, Expression, ParameterExpression[]),
Lambda(Type, Expression, ParameterExpression()),
Lambda(Type, Expression, Boolean, ParameterExpression[]),
Lambda(Type, Expression, Boolean, ParameterExpression()),
Lambda(Type, Expression, IEnumerable<ParameterExpression>),
Lambda(Type, Expression, IEnumerable(Of ParameterExpression)),
Lambda(Type, Expression, Boolean, IEnumerable<ParameterExpression>),
Lambda(Type, Expression, Boolean, IEnumerable(Of ParameterExpression)),
Lambda(Expression, String, IEnumerable<ParameterExpression>),
Lambda(Expression, String, IEnumerable(Of ParameterExpression)),
Lambda(Expression, String, Boolean, IEnumerable<ParameterExpression>),
Lambda(Expression, String, Boolean, IEnumerable(Of ParameterExpression)),
Lambda(Type, Expression, String, IEnumerable<ParameterExpression>),
Lambda(Type, Expression, String, IEnumerable(Of ParameterExpression)),
Lambda(Type, Expression, String, Boolean, IEnumerable<ParameterExpression>),
Lambda(Type, Expression, String, Boolean, IEnumerable(Of ParameterExpression)),
GetFuncType(Type[]),
GetFuncType(Type()),
TryGetFuncType(Type[], Type),
TryGetFuncType(Type(), Type),
GetActionType(Type[]),
GetActionType(Type()),
TryGetActionType(Type[], Type),
TryGetActionType(Type(), Type),
GetDelegateType(Type[]),
GetDelegateType(Type()),
ListInit(NewExpression, Expression[]),
ListInit(NewExpression, Expression()),
ListInit(NewExpression, IEnumerable<Expression>),
ListInit(NewExpression, IEnumerable(Of Expression)),
ListInit(NewExpression, MethodInfo, Expression[]),
ListInit(NewExpression, MethodInfo, Expression()),
ListInit(NewExpression, MethodInfo, IEnumerable<Expression>),
ListInit(NewExpression, MethodInfo, IEnumerable(Of Expression)),
ListInit(NewExpression, ElementInit[]),
ListInit(NewExpression, ElementInit()),
ListInit(NewExpression, IEnumerable<ElementInit>),
ListInit(NewExpression, IEnumerable(Of ElementInit)),
Loop(Expression),
Loop(Expression),
Loop(Expression, LabelTarget),
Loop(Expression, LabelTarget),
Loop(Expression, LabelTarget, LabelTarget),
Loop(Expression, LabelTarget, LabelTarget),
Bind(MemberInfo, Expression),
Bind(MemberInfo, Expression),
Bind(MethodInfo, Expression),
Bind(MethodInfo, Expression),
Field(Expression, FieldInfo),
Field(Expression, FieldInfo),
Field(Expression, String),
Field(Expression, String),
Field(Expression, Type, String),
Field(Expression, Type, String),
Property(Expression, String),
Property(Expression, String),
Property(Expression, Type, String),
Property(Expression, Type, String),
Property(Expression, PropertyInfo),
Property(Expression, PropertyInfo),
Property(Expression, MethodInfo),
Property(Expression, MethodInfo),
PropertyOrField(Expression, String),
PropertyOrField(Expression, String),
MakeMemberAccess(Expression, MemberInfo),
MakeMemberAccess(Expression, MemberInfo),
MemberInit(NewExpression, MemberBinding[]),
MemberInit(NewExpression, MemberBinding()),
MemberInit(NewExpression, IEnumerable<MemberBinding>),
MemberInit(NewExpression, IEnumerable(Of MemberBinding)),
ListBind(MemberInfo, ElementInit[]),
ListBind(MemberInfo, ElementInit()),
ListBind(MemberInfo, IEnumerable<ElementInit>),
ListBind(MemberInfo, IEnumerable(Of ElementInit)),
ListBind(MethodInfo, ElementInit[]),
ListBind(MethodInfo, ElementInit()),
ListBind(MethodInfo, IEnumerable<ElementInit>),
ListBind(MethodInfo, IEnumerable(Of ElementInit)),
MemberBind(MemberInfo, MemberBinding[]),
MemberBind(MemberInfo, MemberBinding()),
MemberBind(MemberInfo, IEnumerable<MemberBinding>),
MemberBind(MemberInfo, IEnumerable(Of MemberBinding)),
MemberBind(MethodInfo, MemberBinding[]),
MemberBind(MethodInfo, MemberBinding()),
MemberBind(MethodInfo, IEnumerable<MemberBinding>),
MemberBind(MethodInfo, IEnumerable(Of MemberBinding)),
Call(MethodInfo, Expression),
Call(MethodInfo, Expression),
Call(MethodInfo, Expression, Expression),
Call(MethodInfo, Expression, Expression),
Call(MethodInfo, Expression, Expression, Expression),
Call(MethodInfo, Expression, Expression, Expression),
Call(MethodInfo, Expression, Expression, Expression, Expression),
Call(MethodInfo, Expression, Expression, Expression, Expression),
Call(MethodInfo, Expression, Expression, Expression, Expression, Expression),
Call(MethodInfo, Expression, Expression, Expression, Expression, Expression),
Call(MethodInfo, Expression[]),
Call(MethodInfo, Expression()),
Call(MethodInfo, IEnumerable<Expression>),
Call(MethodInfo, IEnumerable(Of Expression)),
Call(Expression, MethodInfo),
Call(Expression, MethodInfo),
Call(Expression, MethodInfo, Expression[]),
Call(Expression, MethodInfo, Expression()),
Call(Expression, MethodInfo, Expression, Expression),
Call(Expression, MethodInfo, Expression, Expression),
Call(Expression, MethodInfo, Expression, Expression, Expression),
Call(Expression, MethodInfo, Expression, Expression, Expression),
Call(Expression, String, Type[], Expression[]),
Call(Expression, String, Type(), Expression()),
Call(Type, String, Type[], Expression[]),
Call(Type, String, Type(), Expression()),
Call(Expression, MethodInfo, IEnumerable<Expression>),
Call(Expression, MethodInfo, IEnumerable(Of Expression)),
ArrayIndex(Expression, Expression[]),
ArrayIndex(Expression, Expression()),
ArrayIndex(Expression, IEnumerable<Expression>),
ArrayIndex(Expression, IEnumerable(Of Expression)),
NewArrayInit(Type, Expression[]),
NewArrayInit(Type, Expression()),
NewArrayInit(Type, IEnumerable<Expression>),
NewArrayInit(Type, IEnumerable(Of Expression)),
NewArrayBounds(Type, Expression[]),
NewArrayBounds(Type, Expression()),
NewArrayBounds(Type, IEnumerable<Expression>),
NewArrayBounds(Type, IEnumerable(Of Expression)),
New(ConstructorInfo),
New(ConstructorInfo),
New(ConstructorInfo, Expression[]),
New(ConstructorInfo, Expression()),
New(ConstructorInfo, IEnumerable<Expression>),
New(ConstructorInfo, IEnumerable(Of Expression)),
New(ConstructorInfo, IEnumerable<Expression>, IEnumerable<MemberInfo>),
New(ConstructorInfo, IEnumerable(Of Expression), IEnumerable(Of MemberInfo)),
New(ConstructorInfo, IEnumerable<Expression>, MemberInfo[]),
New(ConstructorInfo, IEnumerable(Of Expression), MemberInfo()),
New(Type),
New(Type),
Parameter(Type),
Parameter(Type),
Variable(Type),
Variable(Type),
Parameter(Type, String),
Parameter(Type, String),
Variable(Type, String),
Variable(Type, String),
RuntimeVariables(ParameterExpression[]),
RuntimeVariables(ParameterExpression()),
RuntimeVariables(IEnumerable<ParameterExpression>),
RuntimeVariables(IEnumerable(Of ParameterExpression)),
SwitchCase(Expression, Expression[]),
SwitchCase(Expression, Expression()),
SwitchCase(Expression, IEnumerable<Expression>),
SwitchCase(Expression, IEnumerable(Of Expression)),
Switch(Expression, SwitchCase[]),
Switch(Expression, SwitchCase()),
Switch(Expression, Expression, SwitchCase[]),
Switch(Expression, Expression, SwitchCase()),
Switch(Expression, Expression, MethodInfo, SwitchCase[]),
Switch(Expression, Expression, MethodInfo, SwitchCase()),
Switch(Type, Expression, Expression, MethodInfo, SwitchCase[]),
Switch(Type, Expression, Expression, MethodInfo, SwitchCase()),
Switch(Expression, Expression, MethodInfo, IEnumerable<SwitchCase>),
Switch(Expression, Expression, MethodInfo, IEnumerable(Of SwitchCase)),
Switch(Type, Expression, Expression, MethodInfo, IEnumerable<SwitchCase>),
Switch(Type, Expression, Expression, MethodInfo, IEnumerable(Of SwitchCase)),
SymbolDocument(String),
SymbolDocument(String),
SymbolDocument(String, Guid),
SymbolDocument(String, Guid),
SymbolDocument(String, Guid, Guid),
SymbolDocument(String, Guid, Guid),
SymbolDocument(String, Guid, Guid, Guid),
SymbolDocument(String, Guid, Guid, Guid),
TryFault(Expression, Expression),
TryFault(Expression, Expression),
TryFinally(Expression, Expression),
TryFinally(Expression, Expression),
TryCatch(Expression, CatchBlock[]),
TryCatch(Expression, CatchBlock()),
TryCatchFinally(Expression, Expression, CatchBlock[]),
TryCatchFinally(Expression, Expression, CatchBlock()),
MakeTry(Type, Expression, Expression, Expression, IEnumerable<CatchBlock>),
MakeTry(Type, Expression, Expression, Expression, IEnumerable(Of CatchBlock)),
TypeIs(Expression, Type),
TypeIs(Expression, Type),
TypeEqual(Expression, Type),
TypeEqual(Expression, Type),
MakeUnary(ExpressionType, Expression, Type),
MakeUnary(ExpressionType, Expression, Type),
MakeUnary(ExpressionType, Expression, Type, MethodInfo),
MakeUnary(ExpressionType, Expression, Type, MethodInfo),
Negate(Expression),
Negate(Expression),
Negate(Expression, MethodInfo),
Negate(Expression, MethodInfo),
UnaryPlus(Expression),
UnaryPlus(Expression),
UnaryPlus(Expression, MethodInfo),
UnaryPlus(Expression, MethodInfo),
NegateChecked(Expression),
NegateChecked(Expression),
NegateChecked(Expression, MethodInfo),
NegateChecked(Expression, MethodInfo),
Not(Expression),
Not(Expression),
Not(Expression, MethodInfo),
Not(Expression, MethodInfo),
IsFalse(Expression),
IsFalse(Expression),
IsFalse(Expression, MethodInfo),
IsFalse(Expression, MethodInfo),
IsTrue(Expression),
IsTrue(Expression),
IsTrue(Expression, MethodInfo),
IsTrue(Expression, MethodInfo),
OnesComplement(Expression),
OnesComplement(Expression),
OnesComplement(Expression, MethodInfo),
OnesComplement(Expression, MethodInfo),
TypeAs(Expression, Type),
TypeAs(Expression, Type),
Unbox(Expression, Type),
Unbox(Expression, Type),
Convert(Expression, Type),
Convert(Expression, Type),
Convert(Expression, Type, MethodInfo),
Convert(Expression, Type, MethodInfo),
ConvertChecked(Expression, Type),
ConvertChecked(Expression, Type),
ConvertChecked(Expression, Type, MethodInfo),
ConvertChecked(Expression, Type, MethodInfo),
ArrayLength(Expression),
ArrayLength(Expression),
Quote(Expression),
Quote(Expression),
Rethrow(),
Rethrow(),
Rethrow(Type),
Rethrow(Type),
Throw(Expression),
Throw(Expression),
Throw(Expression, Type),
Throw(Expression, Type),
Increment(Expression),
Increment(Expression),
Increment(Expression, MethodInfo),
Increment(Expression, MethodInfo),
Decrement(Expression),
Decrement(Expression),
Decrement(Expression, MethodInfo),
Decrement(Expression, MethodInfo),
PreIncrementAssign(Expression),
PreIncrementAssign(Expression),
PreIncrementAssign(Expression, MethodInfo),
PreIncrementAssign(Expression, MethodInfo),
PreDecrementAssign(Expression),
PreDecrementAssign(Expression),
PreDecrementAssign(Expression, MethodInfo),
PreDecrementAssign(Expression, MethodInfo),
PostIncrementAssign(Expression),
PostIncrementAssign(Expression),
PostIncrementAssign(Expression, MethodInfo),
PostIncrementAssign(Expression, MethodInfo),
PostDecrementAssign(Expression),
PostDecrementAssign(Expression),
PostDecrementAssign(Expression, MethodInfo),
PostDecrementAssign(Expression, MethodInfo),
CanReduce,
CanReduce,
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

Creates a new instance of SelectExpression.

Creates a new instance of SelectExpression.

Properties summary

Gets or sets a value indicating whether this SelectExpression is DISTINCT.

Gets or sets a value indicating whether this expression projects a single wildcard ('*').

Gets or sets the LIMIT of this SelectExpression.

Gets or sets the OFFSET of this SelectExpression.

The SQL ORDER BY of this SelectExpression.

Gets or sets the predicate corresponding to the WHERE part of the SELECT expression.

The projection of this SelectExpression.

The tables making up the FROM part of the SELECT expression.

Type of this expression.

Methods summary

Dispatches to the specific visit method for this node type.

Adds an expression with an alias to the projection.

Adds a SQL CROSS JOIN to this SelectExpression.

Adds a SQL INNER JOIN to this SelectExpression.

Adds a SQL INNER JOIN to this SelectExpression.

Adds a SQL LATERAL JOIN to this SelectExpression.

Adds a SQL LEFT OUTER JOIN to this SelectExpression.

Adds a SQL LEFT OUTER JOIN to this SelectExpression.

Adds a table to this SelectExpression.

Adds tables to this SelectExprssion.

Adds a single to the order by.

Adds multiple expressions to the ORDER BY of this SelectExpression.

Adds a column to the ORDER BY of this SelectExpression.

Adds an AliasExpression to the projection.

Adds a ColumnExpression to the projection.

Adds an expression to the projection.

Adds an expression to the projection.

Adds a column to the projection.

Clears the column expressions from the projection.

Clears the ORDER BY of this SelectExpression.

Clears the projection.

Removes any tables added to this SelectExpression.

Makes a copy of this SelectExpression.

Creates the default query SQL generator.

Creates the FromSql query SQL generator.

Transforms the projection of this SelectExpression by expanding the wildcard ('*') projection into individual explicit projection expressions.

Computes the index in Projection corresponding to the supplied property and query source.

Gets the types of the expressions in Projection.

Gets the table corresponding to the supplied query source.

Determines whether or not this SelectExpression handles the given query source.

Determines if this SelectExpression contains any correlated subqueries.

Determines whether this SelectExpression is an identity query. An identity query has a single table, and returns all of the rows from that table, unmodified.

Prepends multiple ordering expressions to the ORDER BY of this SelectExpression.

Creates a subquery based on this SelectExpression and makes that table the single entry in

Tables. Clears all other top-level aspects of this SelectExpression.

Removes expressions from the projection corresponding to the supplied expressions.

Removes a range from the projection.

Removes a table from this SelectExpression.

Sets a System.Linq.Expressions.ConditionalExpression as the single projected expression in this SelectExpression.

Sets an expression as the single projected expression in this SelectExpression.

Convert this object into a string representation.

Updates the table expression of any column expressions in the target expression.

Reduces the node and then calls the System.Linq.Expressions.ExpressionVisitor.Visit(System.Linq.Expressions.Expression) method passing the reduced expression. Throws an exception if the node isn't reducible.

Constructors

  • SelectExpression(IQuerySqlGeneratorFactory, RelationalQueryCompilationContext)
    SelectExpression(IQuerySqlGeneratorFactory, RelationalQueryCompilationContext)

    Creates a new instance of SelectExpression.

    public SelectExpression(IQuerySqlGeneratorFactory querySqlGeneratorFactory, RelationalQueryCompilationContext queryCompilationContext)Public Sub New(querySqlGeneratorFactory As IQuerySqlGeneratorFactory, queryCompilationContext As RelationalQueryCompilationContext)

    Parameters

  • SelectExpression(IQuerySqlGeneratorFactory, RelationalQueryCompilationContext, String)
    SelectExpression(IQuerySqlGeneratorFactory, RelationalQueryCompilationContext, String)

    Creates a new instance of SelectExpression.

    public SelectExpression(IQuerySqlGeneratorFactory querySqlGeneratorFactory, RelationalQueryCompilationContext queryCompilationContext, string alias)Public Sub New(querySqlGeneratorFactory As IQuerySqlGeneratorFactory, queryCompilationContext As RelationalQueryCompilationContext, alias As String)

    Parameters

Properties

  • IsDistinct
    IsDistinct

    Gets or sets a value indicating whether this SelectExpression is DISTINCT.

    public virtual bool IsDistinct { get; set; }Public Overridable Property IsDistinct As Boolean

    Property Value

    • System.Boolean
      System.Boolean

      true if this SelectExpression is distinct, false if not.

  • IsProjectStar
    IsProjectStar

    Gets or sets a value indicating whether this expression projects a single wildcard ('*').

    public virtual bool IsProjectStar { get; set; }Public Overridable Property IsProjectStar As Boolean

    Property Value

    • System.Boolean
      System.Boolean

      true if this SelectExpression is project star, false if not.

  • Limit
    Limit

    Gets or sets the LIMIT of this SelectExpression.

    public virtual Expression Limit { get; set; }Public Overridable Property Limit As Expression

    Property Value

    • System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

      The limit.

  • Offset
    Offset

    Gets or sets the OFFSET of this SelectExpression.

    public virtual Expression Offset { get; set; }Public Overridable Property Offset As Expression

    Property Value

    • System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

      The offset.

  • OrderBy
    OrderBy

    The SQL ORDER BY of this SelectExpression.

    public virtual IReadOnlyList<Ordering> OrderBy { get; }Public Overridable ReadOnly Property OrderBy As IReadOnlyList(Of Ordering)

    Property Value

    • System.Collections.Generic.IReadOnlyList<T><Ordering>
      System.Collections.Generic.IReadOnlyList<T>(Of Ordering)
  • Predicate
    Predicate

    Gets or sets the predicate corresponding to the WHERE part of the SELECT expression.

    public virtual Expression Predicate { get; set; }Public Overridable Property Predicate As Expression

    Property Value

    • System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

      The predicate.

  • Projection
    Projection

    The projection of this SelectExpression.

    public virtual IReadOnlyList<Expression> Projection { get; }Public Overridable ReadOnly Property Projection As IReadOnlyList(Of Expression)

    Property Value

    • System.Collections.Generic.IReadOnlyList<T><System.Linq.Expressions.Expression>
      System.Collections.Generic.IReadOnlyList<T>(Of System.Linq.Expressions.Expression)
  • Tables
    Tables

    The tables making up the FROM part of the SELECT expression.

    public virtual IReadOnlyList<TableExpressionBase> Tables { get; }Public Overridable ReadOnly Property Tables As IReadOnlyList(Of TableExpressionBase)

    Property Value

  • Type
    Type

    Type of this expression.

    public override Type Type { get; }Public Overrides ReadOnly Property Type As Type

    Property Value

    • System.Type
      System.Type

Methods

  • Accept(ExpressionVisitor)
    Accept(ExpressionVisitor)

    Dispatches to the specific visit method for this node type.

    protected override Expression Accept(ExpressionVisitor visitor)Protected Overrides Function Accept(visitor As ExpressionVisitor) As Expression

    Parameters

    • visitor
      System.Linq.Expressions.ExpressionVisitor
      System.Linq.Expressions.ExpressionVisitor

    Returns

    • System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression
  • AddAliasToProjection(String, Expression)
    AddAliasToProjection(String, Expression)

    Adds an expression with an alias to the projection.

    public virtual int AddAliasToProjection(string alias, Expression expression)Public Overridable Function AddAliasToProjection(alias As String, expression As Expression) As Integer

    Parameters

    • alias
      System.String
      System.String

      The alias.

    • expression
      System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

      The expression.

    Returns

    • System.Int32
      System.Int32

      The corresponding index of the added expression in Projection.

  • AddCrossJoin(TableExpressionBase, IEnumerable<Expression>)
    AddCrossJoin(TableExpressionBase, IEnumerable(Of Expression))

    Adds a SQL CROSS JOIN to this SelectExpression.

    public virtual void AddCrossJoin(TableExpressionBase tableExpression, IEnumerable<Expression> projection)Public Overridable Sub AddCrossJoin(tableExpression As TableExpressionBase, projection As IEnumerable(Of Expression))

    Parameters

    • tableExpression

      The target table expression.

    • projection
      System.Collections.Generic.IEnumerable<T><System.Linq.Expressions.Expression>
      System.Collections.Generic.IEnumerable<T>(Of System.Linq.Expressions.Expression)

      A sequence of expressions that should be added to the projection.

  • AddInnerJoin(TableExpressionBase)
    AddInnerJoin(TableExpressionBase)

    Adds a SQL INNER JOIN to this SelectExpression.

    public virtual JoinExpressionBase AddInnerJoin(TableExpressionBase tableExpression)Public Overridable Function AddInnerJoin(tableExpression As TableExpressionBase) As JoinExpressionBase

    Parameters

    Returns

  • AddInnerJoin(TableExpressionBase, IEnumerable<Expression>)
    AddInnerJoin(TableExpressionBase, IEnumerable(Of Expression))

    Adds a SQL INNER JOIN to this SelectExpression.

    public virtual JoinExpressionBase AddInnerJoin(TableExpressionBase tableExpression, IEnumerable<Expression> projection)Public Overridable Function AddInnerJoin(tableExpression As TableExpressionBase, projection As IEnumerable(Of Expression)) As JoinExpressionBase

    Parameters

    • tableExpression

      The target table expression.

    • projection
      System.Collections.Generic.IEnumerable<T><System.Linq.Expressions.Expression>
      System.Collections.Generic.IEnumerable<T>(Of System.Linq.Expressions.Expression)

      A sequence of expressions that should be added to the projection.

    Returns

  • AddLateralJoin(TableExpressionBase, IEnumerable<Expression>)
    AddLateralJoin(TableExpressionBase, IEnumerable(Of Expression))

    Adds a SQL LATERAL JOIN to this SelectExpression.

    public virtual void AddLateralJoin(TableExpressionBase tableExpression, IEnumerable<Expression> projection)Public Overridable Sub AddLateralJoin(tableExpression As TableExpressionBase, projection As IEnumerable(Of Expression))

    Parameters

    • tableExpression

      The target table expression.

    • projection
      System.Collections.Generic.IEnumerable<T><System.Linq.Expressions.Expression>
      System.Collections.Generic.IEnumerable<T>(Of System.Linq.Expressions.Expression)

      A sequence of expressions that should be added to the projection.

  • AddLeftOuterJoin(TableExpressionBase)
    AddLeftOuterJoin(TableExpressionBase)

    Adds a SQL LEFT OUTER JOIN to this SelectExpression.

    public virtual JoinExpressionBase AddLeftOuterJoin(TableExpressionBase tableExpression)Public Overridable Function AddLeftOuterJoin(tableExpression As TableExpressionBase) As JoinExpressionBase

    Parameters

    Returns

  • AddLeftOuterJoin(TableExpressionBase, IEnumerable<Expression>)
    AddLeftOuterJoin(TableExpressionBase, IEnumerable(Of Expression))

    Adds a SQL LEFT OUTER JOIN to this SelectExpression.

    public virtual JoinExpressionBase AddLeftOuterJoin(TableExpressionBase tableExpression, IEnumerable<Expression> projection)Public Overridable Function AddLeftOuterJoin(tableExpression As TableExpressionBase, projection As IEnumerable(Of Expression)) As JoinExpressionBase

    Parameters

    • tableExpression

      The target table expression.

    • projection
      System.Collections.Generic.IEnumerable<T><System.Linq.Expressions.Expression>
      System.Collections.Generic.IEnumerable<T>(Of System.Linq.Expressions.Expression)

      A sequence of expressions that should be added to the projection.

    Returns

  • AddTable(TableExpressionBase, Boolean)
    AddTable(TableExpressionBase, Boolean)

    Adds a table to this SelectExpression.

    public virtual void AddTable(TableExpressionBase tableExpression, bool createUniqueAlias = true)Public Overridable Sub AddTable(tableExpression As TableExpressionBase, createUniqueAlias As Boolean = True)

    Parameters

  • AddTables(IEnumerable<TableExpressionBase>)
    AddTables(IEnumerable(Of TableExpressionBase))

    Adds tables to this SelectExprssion.

    public virtual void AddTables(IEnumerable<TableExpressionBase> tableExpressions)Public Overridable Sub AddTables(tableExpressions As IEnumerable(Of TableExpressionBase))

    Parameters

  • AddToOrderBy(Ordering)
    AddToOrderBy(Ordering)

    Adds a single to the order by.

    public virtual void AddToOrderBy(Ordering ordering)Public Overridable Sub AddToOrderBy(ordering As Ordering)

    Parameters

    • ordering
      Ordering
      Ordering

      The ordering.

  • AddToOrderBy(IEnumerable<Ordering>)
    AddToOrderBy(IEnumerable(Of Ordering))

    Adds multiple expressions to the ORDER BY of this SelectExpression.

    public virtual void AddToOrderBy(IEnumerable<Ordering> orderings)Public Overridable Sub AddToOrderBy(orderings As IEnumerable(Of Ordering))

    Parameters

    • orderings
      System.Collections.Generic.IEnumerable<T><Ordering>
      System.Collections.Generic.IEnumerable<T>(Of Ordering)

      The orderings expressions.

  • AddToOrderBy(String, IProperty, TableExpressionBase, OrderingDirection)
    AddToOrderBy(String, IProperty, TableExpressionBase, OrderingDirection)

    Adds a column to the ORDER BY of this SelectExpression.

    public virtual AliasExpression AddToOrderBy(string column, IProperty property, TableExpressionBase table, OrderingDirection orderingDirection)Public Overridable Function AddToOrderBy(column As String, property As IProperty, table As TableExpressionBase, orderingDirection As OrderingDirection) As AliasExpression

    Parameters

    Returns

  • AddToProjection(AliasExpression)
    AddToProjection(AliasExpression)

    Adds an AliasExpression to the projection.

    public virtual int AddToProjection(AliasExpression aliasExpression)Public Overridable Function AddToProjection(aliasExpression As AliasExpression) As Integer

    Parameters

    Returns

    • System.Int32
      System.Int32

      The corresponding index of the added expression in Projection.

  • AddToProjection(ColumnExpression)
    AddToProjection(ColumnExpression)

    Adds a ColumnExpression to the projection.

    public virtual int AddToProjection(ColumnExpression columnExpression)Public Overridable Function AddToProjection(columnExpression As ColumnExpression) As Integer

    Parameters

    Returns

    • System.Int32
      System.Int32

      The corresponding index of the added expression in Projection.

  • AddToProjection(Expression)
    AddToProjection(Expression)

    Adds an expression to the projection.

    public virtual int AddToProjection(Expression expression)Public Overridable Function AddToProjection(expression As Expression) As Integer

    Parameters

    • expression
      System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

      The expression.

    Returns

    • System.Int32
      System.Int32

      The corresponding index of the added expression in Projection.

  • AddToProjection(Expression, Boolean)
    AddToProjection(Expression, Boolean)

    Adds an expression to the projection.

    public virtual int AddToProjection(Expression expression, bool resetProjectStar)Public Overridable Function AddToProjection(expression As Expression, resetProjectStar As Boolean) As Integer

    Parameters

    • expression
      System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

      The expression.

    • resetProjectStar
      System.Boolean
      System.Boolean

      true to reset the value of IsProjectStar.

    Returns

    • System.Int32
      System.Int32

      The corresponding index of the added expression in Projection.

  • AddToProjection(String, IProperty, IQuerySource)
    AddToProjection(String, IProperty, IQuerySource)

    Adds a column to the projection.

    public virtual int AddToProjection(string column, IProperty property, IQuerySource querySource)Public Overridable Function AddToProjection(column As String, property As IProperty, querySource As IQuerySource) As Integer

    Parameters

    • column
      System.String
      System.String

      The column name.

    • property

      The corresponding EF property.

    • querySource
      IQuerySource
      IQuerySource

      The originating query source.

    Returns

    • System.Int32
      System.Int32

      The corresponding index of the added expression in Projection.

  • ClearColumnProjections()
    ClearColumnProjections()

    Clears the column expressions from the projection.

    public virtual void ClearColumnProjections()Public Overridable Sub ClearColumnProjections
  • ClearOrderBy()
    ClearOrderBy()

    Clears the ORDER BY of this SelectExpression.

    public virtual void ClearOrderBy()Public Overridable Sub ClearOrderBy
  • ClearProjection()
    ClearProjection()

    Clears the projection.

    public virtual void ClearProjection()Public Overridable Sub ClearProjection
  • ClearTables()
    ClearTables()

    Removes any tables added to this SelectExpression.

    public virtual void ClearTables()Public Overridable Sub ClearTables
  • Clone(String)
    Clone(String)

    Makes a copy of this SelectExpression.

    public virtual SelectExpression Clone(string alias = null)Public Overridable Function Clone(alias As String = Nothing) As SelectExpression

    Parameters

    • alias
      System.String
      System.String

      The alias.

    Returns

  • CreateDefaultQuerySqlGenerator()
    CreateDefaultQuerySqlGenerator()

    Creates the default query SQL generator.

    public virtual IQuerySqlGenerator CreateDefaultQuerySqlGenerator()Public Overridable Function CreateDefaultQuerySqlGenerator As IQuerySqlGenerator

    Returns

  • CreateFromSqlQuerySqlGenerator(String, Expression)
    CreateFromSqlQuerySqlGenerator(String, Expression)

    Creates the FromSql query SQL generator.

    public virtual IQuerySqlGenerator CreateFromSqlQuerySqlGenerator(string sql, Expression arguments)Public Overridable Function CreateFromSqlQuerySqlGenerator(sql As String, arguments As Expression) As IQuerySqlGenerator

    Parameters

    • sql
      System.String
      System.String

      The SQL.

    • arguments
      System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

      The arguments.

    Returns

  • ExplodeStarProjection()
    ExplodeStarProjection()

    Transforms the projection of this SelectExpression by expanding the wildcard ('*') projection into individual explicit projection expressions.

    public virtual void ExplodeStarProjection()Public Overridable Sub ExplodeStarProjection
  • GetProjectionIndex(IProperty, IQuerySource)
    GetProjectionIndex(IProperty, IQuerySource)

    Computes the index in Projection corresponding to the supplied property and query source.

    public virtual int GetProjectionIndex(IProperty property, IQuerySource querySource)Public Overridable Function GetProjectionIndex(property As IProperty, querySource As IQuerySource) As Integer

    Parameters

    • property

      The corresponding EF property.

    • querySource
      IQuerySource
      IQuerySource

      The originating query source.

    Returns

    • System.Int32
      System.Int32

      The projection index.

  • GetProjectionTypes()
    GetProjectionTypes()

    Gets the types of the expressions in Projection.

    public virtual IEnumerable<Type> GetProjectionTypes()Public Overridable Function GetProjectionTypes As IEnumerable(Of Type)

    Returns

    • System.Collections.Generic.IEnumerable<T><System.Type>
      System.Collections.Generic.IEnumerable<T>(Of System.Type)

      The types of the expressions in Projection.

  • GetTableForQuerySource(IQuerySource)
    GetTableForQuerySource(IQuerySource)

    Gets the table corresponding to the supplied query source.

    public virtual TableExpressionBase GetTableForQuerySource(IQuerySource querySource)Public Overridable Function GetTableForQuerySource(querySource As IQuerySource) As TableExpressionBase

    Parameters

    • querySource
      IQuerySource
      IQuerySource

      The query source.

    Returns

  • HandlesQuerySource(IQuerySource)
    HandlesQuerySource(IQuerySource)

    Determines whether or not this SelectExpression handles the given query source.

    public virtual bool HandlesQuerySource(IQuerySource querySource)Public Overridable Function HandlesQuerySource(querySource As IQuerySource) As Boolean

    Parameters

    • querySource
      IQuerySource
      IQuerySource

      The query source.

    Returns

    • System.Boolean
      System.Boolean

      true if the supplied query source is handled by this SelectExpression; otherwise false.

  • IsCorrelated()
    IsCorrelated()

    Determines if this SelectExpression contains any correlated subqueries.

    public virtual bool IsCorrelated()Public Overridable Function IsCorrelated As Boolean

    Returns

    • System.Boolean
      System.Boolean

      true if correlated, false if not.

  • IsIdentityQuery()
    IsIdentityQuery()

    Determines whether this SelectExpression is an identity query. An identity query has a single table, and returns all of the rows from that table, unmodified.

    public virtual bool IsIdentityQuery()Public Overridable Function IsIdentityQuery As Boolean

    Returns

    • System.Boolean
      System.Boolean

      true if this SelectExpression is an identity query, false if not.

  • PrependToOrderBy(IEnumerable<Ordering>)
    PrependToOrderBy(IEnumerable(Of Ordering))

    Prepends multiple ordering expressions to the ORDER BY of this SelectExpression.

    public virtual void PrependToOrderBy(IEnumerable<Ordering> orderings)Public Overridable Sub PrependToOrderBy(orderings As IEnumerable(Of Ordering))

    Parameters

    • orderings
      System.Collections.Generic.IEnumerable<T><Ordering>
      System.Collections.Generic.IEnumerable<T>(Of Ordering)

      The orderings expressions.

  • PushDownSubquery()
    PushDownSubquery()

    Creates a subquery based on this SelectExpression and makes that table the single entry in

    Tables. Clears all other top-level aspects of this SelectExpression.

    public virtual SelectExpression PushDownSubquery()Public Overridable Function PushDownSubquery As SelectExpression

    Returns

  • RemoveFromProjection(IEnumerable<Ordering>)
    RemoveFromProjection(IEnumerable(Of Ordering))

    Removes expressions from the projection corresponding to the supplied expressions.

    public virtual void RemoveFromProjection(IEnumerable<Ordering> orderBy)Public Overridable Sub RemoveFromProjection(orderBy As IEnumerable(Of Ordering))

    Parameters

    • orderBy
      System.Collections.Generic.IEnumerable<T><Ordering>
      System.Collections.Generic.IEnumerable<T>(Of Ordering)

      The Orderings to remove from the projection.

  • RemoveRangeFromProjection(Int32)
    RemoveRangeFromProjection(Int32)

    Removes a range from the projection.

    public virtual void RemoveRangeFromProjection(int index)Public Overridable Sub RemoveRangeFromProjection(index As Integer)

    Parameters

    • index
      System.Int32
      System.Int32

      Zero-based index of the start of the range to remove.

  • RemoveTable(TableExpressionBase)
    RemoveTable(TableExpressionBase)

    Removes a table from this SelectExpression.

    public virtual void RemoveTable(TableExpressionBase tableExpression)Public Overridable Sub RemoveTable(tableExpression As TableExpressionBase)

    Parameters

  • SetProjectionConditionalExpression(ConditionalExpression)
    SetProjectionConditionalExpression(ConditionalExpression)

    Sets a System.Linq.Expressions.ConditionalExpression as the single projected expression in this SelectExpression.

    public virtual void SetProjectionConditionalExpression(ConditionalExpression conditionalExpression)Public Overridable Sub SetProjectionConditionalExpression(conditionalExpression As ConditionalExpression)

    Parameters

    • conditionalExpression
      System.Linq.Expressions.ConditionalExpression
      System.Linq.Expressions.ConditionalExpression

      The conditional expression.

  • SetProjectionExpression(Expression)
    SetProjectionExpression(Expression)

    Sets an expression as the single projected expression in this SelectExpression.

    public virtual void SetProjectionExpression(Expression expression)Public Overridable Sub SetProjectionExpression(expression As Expression)

    Parameters

    • expression
      System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

      The expression.

  • ToString()
    ToString()

    Convert this object into a string representation.

    public override string ToString()Public Overrides Function ToString As String

    Returns

    • System.String
      System.String

      A string that represents this object.

  • UpdateColumnExpression(Expression, TableExpressionBase)
    UpdateColumnExpression(Expression, TableExpressionBase)

    Updates the table expression of any column expressions in the target expression.

    public virtual Expression UpdateColumnExpression(Expression expression, TableExpressionBase tableExpression)Public Overridable Function UpdateColumnExpression(expression As Expression, tableExpression As TableExpressionBase) As Expression

    Parameters

    Returns

    • System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

      An updated expression.

  • VisitChildren(ExpressionVisitor)
    VisitChildren(ExpressionVisitor)

    Reduces the node and then calls the System.Linq.Expressions.ExpressionVisitor.Visit(System.Linq.Expressions.Expression) method passing the reduced expression. Throws an exception if the node isn't reducible.

    protected override Expression VisitChildren(ExpressionVisitor visitor)Protected Overrides Function VisitChildren(visitor As ExpressionVisitor) As Expression

    Parameters

    • visitor
      System.Linq.Expressions.ExpressionVisitor
      System.Linq.Expressions.ExpressionVisitor

      An instance of System.Linq.Expressions.ExpressionVisitor.

    Returns

    • System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

      The expression being visited, or an expression which should replace it in the tree.

    Remarks

    Override this method to provide logic to walk the node's children. A typical implementation will call visitor.Visit on each of its children, and if any of them change, should return a new copy of itself with the modified children.

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll