C# Class IQ.Data.Parameterizer

Converts user arguments into named-value parameters
Inheritance: DbExpressionVisitor
Mostra file Open project: maravillas/linq-to-delicious

Public Methods

Method Description
Parameterize ( Expression expression ) : Expression

Protected Methods

Method Description
VisitConstant ( ConstantExpression c ) : Expression
VisitParameter ( System.Linq.Expressions.ParameterExpression p ) : Expression
VisitProjection ( ProjectionExpression proj ) : Expression

Private Methods

Method Description
GetNamedValue ( Expression e ) : Expression
IsNumeric ( Type type ) : bool
Parameterizer ( ) : System

Method Details

Parameterize() public static method

public static Parameterize ( Expression expression ) : Expression
expression System.Linq.Expressions.Expression
return System.Linq.Expressions.Expression

VisitConstant() protected method

protected VisitConstant ( ConstantExpression c ) : Expression
c System.Linq.Expressions.ConstantExpression
return System.Linq.Expressions.Expression

VisitParameter() protected method

protected VisitParameter ( System.Linq.Expressions.ParameterExpression p ) : Expression
p System.Linq.Expressions.ParameterExpression
return System.Linq.Expressions.Expression

VisitProjection() protected method

protected VisitProjection ( ProjectionExpression proj ) : Expression
proj ProjectionExpression
return System.Linq.Expressions.Expression