Click or drag to resize
QueryColumnListAddRangeUnique Method (IEnumerableIQueryColumn, Boolean)
Adds the given enumerable of query columns, if not already present in the list.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax
C#
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