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

Inheritance: SqlExpressionVisitor
Mostra file Open project: tumtumtum/Shaolinq Class Usage Examples

Public Methods

Method Description
FindAll ( Expression expression, Predicate isMatch ) : List
FindExists ( Expression expression, Predicate isMatch ) : bool
FindFirst ( Expression expression, Predicate isMatch ) : Expression

Protected Methods

Method Description
Visit ( Expression expression ) : Expression

Private Methods

Method Description
SqlExpressionFinder ( Predicate isMatch, bool findFirst ) : System

Method Details

FindAll() public static method

public static FindAll ( Expression expression, Predicate isMatch ) : List
expression System.Linq.Expressions.Expression
isMatch Predicate
return List

FindExists() public static method

public static FindExists ( Expression expression, Predicate isMatch ) : bool
expression System.Linq.Expressions.Expression
isMatch Predicate
return bool

FindFirst() public static method

public static FindFirst ( Expression expression, Predicate isMatch ) : Expression
expression System.Linq.Expressions.Expression
isMatch Predicate
return System.Linq.Expressions.Expression

Visit() protected method

protected Visit ( Expression expression ) : Expression
expression System.Linq.Expressions.Expression
return System.Linq.Expressions.Expression