MultipleOverloadStaticMethodCallTranslator MultipleOverloadStaticMethodCallTranslator Class

A base LINQ expression translator for CLR System.Linq.Expressions.MethodCallExpression expressions that have multiple overloads.

Syntax

Declaration

public abstract class MultipleOverloadStaticMethodCallTranslator : IMethodCallTranslatorPublic MustInherit Class MultipleOverloadStaticMethodCallTranslator
    Implements IMethodCallTranslator

Inheritance Hierarchy

  • System.Object
    System.Object
  • MultipleOverloadStaticMethodCallTranslator
    MultipleOverloadStaticMethodCallTranslator

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Constructors summary

Specialised constructor for use only by derived class.

Methods summary

Translates the given method call expression.

Constructors

  • MultipleOverloadStaticMethodCallTranslator(Type, String, String)
    MultipleOverloadStaticMethodCallTranslator(Type, String, String)

    Specialised constructor for use only by derived class.

    protected MultipleOverloadStaticMethodCallTranslator(Type declaringType, string clrMethodName, string sqlFunctionName)Protected Sub New(declaringType As Type, clrMethodName As String, sqlFunctionName As String)

    Parameters

    • declaringType
      System.Type
      System.Type

      The declaring type of the method.

    • clrMethodName
      System.String
      System.String

      Name of the method.

    • sqlFunctionName
      System.String
      System.String

      The name of the target SQL function.

Methods

  • Translate(MethodCallExpression)
    Translate(MethodCallExpression)

    Translates the given method call expression.

    public virtual Expression Translate(MethodCallExpression methodCallExpression)Public Overridable Function Translate(methodCallExpression As MethodCallExpression) As Expression

    Parameters

    • methodCallExpression
      System.Linq.Expressions.MethodCallExpression
      System.Linq.Expressions.MethodCallExpression

      The method call expression.

    Returns

    • System.Linq.Expressions.Expression
      System.Linq.Expressions.Expression

      A SQL expression representing the translated MethodCallExpression.

Details

Assembly

Microsoft.EntityFrameworkCore.Relational.dll