Click or drag to resize
QueryColumnList Class
Represents a list of query columns
Inheritance Hierarchy

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 9.0.0
Syntax
C#
public class QueryColumnList : QueryColumnListBase

The QueryColumnList type exposes the following members.

Constructors
  NameDescription
Public methodQueryColumnList(String)
Creates an empty column list built from the given columns
Public methodQueryColumnList(IQueryObject)
Constructor
Top
Properties
  NameDescription
Public propertyAnyColumnsDefined
Returns true if any columns are defined within this column list
(Inherited from QueryColumnListBase.)
Public propertyColumns
List of columns represented as string
(Inherited from QueryColumnListBase.)
Public propertyCount
Returns the number of defined columns
(Inherited from QueryColumnListBase.)
Protected propertyIncludeAllColumns
If true, all columns are included together with any explicitly specified columns
(Inherited from QueryColumnListBase.)
Public propertyIsSingleColumn
Returns true if the columns represent a single column
(Inherited from QueryColumnListBase.)
Public propertyItem
Returns column on specific index
(Inherited from QueryColumnListBase.)
Public propertyNoColumns
If true, the list represents an empty list with no columns
(Inherited from QueryColumnListBase.)
Public propertyParent
Parent query for the column list
(Inherited from QueryColumnListBase.)
Protected propertyPresentColumns
Gets the hash set of present columns for duplicity detection
(Inherited from QueryColumnListBase.)
Public propertyReturnsAllColumns
Returns true if the columns contain all columns specification or columns do not contain definition of any columns
(Inherited from QueryColumnListBase.)
Top
Methods
  NameDescription
Public methodAdd(IEnumerableString, Boolean)
Adds the given list of columns to the list
Public methodAdd(String, Boolean)
Adds the given list of columns
Public methodAdd(IQueryColumn, Boolean)
Adds the given list of query columns
Public methodAdd(IEnumerableIQueryColumn, Boolean)
Adds the given list of query columns
Public methodAdd(QueryColumnList, Boolean)
Adds the given list of query columns
Protected methodAddToList
Adds the given column to the column list
(Inherited from QueryColumnListBase.)
Public methodAsAliases
Returns the column list transformed to the aliases of the columns
Public methodClear
Clears the list of columns
(Inherited from QueryColumnListBase.)
Public methodClone
Clones the column list
(Inherited from QueryColumnListBase.)
Public methodEnsureAllColumns
Ensures all columns flag if the list is empty
(Inherited from QueryColumnListBase.)
Public methodEnsureOrderByColumns
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
Public methodEquals
Returns true if the object equals to another
(Inherited from QueryColumnListBase.)
Public methodGetColumns
Gets list of columns represented as string
(Inherited from QueryColumnListBase.)
Public methodGetEnumerator
Gets the enumerator for the columns
(Inherited from QueryColumnListBase.)
Public methodGetHashCode
Gets the object hash code
(Inherited from QueryColumnListBase.)
Protected methodChanged
Marks the list as changed and flushes all necessary caches
(Inherited from QueryColumnListBase.)
Public methodLoad(String)
Loads the given columns to the list
Public methodCode exampleLoad(String)
Loads the given list of columns to the list
Public methodCode exampleLoad(IEnumerableIQueryColumn)
Loads the given list of columns to the list
Public methodRemove
Removes an explicitly defined column from the columns collection
(Inherited from QueryColumnListBase.)
Public methodReplaceColumn
Replaces the column with a given name with the new column definition
(Inherited from QueryColumnListBase.)
Public methodResolveColumns
Resolves all columns into the given class columns
(Inherited from QueryColumnListBase.)
Public methodToString
Gets a string representation of the column list
(Inherited from QueryColumnListBase.)
Public methodTransform Obsolete.
Transforms the column list to a new list of columns using the given column transformation
Top
See Also