IProperty.GetContainingForeignKeys Method

Definition

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

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

Returns

The foreign keys that use this property.

Applies to