RelationalCompositeMethodCallTranslator RelationalCompositeMethodCallTranslator Class

Definition

A base composite method call translator that dispatches to multiple specialized method call translators.

public abstract class RelationalCompositeMethodCallTranslator : IMethodCallTranslator
Public MustInherit Class RelationalCompositeMethodCallTranslator
    Implements IMethodCallTranslator
Inheritance
System.ObjectSystem.Object
RelationalCompositeMethodCallTranslatorRelationalCompositeMethodCallTranslator
Implements

Constructors

RelationalCompositeMethodCallTranslator(ILogger) RelationalCompositeMethodCallTranslator(ILogger)

Specialised constructor for use only by derived class.

protected RelationalCompositeMethodCallTranslator(ILogger logger)
Protected Sub New(logger As ILogger)
Parameters
logger
ILogger ILogger

A logger.

Methods

AddTranslators(IEnumerable) AddTranslators(IEnumerable(Of IMethodCallTranslator))

Adds additional translators to the dispatch list.

protected virtual void AddTranslators(IEnumerable<IMethodCallTranslator> translators)
Protected Overridable Sub AddTranslators(translators As IEnumerable(Of IMethodCallTranslator))
Parameters
translators
System.Collections.Generic.IEnumerable<IMethodCallTranslator> System.Collections.Generic.IEnumerable(Of IMethodCallTranslator)

The translators.

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.