MetaTable.GetPrimaryKeyString Method (IList<Object>)


Returns a comma-separated list of column values that represent the primary key for the specified row.

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

public string GetPrimaryKeyString(
	IList<object> primaryKeyValues


Type: System.Collections.Generic.IList<Object>

The list of column values that make up the primary key.

Return Value

Type: System.String

A comma-separated list of column values. If the list is empty, an empty string is returned.

.NET Framework
Available since 3.5
Return to top