RuntimeEntityType.IReadOnlyEntityType.GetKeys Method

Definition

Gets the primary and alternate keys for this entity type.

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

Returns

The primary and alternate keys.

Implements

Attributes

Applies to