ColumnProvider.IsPrimaryKey Property

 

Gets or sets a value that indicates whether the column is part of the primary key for the table.

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

abstract IsPrimaryKey : bool with get, set
override IsPrimaryKey : bool with get, set

Property Value

Type: System.Boolean

true if the column is part of the primary key for the table; otherwise, false.

.NET Framework
Available since 3.5
Return to top
Show: