RelationalTypeMappingSourceExtensions.GetMappingForValue Yöntem

Tanım

Aşırı Yüklemeler

GetMappingForValue(IRelationalTypeMappingSource, Object)

Belirli bir nesne için ilişkisel veritabanı türünü alır, hiçbir eşleme bulunmazsa oluşturulur.

GetMappingForValue(IRelationalTypeMappingSource, Object, IModel)

Belirli bir nesne için ilişkisel veritabanı türünü alır, hiçbir eşleme bulunmazsa oluşturulur.

GetMappingForValue(IRelationalTypeMappingSource, Object)

Belirli bir nesne için ilişkisel veritabanı türünü alır, hiçbir eşleme bulunmazsa oluşturulur.

public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping GetMappingForValue (this Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, object value);
public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping GetMappingForValue (this Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, object? value);
static member GetMappingForValue : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * obj -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
<Extension()>
Public Function GetMappingForValue (typeMappingSource As IRelationalTypeMappingSource, value As Object) As RelationalTypeMapping

Parametreler

typeMappingSource
IRelationalTypeMappingSource

Tür eşleme kaynağı.

value
Object

Eşleme alınacak nesne.

Döndürülenler

RelationalTypeMapping

Kullanılacak tür eşlemesi.

Şunlara uygulanır

GetMappingForValue(IRelationalTypeMappingSource, Object, IModel)

Belirli bir nesne için ilişkisel veritabanı türünü alır, hiçbir eşleme bulunmazsa oluşturulur.

public static Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping GetMappingForValue (this Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource typeMappingSource, object? value, Microsoft.EntityFrameworkCore.Metadata.IModel model);
static member GetMappingForValue : Microsoft.EntityFrameworkCore.Storage.IRelationalTypeMappingSource * obj * Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Storage.RelationalTypeMapping
<Extension()>
Public Function GetMappingForValue (typeMappingSource As IRelationalTypeMappingSource, value As Object, model As IModel) As RelationalTypeMapping

Parametreler

typeMappingSource
IRelationalTypeMappingSource

Tür eşleme kaynağı.

value
Object

Eşleme alınacak nesne.

model
IModel

Model.

Döndürülenler

RelationalTypeMapping

Kullanılacak tür eşlemesi.

Şunlara uygulanır