MetaTable.PrimaryKeyColumns Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the collection of columns that define the primary key.

Namespace:   System.Web.DynamicData
Assembly:  System.Web.DynamicData (in System.Web.DynamicData.dll)

public ReadOnlyCollection<MetaColumn> PrimaryKeyColumns { get; }

Property Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<MetaColumn>

A collection that contains the primary-key columns.

.NET Framework
Available since 3.5
Return to top