共用方式為


CreateTableOperation.PrimaryKey 屬性

定義

AddPrimaryKeyOperation 表示建立資料表的主鍵。

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

屬性值

適用於