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

Returns

The foreign keys that use this property.

Applies to