Parameters
propertyName - The property name.
columnName - The column name.
renameAs - The rename value.
dataTypeName - The data type name.
value - The column value.
Returns
The added item.
Syntax
| JavaScript |
|
Add(propertyName, columnName, renameAs, dataTypeName, value)
|
Creates and adds the item to the list.
Example
| JavaScript |
// Creates and adds the item to the list.
Add()
{
const joinOns = new LJCJoinOns();
let joinOn = joinOns.Add("fromColumnName1", "toColumnName1");
joinOn = joinOns.Add("fromColumnName2", "toColumnName2");
joinOn = joinOns.Retrieve("fromColumnName2");
let result = joinOn.ToColumnName;
// result:
// toColumnName2
}
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.