Table of Contents

Class ExpressionExtensions

Namespace
Microsoft.EntityFrameworkCore.Query
Assembly
Microsoft.EntityFrameworkCore.Relational.dll

Extension methods for Expression types.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public static class ExpressionExtensions
Inheritance
ExpressionExtensions
Inherited Members

Methods

InferTypeMapping(params SqlExpression[])

Infers type mapping from given SqlExpressions.

public static RelationalTypeMapping InferTypeMapping(params SqlExpression[] expressions)

Parameters

expressions SqlExpression[]

Expressions to search for to find the type mapping.

Returns

RelationalTypeMapping

A relational type mapping inferred from the expressions.