MutableEntityTypeExtensions.GetDeclaredReferencingForeignKeys(IMutableEntityType) Yöntem

Tanım

Verilen varlık türünü (verilen varlık türünün sorumlu olduğu yabancı anahtarlar) hedef alan tüm yabancı anahtarları alır.

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

Parametreler

entityType
IMutableEntityType

Varlık türü.

Döndürülenler

IEnumerable<IMutableForeignKey>

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

Şunlara uygulanır