Click or drag to resize
QueryColumnListAddRangeUnique Method (IEnumerableString, Boolean)
Adds columns that are not present in the list.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax
C#
public void AddRangeUnique(
	IEnumerable<string> columns,
	bool ignoreAllColumnsSelector = true
)

Parameters

columns
Type: System.Collections.GenericIEnumerableString
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.
Remarks
Query columns to add are created from string columns via FromExpression(String). Adds only IQueryColumn columns which names are not already present.
See Also