DataQueryCombineTQuery Method (IEnumerableTQuery, IEnumerableString, String) |
Combines several queries into a single result
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 12.0.0
Syntax 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:
TQuerySee Also