Udostępnij za pośrednictwem


SqlExpressionFactory.FindMapping(Type) Metoda

Definicja

Przestroga

Use IRelationalTypeMappingSource directly.

Znajduje mapowanie typów dla danego Typeelementu .

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

Parametry

type
Type

Typ CLR.

Zwraca

Mapowanie typów lub null jeśli nie znaleziono żadnego.

Implementuje

Atrybuty

Dotyczy