Click or drag to resize
DataQueryCombineTQuery Method (IEnumerableTQuery, IEnumerableString, String)
Combines several queries into a single result

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
public static TQuery Combine<TQuery>(
	IEnumerable<TQuery> queries,
	IEnumerable<string> operators,
	string connectionStringName = null
)
where TQuery : class, new(), IDataQuery

Parameters

queries
Type: System.Collections.GenericIEnumerableTQuery
Queries
operators
Type: System.Collections.GenericIEnumerableString
Operators between queries
connectionStringName (Optional)
Type: SystemString
Specifies connection string against which the query will be executed. If connection string name is not specified, uses the default database.

Type Parameters

TQuery

Return Value

Type: TQuery
See Also