QueryColumnListBase Class |
Namespace: CMS.DataEngine
public abstract class QueryColumnListBase : IEnumerable<IQueryColumn>, IEnumerable
The QueryColumnListBase type exposes the following members.
Name | Description | |
---|---|---|
QueryColumnListBase |
Constructor
|
Name | Description | |
---|---|---|
AnyColumnsDefined |
Returns true if any columns are defined within this column list
| |
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
| |
Count |
Returns the number of defined columns
| |
IsSingleColumn |
Returns true if the columns represent a single column
| |
Item |
Returns column on specific index
| |
NoColumns |
Indicates whether list represents an empty list with no columns,
no matter already existing columns or columns added after
| |
Parent |
Parent query for the column list
| |
PresentColumns |
Gets the hash set of present columns for duplicity detection
| |
ReturnsAllColumns |
Returns true if the columns contain all columns specification or columns do not contain definition of any columns
|
Name | Description | |
---|---|---|
AddInternal |
Adds the given column to the column list
| |
AddUniqueInternal |
Adds the given column to the column list, only if not already present
| |
Changed |
Marks the list as changed and flushes all necessary caches
| |
Clear |
Clears the list of columns
| |
Clone |
Clones the column list
| |
EnsureAllColumns |
Ensures all columns flag if the list is empty
| |
Equals |
Returns true if the object equals to another
(Overrides ObjectEquals(Object).) | |
GetColumns |
Gets list of columns represented as string
| |
GetEnumerator |
Gets the enumerator for the columns
| |
GetHashCode |
Gets the object hash code
(Overrides ObjectGetHashCode.) | |
Remove |
Removes one explicitly defined column by Name from the columns collection
| |
RemoveAll |
Removes explicitly defined columns by Name from the columns collection
| |
ReplaceColumn |
Replaces the column with a given name with the new column definition
| |
ToString |
Gets a string representation of the column list
(Overrides ObjectToString.) |
Name | Description | |
---|---|---|
Equality |
Compares two column lists
| |
Inequality |
Compares two column lists
|
Name | Description | |
---|---|---|
BatchIQueryColumn |
Returns input in batches of batchSize size.
(Defined by BaseExtensions.) | |
ToJSON |
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.) | |
ToXML |
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.) |