ITable.PrimaryKey 属性

定义

获取此表的主键。

public Microsoft.EntityFrameworkCore.Metadata.IPrimaryKeyConstraint PrimaryKey { get; }
public Microsoft.EntityFrameworkCore.Metadata.IPrimaryKeyConstraint? PrimaryKey { get; }
member this.PrimaryKey : Microsoft.EntityFrameworkCore.Metadata.IPrimaryKeyConstraint
Public ReadOnly Property PrimaryKey As IPrimaryKeyConstraint

属性值

适用于