QueryColumnListAddRangeUnique Method (IEnumerableIQueryColumn, Boolean) |
Adds the given enumerable of query columns, if not already present in the list.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax public void AddRangeUnique(
IEnumerable<IQueryColumn> columns,
bool ignoreAllColumnsSelector = true
)
Parameters
- columns
- Type: System.Collections.GenericIEnumerableIQueryColumn
Columns to be added - ignoreAllColumnsSelector (Optional)
- Type: SystemBoolean
Indicates whether column will be added if all columns selector is present in the list.
If the list is empty, NoColumns is false and ignoreAllColumnsSelector is true, all columns selector is added.
See Also