Share via


CreateTableOperation.PrimaryKey Property

Definition

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