QueryColumnList Class |
Namespace: CMS.DataEngine
public class QueryColumnList : IEnumerable<IQueryColumn>, IEnumerable
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 | |
---|---|---|
Add(IEnumerableString, Boolean) |
Adds the given list of columns to the list
| |
Add(String, Boolean) |
Adds the given list of columns
| |
Add(IQueryColumn, Boolean) |
Adds the given list of query columns
| |
Add(IEnumerableIQueryColumn, Boolean) |
Adds the given list of query columns
| |
Add(QueryColumnList, Boolean) |
Adds the given list of query columns
| |
AsAliases |
Returns the column list transformed to the aliases of the columns
| |
Clear |
Clears the list of columns
| |
Clone |
Clones the column list
| |
EnsureAllColumns |
Ensures all columns flag if the list is empty
| |
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
(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.) | |
Load(String) |
Loads the given list of columns to the list
| |
Load(IEnumerableIQueryColumn) |
Loads the given list of columns to the list
| |
ReplaceColumn |
Replaces the column with a given name with the new column definition
| |
ResolveColumns |
Resolves all columns into the given class columns
| |
ToString |
Gets a string representation of the column list
(Overrides ObjectToString.) | |
Transform |
Transforms the column list to a new list of columns using the given column transformation
|
Name | Description | |
---|---|---|
Equality |
Compares two column lists
| |
Inequality |
Compares two column lists
|
Name | Description | |
---|---|---|
AsValue |
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.) | |
BatchIQueryColumn |
Returns input in batches of batchSize size.
(Defined by BaseExtensions.) | |
GetAPIString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
GetString |
Gets the string by the specified resource key
(Defined by CoreExtensions.) | |
ToBoolean |
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDateTime |
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToDouble |
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToGuid |
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToHashSetIQueryColumn |
Converts the list of objects to a hash set of distinct values
(Defined by DataExtensions.) | |
ToInteger |
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToJSON |
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.) | |
ToListIQueryColumn, TTo |
Converts the given collection to a list of values
(Defined by BaseExtensions.) | |
ToString |
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.) | |
ToXML |
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.) |
Name | Description | |
---|---|---|
AnyColumnsDefined |
Returns true if any columns are defined within this column list
| |
Columns |
List of columns represented as string
| |
Count |
Returns the number of defined columns
| |
IncludeAllColumns |
If true, all columns are included
| |
IsSingleColumn |
Returns true if the columns represent a single column
| |
NoColumns |
If true, the list represents an empty list with no columns
| |
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
|