Click or drag to resize
EditorPkeyToArray Method
Convert a primary key combined value to an array of field values.

Namespace:  DataTables
Assembly:  DataTables (in DataTables.dll) Version: 1.6.5.0 (1.6.5.0)
Syntax
C#
public Dictionary<string, Object> PkeyToArray(
	string value,
	bool flat = false,
	string[] pkey = null
)

Parameters

value
Type: SystemString
The id that should be split apart
flat (Optional)
Type: SystemBoolean
Flag to indicate if the returned array should be flat(useful for `where` conditions) or nested for join tables.
pkey (Optional)
Type: SystemString
Primary key to use. Instance default will be used if not given

Return Value

Type: DictionaryString, Object
Field values that the id was made up of.
See Also