RuntimeProperty.IProperty.GetContainingForeignKeys Method

Definition

Gets all foreign keys that use this property (including composite foreign keys in which this property is included).

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

Returns

The foreign keys that use this property.

Implements

Attributes

Applies to