Click or drag to resize
QueryColumnList Class
Represents a list of query columns
Inheritance Hierarchy
SystemObject
  CMS.DataEngineQueryColumnList

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax
C#
public class QueryColumnList : IEnumerable<IQueryColumn>, 
	IEnumerable

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
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
Public methodAsAliases
Returns the column list transformed to the aliases of the columns
Public methodClear
Clears the list of columns
Public methodClone
Clones the column list
Public methodEnsureAllColumns
Ensures all columns flag if the list is empty
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
(Overrides ObjectEquals(Object).)
Public methodGetColumns
Gets list of columns represented as string
Public methodGetEnumerator
Gets the enumerator for the columns
Public methodGetHashCode
Gets the object hash code
(Overrides ObjectGetHashCode.)
Public methodLoad(String)
Loads the given list of columns to the list
Public methodLoad(IEnumerableIQueryColumn)
Loads the given list of columns to the list
Public methodReplaceColumn
Replaces the column with a given name with the new column definition
Public methodResolveColumns
Resolves all columns into the given class columns
Public methodToString
Gets a string representation of the column list
(Overrides ObjectToString.)
Public methodTransform
Transforms the column list to a new list of columns using the given column transformation
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Compares two column lists
Public operatorStatic memberInequality
Compares two column lists
Top
Extension Methods
  NameDescription
Public Extension MethodAsValue
Converts object to a query value which can be used as a query parameter
(Defined by QueryExtensions.)
Public Extension MethodBatchIQueryColumn
Returns input in batches of batchSize size.
(Defined by BaseExtensions.)
Public Extension MethodGetAPIString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodGetString
Gets the string by the specified resource key
(Defined by CoreExtensions.)
Public Extension MethodToBoolean
Returns the boolean representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDateTime
Returns the DateTime representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToDouble
Returns the double representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToGuid
Returns the Guid representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToHashSetIQueryColumn
Converts the list of objects to a hash set of distinct values
(Defined by DataExtensions.)
Public Extension MethodToInteger
Returns the integer representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToJSON
Returns JSON representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Public Extension MethodToListIQueryColumn, TTo
Converts the given collection to a list of values
(Defined by BaseExtensions.)
Public Extension MethodToString
Returns the string representation of an object or default value if not.
(Defined by CoreExtensions.)
Public Extension MethodToXML
Returns XML representation of current instance of IEnumerable.
(Defined by DataExtensions.)
Top
Properties
  NameDescription
Public propertyAnyColumnsDefined
Returns true if any columns are defined within this column list
Public propertyColumns
List of columns represented as string
Public propertyCount
Returns the number of defined columns
Protected propertyIncludeAllColumns
If true, all columns are included
Public propertyIsSingleColumn
Returns true if the columns represent a single column
Protected propertyNoColumns
If true, the list represents an empty list with no columns
Public propertyParent
Parent query for the column list
Protected propertyPresentColumns
Gets the hash set of present columns for duplicity detection
Public propertyReturnsAllColumns
Returns true if the columns contain all columns specification or columns do not contain definition of any columns
Top
See Also