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: 13.0.131
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