Udostępnij za pośrednictwem


IReadOnlyEntityType.FindDeclaredForeignKeys Metoda

Definicja

Pobiera klucze obce zadeklarowane w tym typie jednostki przy użyciu podanych właściwości.

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey> FindDeclaredForeignKeys (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
abstract member FindDeclaredForeignKeys : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey>
Public Function FindDeclaredForeignKeys (properties As IReadOnlyList(Of IReadOnlyProperty)) As IEnumerable(Of IReadOnlyForeignKey)

Parametry

properties
IReadOnlyList<IReadOnlyProperty>

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

Zwraca

Zadeklarowane klucze obce.

Dotyczy