CreateTableOperation.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 AddPrimaryKeyOperation representing the creation of the primary key for the table.
public virtual Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation PrimaryKey { get; set; }
public virtual Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation? PrimaryKey { get; set; }
member this.PrimaryKey : Microsoft.EntityFrameworkCore.Migrations.Operations.AddPrimaryKeyOperation with get, set
Public Overridable Property PrimaryKey As AddPrimaryKeyOperation
Property Value
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework