Dela via


IReadOnlyKey.GetReferencingForeignKeys Method

Definition

Gets all foreign keys that target a given primary or alternate key.

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

Returns

The foreign keys that reference the given key.

Applies to