Share via


IConventionProperty.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.IConventionForeignKey> GetContainingForeignKeys ();
abstract member GetContainingForeignKeys : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionForeignKey>
Public Function GetContainingForeignKeys () As IEnumerable(Of IConventionForeignKey)

Returns

The foreign keys that use this property.

Applies to