HasPrimaryKey Property

MetaTable.HasPrimaryKey Property

.NET Framework (current version)

Gets a value that indicates whether the table has a primary key.

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

public bool HasPrimaryKey { get; }

Property Value

Type: System.Boolean

true if the table has a primary key; otherwise, false.

.NET Framework
Available since 3.5
Return to top
© 2016 Microsoft