Share via


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

Returns

The primary and alternate keys that use this property.

Applies to