ParameterRebinder
Assembly: ServiceStack.OrmLite.dll
View Source
Declaration
public class ParameterRebinder : SqlExpressionVisitor
Methods
ReplaceParameters(Dictionary<ParameterExpression, ParameterExpression>, Expression)
View Source
Declaration
public static Expression ReplaceParameters(Dictionary<ParameterExpression, ParameterExpression> map, Expression exp)
Returns
Expression
Parameters
Type | Name |
---|---|
Dictionary<ParameterExpression,ParameterExpression> | map |
Expression | exp |
VisitParameter(ParameterExpression)
View Source
Declaration
protected override Expression VisitParameter(ParameterExpression p)
Returns
Expression
Parameters
Type | Name |
---|---|
ParameterExpression | p |
Inherited Methods
Visit(Expression)
View Source
Declaration
protected virtual Expression Visit(Expression exp)
Returns
Expression
Parameters
Type | Name |
---|---|
Expression | exp |
VisitBinary(BinaryExpression)
View Source
Declaration
protected virtual Expression VisitBinary(BinaryExpression b)
Returns
Expression
Parameters
Type | Name |
---|---|
BinaryExpression | b |
VisitBinding(MemberBinding)
View Source
Declaration
protected virtual MemberBinding VisitBinding(MemberBinding binding)
Returns
MemberBinding
Parameters
Type | Name |
---|---|
MemberBinding | binding |
VisitBindingList(ReadOnlyCollection<MemberBinding>)
View Source
Declaration
protected virtual IEnumerable<MemberBinding> VisitBindingList(ReadOnlyCollection<MemberBinding> original)
Returns
IEnumerable<MemberBinding>
Parameters
Type | Name |
---|---|
ReadOnlyCollection<MemberBinding> | original |
VisitConditional(ConditionalExpression)
View Source
Declaration
protected virtual Expression VisitConditional(ConditionalExpression c)
Returns
Expression
Parameters
Type | Name |
---|---|
ConditionalExpression | c |
VisitConstant(ConstantExpression)
View Source
Declaration
protected virtual Expression VisitConstant(ConstantExpression c)
Returns
Expression
Parameters
Type | Name |
---|---|
ConstantExpression | c |
VisitElementInitializer(ElementInit)
View Source
Declaration
protected virtual ElementInit VisitElementInitializer(ElementInit initializer)
Returns
ElementInit
Parameters
Type | Name |
---|---|
ElementInit | initializer |
VisitElementInitializerList(ReadOnlyCollection<ElementInit>)
View Source
Declaration
protected virtual IEnumerable<ElementInit> VisitElementInitializerList(ReadOnlyCollection<ElementInit> original)
Returns
IEnumerable<ElementInit>
Parameters
Type | Name |
---|---|
ReadOnlyCollection<ElementInit> | original |
VisitExpressionList(ReadOnlyCollection<Expression>)
View Source
Declaration
protected virtual ReadOnlyCollection<Expression> VisitExpressionList(ReadOnlyCollection<Expression> original)
Returns
ReadOnlyCollection<Expression>
Parameters
Type | Name |
---|---|
ReadOnlyCollection<Expression> | original |
VisitInvocation(InvocationExpression)
View Source
Declaration
protected virtual Expression VisitInvocation(InvocationExpression iv)
Returns
Expression
Parameters
Type | Name |
---|---|
InvocationExpression | iv |
VisitLambda(LambdaExpression)
View Source
Declaration
protected virtual Expression VisitLambda(LambdaExpression lambda)
Returns
Expression
Parameters
Type | Name |
---|---|
LambdaExpression | lambda |
VisitListInit(ListInitExpression)
View Source
Declaration
protected virtual Expression VisitListInit(ListInitExpression init)
Returns
Expression
Parameters
Type | Name |
---|---|
ListInitExpression | init |
VisitMemberAccess(MemberExpression)
View Source
Declaration
protected virtual Expression VisitMemberAccess(MemberExpression m)
Returns
Expression
Parameters
Type | Name |
---|---|
MemberExpression | m |
VisitMemberAssignment(MemberAssignment)
View Source
Declaration
protected virtual MemberAssignment VisitMemberAssignment(MemberAssignment assignment)
Returns
MemberAssignment
Parameters
Type | Name |
---|---|
MemberAssignment | assignment |
VisitMemberInit(MemberInitExpression)
View Source
Declaration
protected virtual Expression VisitMemberInit(MemberInitExpression init)
Returns
Expression
Parameters
Type | Name |
---|---|
MemberInitExpression | init |
VisitMemberListBinding(MemberListBinding)
View Source
Declaration
protected virtual MemberListBinding VisitMemberListBinding(MemberListBinding binding)
Returns
MemberListBinding
Parameters
Type | Name |
---|---|
MemberListBinding | binding |
VisitMemberMemberBinding(MemberMemberBinding)
View Source
Declaration
protected virtual MemberMemberBinding VisitMemberMemberBinding(MemberMemberBinding binding)
Returns
MemberMemberBinding
Parameters
Type | Name |
---|---|
MemberMemberBinding | binding |
VisitMethodCall(MethodCallExpression)
View Source
Declaration
protected virtual Expression VisitMethodCall(MethodCallExpression m)
Returns
Expression
Parameters
Type | Name |
---|---|
MethodCallExpression | m |
VisitNew(NewExpression)
View Source
Declaration
protected virtual NewExpression VisitNew(NewExpression nex)
Returns
NewExpression
Parameters
Type | Name |
---|---|
NewExpression | nex |
VisitNewArray(NewArrayExpression)
View Source
Declaration
protected virtual Expression VisitNewArray(NewArrayExpression na)
Returns
Expression
Parameters
Type | Name |
---|---|
NewArrayExpression | na |
VisitParameter(ParameterExpression)
View Source
Declaration
protected virtual Expression VisitParameter(ParameterExpression p)
Returns
Expression
Parameters
Type | Name |
---|---|
ParameterExpression | p |
VisitTypeIs(TypeBinaryExpression)
View Source
Declaration
protected virtual Expression VisitTypeIs(TypeBinaryExpression b)
Returns
Expression
Parameters
Type | Name |
---|---|
TypeBinaryExpression | b |
VisitUnary(UnaryExpression)
View Source
Declaration
protected virtual Expression VisitUnary(UnaryExpression u)
Returns
Expression
Parameters
Type | Name |
---|---|
UnaryExpression | u |