RelationalCompositeMethodCallTranslator RelationalCompositeMethodCallTranslator Class

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

Syntax

Declaration

public abstract class RelationalCompositeMethodCallTranslator : IMethodCallTranslatorPublic MustInherit Class RelationalCompositeMethodCallTranslator
    Implements IMethodCallTranslator

Inheritance Hierarchy

  • System.Object
    System.Object
  • RelationalCompositeMethodCallTranslator
    RelationalCompositeMethodCallTranslator

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

Adds additional translators to the dispatch list.

Translates the given method call expression.

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<IMethodCallTranslator>)
    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

  • 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