RelationalCompositeMethodCallTranslator.Translate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Translate(MethodCallExpression) |
Translates the given method call expression. |
Translate(MethodCallExpression, IModel) |
Translates the given method call expression. |
Translate(MethodCallExpression)
Translates the given method call expression.
public virtual System.Linq.Expressions.Expression Translate (System.Linq.Expressions.MethodCallExpression methodCallExpression);
abstract member Translate : System.Linq.Expressions.MethodCallExpression -> System.Linq.Expressions.Expression
override this.Translate : System.Linq.Expressions.MethodCallExpression -> System.Linq.Expressions.Expression
Public Overridable Function Translate (methodCallExpression As MethodCallExpression) As Expression
Parameters
- methodCallExpression
- MethodCallExpression
The method call expression.
Returns
A SQL expression representing the translated MethodCallExpression.
Implements
Applies to
Translate(MethodCallExpression, IModel)
Translates the given method call expression.
public virtual System.Linq.Expressions.Expression Translate (System.Linq.Expressions.MethodCallExpression methodCallExpression, Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member Translate : System.Linq.Expressions.MethodCallExpression * Microsoft.EntityFrameworkCore.Metadata.IModel -> System.Linq.Expressions.Expression
override this.Translate : System.Linq.Expressions.MethodCallExpression * Microsoft.EntityFrameworkCore.Metadata.IModel -> System.Linq.Expressions.Expression
Public Overridable Function Translate (methodCallExpression As MethodCallExpression, model As IModel) As Expression
Parameters
- methodCallExpression
- MethodCallExpression
The method call expression.
- model
- IModel
The current model.
Returns
A SQL expression representing the translated MethodCallExpression.
Implements
Applies to
Entity Framework