QueryColumnList MembersKentico 8.1 API Reference
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
Back to Top
Methods

  NameDescription
Public methodAdd(IEnumerable String , 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(IEnumerable IQueryColumn , 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 OnlineObject Equals(Object).)
Protected methodOnlineFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from OnlineObject.)
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 OnlineObject GetHashCode .)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Public methodLoad( String )
Loads the given list of columns to the list
Public methodLoad(IEnumerable IQueryColumn )
Loads the given list of columns to the list
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
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 OnlineObject ToString .)
Public methodTransform
Transforms the column list to a new list of columns using the given column transformation
Back to Top
Operators

  NameDescription
Public operatorStatic memberEquality
Compares two column lists
Public operatorStatic memberInequality
Compares two column lists
Back to 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 MethodBatch IQueryColumn 
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 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 MethodToList IQueryColumn, 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.)
Back to 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
Back to Top
See Also