MetaTable.PrimaryKeyColumns 属性

定义

获取定义主键的列的集合。

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::Web::DynamicData::MetaColumn ^> ^ PrimaryKeyColumns { System::Collections::ObjectModel::ReadOnlyCollection<System::Web::DynamicData::MetaColumn ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.Web.DynamicData.MetaColumn> PrimaryKeyColumns { get; }
member this.PrimaryKeyColumns : System.Collections.ObjectModel.ReadOnlyCollection<System.Web.DynamicData.MetaColumn>
Public ReadOnly Property PrimaryKeyColumns As ReadOnlyCollection(Of MetaColumn)

属性值

ReadOnlyCollection<MetaColumn>

一个包含主键列的集合。

适用于