EntityTypeExtensions.GetDeclaredReferencingForeignKeys(IEntityType) Yöntem

Tanım

Belirli bir varlık türünü hedefleyen tüm yabancı anahtarları alır (yani, belirtilen varlık türünün asıl olduğu yabancı anahtarlar).

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> GetDeclaredReferencingForeignKeys (this Microsoft.EntityFrameworkCore.Metadata.IEntityType entityType);
static member GetDeclaredReferencingForeignKeys : Microsoft.EntityFrameworkCore.Metadata.IEntityType -> seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey>
<Extension()>
Public Function GetDeclaredReferencingForeignKeys (entityType As IEntityType) As IEnumerable(Of IForeignKey)

Parametreler

entityType
IEntityType

Varlık türü.

Döndürülenler

IEnumerable<IForeignKey>

Verilen varlık türüne başvuran yabancı anahtarlar.

Şunlara uygulanır