IEntityType.GetReferencingForeignKeys Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).
public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IForeignKey> GetReferencingForeignKeys ();
abstract member GetReferencingForeignKeys : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IForeignKey>
Public Function GetReferencingForeignKeys () As IEnumerable(Of IForeignKey)
Returns
The foreign keys that reference the given entity type.
Applies to
Feedback
Submit and view feedback for