MultipleOverloadStaticMethodCallTranslator MultipleOverloadStaticMethodCallTranslator Class

Definition

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

public abstract class MultipleOverloadStaticMethodCallTranslator : IMethodCallTranslator
Public MustInherit Class MultipleOverloadStaticMethodCallTranslator
    Implements IMethodCallTranslator
Inheritance
System.ObjectSystem.Object
MultipleOverloadStaticMethodCallTranslatorMultipleOverloadStaticMethodCallTranslator
Implements

Inherited Members

System.Object

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

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.