QueryColumnList Class |
Namespace: CMS.DataEngine
public class QueryColumnList : QueryColumnListBase
The QueryColumnList type exposes the following members.
Name | Description | |
---|---|---|
QueryColumnList(String) |
Creates an empty column list built from the given columns
| |
QueryColumnList(IQueryObject) |
Constructor
|
Name | Description | |
---|---|---|
AnyColumnsDefined |
Returns true if any columns are defined within this column list
(Inherited from QueryColumnListBase.) | |
Columns | There are three possible outputs. Firstly NO_COLUMNS, there will be no column in query. Secondly list of columns represented as string, without occurrence of NO_COLUMNS. Finally Empty, that resolves to * in query. | |
ContainsAllColumnsSelector |
Indicates whether list contains all columns selector
(Inherited from QueryColumnListBase.) | |
Count |
Returns the number of defined columns
(Inherited from QueryColumnListBase.) | |
IsSingleColumn |
Returns true if the columns represent a single column
(Inherited from QueryColumnListBase.) | |
Item |
Returns column on specific index
(Inherited from QueryColumnListBase.) | |
NoColumns |
Indicates whether list represents an empty list with no columns,
no matter already existing columns or columns added after
(Inherited from QueryColumnListBase.) | |
Parent |
Parent query for the column list
(Inherited from QueryColumnListBase.) | |
PresentColumns |
Gets the hash set of present columns for duplicity detection
(Inherited from QueryColumnListBase.) | |
ReturnsAllColumns |
Returns true if the columns contain all columns specification or columns do not contain definition of any columns
(Inherited from QueryColumnListBase.) |
Name | Description | |
---|---|---|
Add(String) |
Adds one QueryColumn into list, regardless of existing columns.
QueryColumn added to the list is created via FromExpression(String).
| |
Add(IQueryColumn) |
Adds column into list, regardless of existing columns.
| |
AddInternal |
Adds the given column to the column list
(Inherited from QueryColumnListBase.) | |
AddRange |
Adds columns into list, regardless of existing columns.
| |
AddRangeUnique(IEnumerableString, Boolean) |
Adds columns that are not present in the list.
| |
AddRangeUnique(IEnumerableIQueryColumn, Boolean) |
Adds the given enumerable of query columns, if not already present in the list.
| |
AddRangeUnique(QueryColumnList, Boolean) |
Adds the given list of query columns, if not already present in the list.
| |
AddUnique |
Adds the given column to the column list, if column is not already present.
| |
AddUniqueInternal |
Adds the given column to the column list, only if not already present
(Inherited from QueryColumnListBase.) | |
AsAliases |
Returns the column list transformed to the aliases of the columns.
| |
Clear |
Clears the list of columns
(Inherited from QueryColumnListBase.) | |
Clone |
Clones the column list
(Inherited from QueryColumnListBase.) | |
EnsureAllColumns |
Ensures all columns flag if the list is empty
(Inherited from QueryColumnListBase.) | |
EnsureOrderByColumns |
Ensures that the order by columns are provided within the list of columns as aliases, modifies the order by expression to the aliases of those columns.
| |
Equals |
Returns true if the object equals to another
(Inherited from QueryColumnListBase.) | |
GetColumns |
Gets list of columns represented as string
(Inherited from QueryColumnListBase.) | |
GetEnumerator |
Gets the enumerator for the columns
(Inherited from QueryColumnListBase.) | |
GetHashCode |
Gets the object hash code
(Inherited from QueryColumnListBase.) | |
Changed |
Marks the list as changed and flushes all necessary caches
(Inherited from QueryColumnListBase.) | |
Load(String) |
Loads the given columns to the list.
| |
Load(String) |
Loads the given list of columns to the list.
| |
Load(IEnumerableIQueryColumn) |
Loads the given list of columns to the list.
| |
Remove |
Removes one explicitly defined column by Name from the columns collection
(Inherited from QueryColumnListBase.) | |
RemoveAll |
Removes explicitly defined columns by Name from the columns collection
(Inherited from QueryColumnListBase.) | |
ReplaceColumn |
Replaces the column with a given name with the new column definition
(Inherited from QueryColumnListBase.) | |
ToString |
Gets a string representation of the column list
(Inherited from QueryColumnListBase.) |