MetaTable.HasPrimaryKey 属性

定义

获取一个指示表是否有主键的值。

public bool HasPrimaryKey { get; }

属性值

Boolean

如果表有主键,则为 true;否则为 false

适用于