Interface IMultiQuery<TQuery, TInnerQuery>
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Multi query interface for a specific query
public interface IMultiQuery<TQuery, TInnerQuery> : IDataQuery<TQuery>, IDataQuerySettings<TQuery>, IWhereCondition<TQuery>, IQueryParameters<TQuery>, IMultiQuery, IDataQuery, IDataQuerySettings, IWhereCondition, IQueryParameters, IQueryObjectWithValue, IQueryObject
Type Parameters
TQuery
TInnerQuery
- Inherited Members
- Extension Methods
Methods
AddResultColumn(IQueryColumn)
Adds the additional column to the query
TQuery AddResultColumn(IQueryColumn column)
Parameters
column
IQueryColumnColumn to add
Returns
- TQuery
AddResultColumn(string)
Adds the additional column to the query
TQuery AddResultColumn(string column)
Parameters
column
stringColumn to add
Returns
- TQuery
AddResultColumns(params IQueryColumn[])
Adds the additional columns to the query
TQuery AddResultColumns(params IQueryColumn[] columns)
Parameters
columns
IQueryColumn[]Columns to add
Returns
- TQuery
AddResultColumns(IEnumerable<string>)
Adds the additional columns to the query
TQuery AddResultColumns(IEnumerable<string> columns)
Parameters
columns
IEnumerable<string>Columns to add
Returns
- TQuery
AddResultColumns(params string[])
Adds the additional columns to the query
TQuery AddResultColumns(params string[] columns)
Parameters
columns
string[]Columns to add
Returns
- TQuery
NoDefaultColumns()
Sets the query to return no columns at all
TQuery NoDefaultColumns()
Returns
- TQuery
ResultColumn(IQueryColumn)
Sets the column to select
TQuery ResultColumn(IQueryColumn column)
Parameters
column
IQueryColumnColumn to set to be selected
Returns
- TQuery
ResultColumn(string)
Sets the column to select
TQuery ResultColumn(string column)
Parameters
column
stringColumn to set to be selected
Returns
- TQuery
ResultColumns(params IQueryColumn[])
Sets the columns to select
TQuery ResultColumns(params IQueryColumn[] columns)
Parameters
columns
IQueryColumn[]Columns to set to be selected
Returns
- TQuery
ResultColumns(IEnumerable<string>)
Sets the columns to select
TQuery ResultColumns(IEnumerable<string> columns)
Parameters
columns
IEnumerable<string>Columns to set to be selected
Returns
- TQuery
ResultColumns(params string[])
Sets the columns to select
TQuery ResultColumns(params string[] columns)
Parameters
columns
string[]Columns to set to be selected
Returns
- TQuery
ResultOrderBy(OrderDirection, params string[])
Adds the columns to the order by query
TQuery ResultOrderBy(OrderDirection dir, params string[] columns)
Parameters
dir
OrderDirectionOrder direction
columns
string[]Columns to add to order by
Returns
- TQuery
ResultOrderBy(params string[])
Adds the columns to the order by query
TQuery ResultOrderBy(params string[] columns)
Parameters
columns
string[]Columns to add to order by
Returns
- TQuery
ResultOrderByAscending(params string[])
Adds the columns to the order by query to order by the given columns in ascending order
TQuery ResultOrderByAscending(params string[] columns)
Parameters
columns
string[]Columns to add to order by
Returns
- TQuery
ResultOrderByDescending(params string[])
Adds the columns to the order by query to order by the given columns in descending order
TQuery ResultOrderByDescending(params string[] columns)
Parameters
columns
string[]Columns to add to order by
Returns
- TQuery
Type(string, Action<TInnerQuery>)
Includes given type with optional parameters
TQuery Type(string type, Action<TInnerQuery> parameters = null)
Parameters
type
stringType to include
parameters
Action<TInnerQuery>Action to setup the inner type parameters
Returns
- TQuery
Types(params string[])
Includes the given types to the resulting query
TQuery Types(params string[] types)
Parameters
types
string[]Types to include
Returns
- TQuery