ITypeMappingSource.FindMapping Yöntem

Tanım

Aşırı Yüklemeler

FindMapping(IProperty)

Verilen için tür eşlemesini bulur IProperty .

FindMapping(MemberInfo)

Bir MemberInfo alanı veya CLR türünün özelliğini temsil eden bir için tür eşlemesini bulur.

Note: Bu yöntemi yalnızca kullanılabilir olmadığında çağırın IProperty , aksi takdirde çağırın FindMapping(IProperty)

FindMapping(Type)

Verilen için tür eşlemesini bulur Type .

Note: Bu yöntemi yalnızca veya yoksa çağırın IProperty IModel , aksi takdirde çağırın FindMapping(IProperty) veya FindMapping(Type, IModel)

FindMapping(Type, IModel)

Verilen bir kural için, hesaba yönelik tür eşlemesini bulur Type .

Note: Bu yöntemi yalnızca Hayır ise çağırın IProperty , aksi takdirde çağırın FindMapping(IProperty) .

FindMapping(IProperty)

Verilen için tür eşlemesini bulur IProperty .

public Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping FindMapping (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
public Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping? FindMapping (Microsoft.EntityFrameworkCore.Metadata.IProperty property);
abstract member FindMapping : Microsoft.EntityFrameworkCore.Metadata.IProperty -> Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping
Public Function FindMapping (property As IProperty) As CoreTypeMapping

Parametreler

property
IProperty

Özellik.

Döndürülenler

CoreTypeMapping

Tür eşleme veya null Hiçbiri bulunmazsa.

Şunlara uygulanır

FindMapping(MemberInfo)

Bir MemberInfo alanı veya CLR türünün özelliğini temsil eden bir için tür eşlemesini bulur.

Note: Bu yöntemi yalnızca kullanılabilir olmadığında çağırın IProperty , aksi takdirde çağırın FindMapping(IProperty)

public Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping FindMapping (System.Reflection.MemberInfo member);
public Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping? FindMapping (System.Reflection.MemberInfo member);
abstract member FindMapping : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping
Public Function FindMapping (member As MemberInfo) As CoreTypeMapping

Parametreler

member
MemberInfo

Alan veya özellik.

Döndürülenler

CoreTypeMapping

Tür eşleme veya null Hiçbiri bulunmazsa.

Şunlara uygulanır

FindMapping(Type)

Verilen için tür eşlemesini bulur Type .

Note: Bu yöntemi yalnızca veya yoksa çağırın IProperty IModel , aksi takdirde çağırın FindMapping(IProperty) veya FindMapping(Type, IModel)

public Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping FindMapping (Type type);
public Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping? FindMapping (Type type);
abstract member FindMapping : Type -> Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping
Public Function FindMapping (type As Type) As CoreTypeMapping

Parametreler

type
Type

CLR türü.

Döndürülenler

CoreTypeMapping

Tür eşleme veya null Hiçbiri bulunmazsa.

Şunlara uygulanır

FindMapping(Type, IModel)

Verilen bir kural için, hesaba yönelik tür eşlemesini bulur Type .

Note: Bu yöntemi yalnızca Hayır ise çağırın IProperty , aksi takdirde çağırın FindMapping(IProperty) .

public Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping? FindMapping (Type type, Microsoft.EntityFrameworkCore.Metadata.IModel model);
abstract member FindMapping : Type * Microsoft.EntityFrameworkCore.Metadata.IModel -> Microsoft.EntityFrameworkCore.Storage.CoreTypeMapping
Public Function FindMapping (type As Type, model As IModel) As CoreTypeMapping

Parametreler

type
Type

CLR türü.

model
IModel

Model.

Döndürülenler

CoreTypeMapping

Tür eşleme veya null Hiçbiri bulunmazsa.

Şunlara uygulanır