EntityTypeExtensions.FindOwnership(IEntityType) Yöntem

Tanım

Sahip olan bir tür veya aksi takdirde, sahip ile olan ilişkiyi döndürür null .

public static Microsoft.EntityFrameworkCore.Metadata.IForeignKey FindOwnership (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member FindOwnership : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> Microsoft.EntityFrameworkCore.Metadata.IForeignKey
<Extension()>
Public Function FindOwnership (entityType As IEntityType) As IForeignKey

Parametreler

entityType
IEntityType

Varlık türü.

Döndürülenler

IForeignKey

Bu, sahip olduğu bir tür veya yoksa sahip ile ilişki null .

Şunlara uygulanır