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

属性值

适用于