DatabaseTable.PrimaryKey Property

Definition

The primary key of the table.

public virtual Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabasePrimaryKey PrimaryKey { get; set; }
public virtual Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabasePrimaryKey? PrimaryKey { get; set; }
member this.PrimaryKey : Microsoft.EntityFrameworkCore.Scaffolding.Metadata.DatabasePrimaryKey with get, set
Public Overridable Property PrimaryKey As DatabasePrimaryKey

Property Value

Applies to