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

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

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object

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.