Share via


RuntimeProperty.IReadOnlyProperty.GetContainingKeys Method

Definition

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

[System.Diagnostics.DebuggerStepThrough]
System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey> IReadOnlyProperty.GetContainingKeys ();
[<System.Diagnostics.DebuggerStepThrough>]
abstract member Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty.GetContainingKeys : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey>
override this.Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty.GetContainingKeys : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey>
Function GetContainingKeys () As IEnumerable(Of IReadOnlyKey) Implements IReadOnlyProperty.GetContainingKeys

Returns

The primary and alternate keys that use this property.

Implements

Attributes

Applies to