C# Класс EFBootstrap.Caching.Evaluator

Enables the partial evaluation of queries.
http://msdn.microsoft.com/en-us/library/bb546158.aspx http://petemontgomery.wordpress.com/2008/08/07/caching-the-results-of-linq-queries/ Copyright notice http://msdn.microsoft.com/en-gb/cc300389.aspx#O
Показать файл Открыть проект

Открытые методы

Метод Описание
PartialEval ( Expression expression ) : Expression

Performs evaluation and replacement of independent sub-trees.

PartialEval ( Expression expression, bool>.Func functionCanBeEvaluated ) : Expression

Performs evaluation and replacement of independent sub-trees.

Приватные методы

Метод Описание
CanBeEvaluatedLocally ( Expression expression ) : bool

Returns a value indicating whether the expression can be evaluated locally.

Описание методов

PartialEval() публичный статический Метод

Performs evaluation and replacement of independent sub-trees.
public static PartialEval ( Expression expression ) : Expression
expression System.Linq.Expressions.Expression The root of the expression tree.
Результат System.Linq.Expressions.Expression

PartialEval() публичный статический Метод

Performs evaluation and replacement of independent sub-trees.
public static PartialEval ( Expression expression, bool>.Func functionCanBeEvaluated ) : Expression
expression System.Linq.Expressions.Expression The root of the expression tree.
functionCanBeEvaluated bool>.Func A function that decides whether a given expression node can be part of the local function.
Результат System.Linq.Expressions.Expression