KeyExtensions.GetReferencingForeignKeys(IKey) Yöntem

Tanım

Belirtilen bir birincil veya alternatif anahtarı hedefleyen tüm yabancı anahtarları alır.

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

Parametreler

key
IKey

Yabancı anahtarların bulunacağı anahtar.

Döndürülenler

IEnumerable<IForeignKey>

Verilen anahtara başvuran yabancı anahtarlar.

Şunlara uygulanır