MutableEntityTypeExtensions.FindDeclaredForeignKeys(IMutableEntityType, IReadOnlyList<IProperty>) Yöntem

Tanım

Verilen özellikleri kullanarak verilen üzerinde bildirilen IConventionEntityType yabancı anahtarları alır.

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

Parametreler

entityType
IMutableEntityType

Varlık türü.

properties
IReadOnlyList<IProperty>

Yabancı anahtarların buluna özellikleri.

Döndürülenler

IEnumerable<IMutableForeignKey>

Bildirilen yabancı anahtarlar.

Şunlara uygulanır