MetaTable.GetPrimaryKeyString Method

Definition

Gets a list of values that represent the primary key for the specified row.

Overloads

GetPrimaryKeyString(IList<Object>)

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

GetPrimaryKeyString(Object)

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

GetPrimaryKeyString(IList<Object>)

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

C#
public string GetPrimaryKeyString(System.Collections.Generic.IList<object> primaryKeyValues);

Parameters

primaryKeyValues
IList<Object>

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

Returns

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

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

GetPrimaryKeyString(Object)

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

C#
public string GetPrimaryKeyString(object row);

Parameters

row
Object

The row to get the primary key for.

Returns

A comma-separated list of column values that represent the primary key for the row.

Applies to

.NET Framework 4.8.1 i druge verzije
Proizvod Verzije
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1