Udostępnij za pośrednictwem


RelationalTypeMapperExtensions.GetMappingForValue Metoda

Definicja

Przestroga

Use IRelationalTypeMappingSource instead.

Pobiera typ relacyjnej bazy danych dla danego obiektu, zgłaszając, jeśli nie znaleziono mapowania.

public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping GetMappingForValue (this Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper typeMapper, object value);
[System.Obsolete("Use IRelationalTypeMappingSource instead.")]
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping GetMappingForValue (this Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper typeMapper, object value);
static member GetMappingForValue : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper * obj -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
[<System.Obsolete("Use IRelationalTypeMappingSource instead.")>]
static member GetMappingForValue : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMapper * obj -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
<Extension()>
Public Function GetMappingForValue (typeMapper As IRelationalTypeMapper, value As Object) As RelationalTypeMapping

Parametry

typeMapper
IRelationalTypeMapper

Maper typu.

value
Object

Obiekt, dla który ma uzyskać mapowanie.

Zwraca

Mapowanie typów do użycia.

Atrybuty

Dotyczy