RelationalTypeMapperExtensions.GetMappingForValue Methode

Definition

Achtung

Use IRelationalTypeMappingSource instead.

Ruft den relationalen Datenbanktyp für ein bestimmtes -Objekt ab und löst aus, wenn keine Zuordnung gefunden wird.

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

Parameter

typeMapper
IRelationalTypeMapper

Die Typzuordnung.

value
Object

Das Objekt, für das die Zuordnung abgerufen werden soll.

Gibt zurück

Die zu verwendende Typzuordnung.

Attribute

Gilt für: