RuntimeProperty.IReadOnlyProperty.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.IReadOnlyForeignKey> IReadOnlyProperty.GetContainingForeignKeys ();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty.GetContainingForeignKeys : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey>
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty.GetContainingForeignKeys : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyForeignKey>
Function GetContainingForeignKeys () As IEnumerable(Of IReadOnlyForeignKey) Implements IReadOnlyProperty.GetContainingForeignKeys

Returns

The foreign keys that use this property.

Implements

Attributes

Applies to