Set¶
Adds or updates an element with the specified key and value in the DataTableDictionary instance.
1 |
|
Parameters¶
string key
The key of the element to add to the DataTableDictionary object. Required.
( DataRow | Array<DataRow> ) value
The value of the element to add to the DataTableDictionary object.
Returns¶
Always returns the current instance.
Remarks¶
This method does NOT update the DataTable and only applies temporary changes in the DataTableDictionary instance. Please use the DataTableDictionary.Ensure method to perform database changes, and do not use this method unless you have a specific reason.
The value
can be specified as an array of objects if needed.