MetaTable::HasPrimaryKey Property

 

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:
property bool HasPrimaryKey {
	virtual bool get() sealed;
}

Property Value

Type: System::Boolean

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

.NET Framework
Available since 3.5
Return to top
Show: