IReadOnlyProperty.GetContainingKeys Method

Definition

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

public System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey> GetContainingKeys ();
abstract member GetContainingKeys : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyKey>
Public Function GetContainingKeys () As IEnumerable(Of IReadOnlyKey)

Returns

The primary and alternate keys that use this property.

Applies to