Поделиться через


SqlExpressionFactory.FindMapping(Type) Метод

Определение

Внимание!

Use IRelationalTypeMappingSource directly.

Находит сопоставление типов для заданного Typeобъекта .

public virtual Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping FindMapping (Type type);
[System.Obsolete("Use IRelationalTypeMappingSource directly.")]
public virtual Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping FindMapping (Type type);
[System.Obsolete("Use IRelationalTypeMappingSource directly.")]
public virtual Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping? FindMapping (Type type);
abstract member FindMapping : Type -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
override this.FindMapping : Type -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
[<System.Obsolete("Use IRelationalTypeMappingSource directly.")>]
abstract member FindMapping : Type -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
override this.FindMapping : Type -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
Public Overridable Function FindMapping (type As Type) As RelationalTypeMapping

Параметры

type
Type

Тип CLR.

Возвращаемое значение

Сопоставление типов или null значение , если ни одно из них не найдено.

Реализации

Атрибуты

Применяется к