Edit

Share via


MetaTable.GetDataKeyFromRoute Method

Definition

Retrieves the primary key of the entity from the route values.

C#
public System.Web.UI.WebControls.DataKey GetDataKeyFromRoute();

Returns

The primary-key values of the entities, if they are found; otherwise, null.

Implements

System.Web.DynamicData.IMetaTable.GetDataKeyFromRoute

Remarks

The route values typically come from the request URL query string.

Applies to