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 |
// Adds the item to the array.
Add()
{
const joins = new LJCJoins();
let join = joins.Add("TableOne", "t");
join = joins.Add("TableTwo", "t2");
join.SchemaName = "Schema";
join = joins.Retrieve("TableTwo", "t2");
let result = join.SchemaName;
// result:
// Schema
}
|
Copyright © Lester J. Clark and Contributors.
Licensed under the MIT License.