Aracılığıyla paylaş


MutableEntityTypeExtensions.FindDeclaredForeignKeys Yöntem

Tanım

Verilen özellikleri kullanarak verilen IConventionEntityType üzerinde bildirilen 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 bulunacak özellikler.

Döndürülenler

Bildirilen yabancı anahtarlar.

Şunlara uygulanır