Udostępnij przez


RuntimeEntityType.FindDeclaredForeignKeys Metoda

Definicja

Pobiera klucze obce zadeklarowane dla tego typu jednostki przy użyciu podanych właściwości.

public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.RuntimeForeignKey> 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.RuntimeForeignKey>
override this.FindDeclaredForeignKeys : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> seq<Microsoft.EntityFrameworkCore.Metadata.RuntimeForeignKey>
Public Overridable Function FindDeclaredForeignKeys (properties As IReadOnlyList(Of IReadOnlyProperty)) As IEnumerable(Of RuntimeForeignKey)

Parametry

properties
IReadOnlyList<IReadOnlyProperty>

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

Zwraca

Zadeklarowane klucze obce.

Dotyczy