RuntimeEntityType.IEntityType.GetReferencingForeignKeys Method

Definition

Gets all foreign keys that target a given entity type (i.e. foreign keys where the given entity type or a type it's derived from is the principal).

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

Returns

The foreign keys that reference the given entity type.

Implements

Attributes

Applies to