Aracılığıyla paylaş


EntityTypeExtensions.GetReferencingForeignKeys(IEntityType) Yöntem

Tanım

Belirli bir varlık türünü hedefleyen tüm yabancı anahtarları (örneğin, verilen varlık türünün sorumlu olduğu yabancı anahtarlar) alır.

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

Parametreler

entityType
IEntityType

Varlık türü.

Döndürülenler

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

Şunlara uygulanır