ISqlExpressionFactory.FindMapping(Type) Method

Definition

Caution

Use IRelationalTypeMappingSource directly.

Finds the type mapping for a given Type.

C#
public Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping FindMapping (Type type);
C#
[System.Obsolete("Use IRelationalTypeMappingSource directly.")]
public Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping FindMapping (Type type);
C#
[System.Obsolete("Use IRelationalTypeMappingSource directly.")]
public Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? FindMapping (Type type);

Parameters

type
Type

The CLR type.

Returns

The type mapping, or null if none was found.

Attributes

Applies to

Product Versions (Obsolete)
Entity Framework Core 3.0, 3.1 (5.0, 6.0)