Επεξεργασία

Κοινή χρήση μέσω


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.

public:
 System::String ^ GetPrimaryKeyString(System::Collections::Generic::IList<System::Object ^> ^ primaryKeyValues);
public:
 virtual System::String ^ GetPrimaryKeyString(System::Collections::Generic::IList<System::Object ^> ^ primaryKeyValues);
public string GetPrimaryKeyString (System.Collections.Generic.IList<object> primaryKeyValues);
member this.GetPrimaryKeyString : System.Collections.Generic.IList<obj> -> string
abstract member GetPrimaryKeyString : System.Collections.Generic.IList<obj> -> string
override this.GetPrimaryKeyString : System.Collections.Generic.IList<obj> -> string
Public Function GetPrimaryKeyString (primaryKeyValues As IList(Of Object)) As String

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

GetPrimaryKeyString(Object)

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

public:
 System::String ^ GetPrimaryKeyString(System::Object ^ row);
public:
 virtual System::String ^ GetPrimaryKeyString(System::Object ^ row);
public string GetPrimaryKeyString (object row);
member this.GetPrimaryKeyString : obj -> string
abstract member GetPrimaryKeyString : obj -> string
override this.GetPrimaryKeyString : obj -> string
Public Function GetPrimaryKeyString (row As Object) As String

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