Udostępnij za pośrednictwem


RuntimeEntityType.IEntityType.FindDeclaredForeignKeys Metoda

Definicja

Pobiera klucze obce zadeklarowane na danej IEntityType podstawie przy użyciu podanych właściwości.

[System.Diagnostics.DebuggerStepThrough]
System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> IEntityType.FindDeclaredForeignKeys (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindDeclaredForeignKeys : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey>
override this.Microsoft.EntityFrameworkCore.Metadata.IEntityType.FindDeclaredForeignKeys : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey>
Function FindDeclaredForeignKeys (properties As IReadOnlyList(Of IReadOnlyProperty)) As IEnumerable(Of IForeignKey) Implements IEntityType.FindDeclaredForeignKeys

Parametry

properties
IReadOnlyList<IReadOnlyProperty>

Właściwości do znajdowania kluczy obcych.

Zwraca

Zadeklarowane klucze obce.

Implementuje

Atrybuty

Dotyczy