C# Class Shaolinq.Persistence.Linq.Optimizers.SqlConstantPlaceholderReplacer

Inheritance: Shaolinq.Persistence.Linq.Expressions.SqlExpressionVisitor
Mostra file Open project: tumtumtum/Shaolinq

Public Methods

Method Description
Replace ( Expression expression, Expression placeholderValues ) : Expression
Replace ( Expression expression, object placeholderValues ) : Expression

Protected Methods

Method Description
VisitConstantPlaceholder ( SqlConstantPlaceholderExpression constantPlaceholder ) : Expression

Private Methods

Method Description
SqlConstantPlaceholderReplacer ( Expression placeholderValues ) : System.Linq.Expressions
SqlConstantPlaceholderReplacer ( object placeholderValuesLiteral ) : System.Linq.Expressions

Method Details

Replace() public static method

public static Replace ( Expression expression, Expression placeholderValues ) : Expression
expression System.Linq.Expressions.Expression
placeholderValues System.Linq.Expressions.Expression
return System.Linq.Expressions.Expression

Replace() public static method

public static Replace ( Expression expression, object placeholderValues ) : Expression
expression System.Linq.Expressions.Expression
placeholderValues object
return System.Linq.Expressions.Expression

VisitConstantPlaceholder() protected method

protected VisitConstantPlaceholder ( SqlConstantPlaceholderExpression constantPlaceholder ) : Expression
constantPlaceholder Shaolinq.Persistence.Linq.Expressions.SqlConstantPlaceholderExpression
return System.Linq.Expressions.Expression