Sdílet prostřednictvím


IConventionEntityType.GetKeys Metoda

Definice

Získá primární a alternativní klíče pro tento typ entity.

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

Návraty

Primární a alternativní klíč

Platí pro