Share via


RuntimeEntityType.IEntityType.FindDeclaredForeignKeys Method

Definition

Gets the foreign keys declared on the given IEntityType using the given properties.

[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

Parameters

properties
IReadOnlyList<IReadOnlyProperty>

The properties to find the foreign keys on.

Returns

Declared foreign keys.

Implements

Attributes

Applies to