DataSetFieldSchema.PrimaryKey 属性

定义

获取一个值,该值指示数据字段是否位于包含表或视图的主键中。

public:
 property bool PrimaryKey { bool get(); };
public bool PrimaryKey { get; }
member this.PrimaryKey : bool
Public ReadOnly Property PrimaryKey As Boolean

属性值

如果数据字段位于主键中,则为 true;否则为 false

实现

适用于

另请参阅