Table of Contents

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
object
ExecuteQueryHandler<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 QueryParameters

Query that executes.

conn IDataConnection

Connection 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 QueryParameters

Query that executes

conn IDataConnection

Connection executing the query

Returns

ExecuteQueryHandler<TResult>