Aracılığıyla paylaş


MutableEntityTypeExtensions.GetReferencingForeignKeys Yöntem

Tanım

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

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

Parametreler

entityType
IMutableEntityType

Varlık türü.

Döndürülenler

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

Şunlara uygulanır