C# Class DataServiceProvider.DSPMethodTranslatingVisitor

Expression visitor which translates calls to methods on the DataServiceProviderMethods class into expressions which can be evaluated by LINQ to Objects.
Inheritance: ExpressionVisitor
ファイルを表示 Open project: object/NorthwindOData Class Usage Examples

Public Methods

Method Description
TranslateExpression ( Expression expression ) : Expression

Method which translates an expression using the DataServiceProviderMethods methods into a new expression which can be evaluated by LINQ to Objects.

Private Methods

Method Description
VisitMethodCall ( MethodCallExpression m ) : Expression

MethodCallExpression visit method

Method Details

TranslateExpression() public static method

Method which translates an expression using the DataServiceProviderMethods methods into a new expression which can be evaluated by LINQ to Objects.
public static TranslateExpression ( Expression expression ) : Expression
expression System.Linq.Expressions.Expression The expression to translate.
return System.Linq.Expressions.Expression