Class ExecuteQueryHandler<TResult>
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Execute query handler
public class ExecuteQueryHandler<TResult> : AdvancedHandler<ExecuteQueryHandler<TResult>, ExecuteQueryEventArgs<TResult>>
Type Parameters
TResult
- Inheritance
-
objectExecuteQueryHandler<TResult>
- Inherited Members
- Extension Methods
Methods
Start(QueryParameters, IDataConnection)
Commences the event by invoking the registered Before event handlers. Returns a handle for completing the event.
public IAdvancedEventHandle<ExecuteQueryEventArgs<TResult>> Start(QueryParameters query, IDataConnection conn)
Parameters
query
QueryParametersQuery that executes.
conn
IDataConnectionConnection executing the query.
Returns
- IAdvancedEventHandle<ExecuteQueryEventArgs<TResult>>
Returns a handle for completing the event.
StartEvent(QueryParameters, IDataConnection)
Initiates the event handling
[Obsolete("Use Start(QueryParameters, IDataConnection) instead.")]
[ObsoleteSince(30, 2)]
public ExecuteQueryHandler<TResult> StartEvent(QueryParameters query, IDataConnection conn)
Parameters
query
QueryParametersQuery that executes
conn
IDataConnectionConnection executing the query
Returns
- ExecuteQueryHandler<TResult>