Share via


ExpressionExtensions.InferTypeMapping(SqlExpression[]) Method

Definition

Infers type mapping from given SqlExpressions.

public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping InferTypeMapping (params Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression[] expressions);
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? InferTypeMapping (params Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression[] expressions);
static member InferTypeMapping : Microsoft.EntityFrameworkCore.Query.SqlExpressions.SqlExpression[] -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
Public Shared Function InferTypeMapping (ParamArray expressions As SqlExpression()) As RelationalTypeMapping

Parameters

expressions
SqlExpression[]

Expressions to search for to find the type mapping.

Returns

A relational type mapping inferred from the expressions.

Applies to