DatabaseTable.PrimaryKey Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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