Gets the name of the instance field that will be used as the primary key. Override this property to return a name that differs from the default primary key name "ID".

Namespace:  EPiServer.Web.WebControls
Assembly:  EPiServer (in EPiServer.dll) Version: 6.0.530.0

Syntax

C#
protected virtual string KeyName { get; }

See Also