Share via


RuntimeEntityType.IEntityType.GetKeys Method

Definition

Gets the primary and alternate keys for this entity type.

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

Returns

The primary and alternate keys.

Implements

Attributes

Applies to