Skip to main content

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
TypeName
Dictionary<ParameterExpression,ParameterExpression>map
Expressionexp

VisitParameter(ParameterExpression)

View Source
Declaration
protected override Expression VisitParameter(ParameterExpression p)
Returns

Expression

Parameters
TypeName
ParameterExpressionp

Inherited Methods

Visit(Expression)

View Source
Declaration
protected virtual Expression Visit(Expression exp)
Returns

Expression

Parameters
TypeName
Expressionexp

VisitBinary(BinaryExpression)

View Source
Declaration
protected virtual Expression VisitBinary(BinaryExpression b)
Returns

Expression

Parameters
TypeName
BinaryExpressionb

VisitBinding(MemberBinding)

View Source
Declaration
protected virtual MemberBinding VisitBinding(MemberBinding binding)
Returns

MemberBinding

Parameters
TypeName
MemberBindingbinding

VisitBindingList(ReadOnlyCollection<MemberBinding>)

View Source
Declaration
protected virtual IEnumerable<MemberBinding> VisitBindingList(ReadOnlyCollection<MemberBinding> original)
Returns

IEnumerable<MemberBinding>

Parameters
TypeName
ReadOnlyCollection<MemberBinding>original

VisitConditional(ConditionalExpression)

View Source
Declaration
protected virtual Expression VisitConditional(ConditionalExpression c)
Returns

Expression

Parameters
TypeName
ConditionalExpressionc

VisitConstant(ConstantExpression)

View Source
Declaration
protected virtual Expression VisitConstant(ConstantExpression c)
Returns

Expression

Parameters
TypeName
ConstantExpressionc

VisitElementInitializer(ElementInit)

View Source
Declaration
protected virtual ElementInit VisitElementInitializer(ElementInit initializer)
Returns

ElementInit

Parameters
TypeName
ElementInitinitializer

VisitElementInitializerList(ReadOnlyCollection<ElementInit>)

View Source
Declaration
protected virtual IEnumerable<ElementInit> VisitElementInitializerList(ReadOnlyCollection<ElementInit> original)
Returns

IEnumerable<ElementInit>

Parameters
TypeName
ReadOnlyCollection<ElementInit>original

VisitExpressionList(ReadOnlyCollection<Expression>)

View Source
Declaration
protected virtual ReadOnlyCollection<Expression> VisitExpressionList(ReadOnlyCollection<Expression> original)
Returns

ReadOnlyCollection<Expression>

Parameters
TypeName
ReadOnlyCollection<Expression>original

VisitInvocation(InvocationExpression)

View Source
Declaration
protected virtual Expression VisitInvocation(InvocationExpression iv)
Returns

Expression

Parameters
TypeName
InvocationExpressioniv

VisitLambda(LambdaExpression)

View Source
Declaration
protected virtual Expression VisitLambda(LambdaExpression lambda)
Returns

Expression

Parameters
TypeName
LambdaExpressionlambda

VisitListInit(ListInitExpression)

View Source
Declaration
protected virtual Expression VisitListInit(ListInitExpression init)
Returns

Expression

Parameters
TypeName
ListInitExpressioninit

VisitMemberAccess(MemberExpression)

View Source
Declaration
protected virtual Expression VisitMemberAccess(MemberExpression m)
Returns

Expression

Parameters
TypeName
MemberExpressionm

VisitMemberAssignment(MemberAssignment)

View Source
Declaration
protected virtual MemberAssignment VisitMemberAssignment(MemberAssignment assignment)
Returns

MemberAssignment

Parameters
TypeName
MemberAssignmentassignment

VisitMemberInit(MemberInitExpression)

View Source
Declaration
protected virtual Expression VisitMemberInit(MemberInitExpression init)
Returns

Expression

Parameters
TypeName
MemberInitExpressioninit

VisitMemberListBinding(MemberListBinding)

View Source
Declaration
protected virtual MemberListBinding VisitMemberListBinding(MemberListBinding binding)
Returns

MemberListBinding

Parameters
TypeName
MemberListBindingbinding

VisitMemberMemberBinding(MemberMemberBinding)

View Source
Declaration
protected virtual MemberMemberBinding VisitMemberMemberBinding(MemberMemberBinding binding)
Returns

MemberMemberBinding

Parameters
TypeName
MemberMemberBindingbinding

VisitMethodCall(MethodCallExpression)

View Source
Declaration
protected virtual Expression VisitMethodCall(MethodCallExpression m)
Returns

Expression

Parameters
TypeName
MethodCallExpressionm

VisitNew(NewExpression)

View Source
Declaration
protected virtual NewExpression VisitNew(NewExpression nex)
Returns

NewExpression

Parameters
TypeName
NewExpressionnex

VisitNewArray(NewArrayExpression)

View Source
Declaration
protected virtual Expression VisitNewArray(NewArrayExpression na)
Returns

Expression

Parameters
TypeName
NewArrayExpressionna

VisitParameter(ParameterExpression)

View Source
Declaration
protected virtual Expression VisitParameter(ParameterExpression p)
Returns

Expression

Parameters
TypeName
ParameterExpressionp

VisitTypeIs(TypeBinaryExpression)

View Source
Declaration
protected virtual Expression VisitTypeIs(TypeBinaryExpression b)
Returns

Expression

Parameters
TypeName
TypeBinaryExpressionb

VisitUnary(UnaryExpression)

View Source
Declaration
protected virtual Expression VisitUnary(UnaryExpression u)
Returns

Expression

Parameters
TypeName
UnaryExpressionu