Share via


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

Returns

The foreign keys that use this property.

Applies to