Class ObjectDataEventHandler
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Object data handler enables manipulation with object data.
public class ObjectDataEventHandler : AdvancedHandler<ObjectDataEventHandler, ObjectDataEventArgs>
- Inheritance
-
objectObjectDataEventHandler
- Inherited Members
- Extension Methods
Constructors
ObjectDataEventHandler()
Constructor
public ObjectDataEventHandler()
ObjectDataEventHandler(ObjectDataEventHandler)
Constructor
public ObjectDataEventHandler(ObjectDataEventHandler parentHandler)
Parameters
parentHandler
ObjectDataEventHandlerParent handler
Methods
Start(DataSet, IObjectQuery, int)
Commences the event by invoking the registered Before event handlers. Returns a handle for completing the event.
public IAdvancedEventHandle<ObjectDataEventArgs> Start(DataSet result, IObjectQuery query, int totalRecords)
Parameters
result
DataSetData set with object data.
query
IObjectQueryDefault object query used to select data in case data set is not returned by event.
totalRecords
intNumber of records which should by used for paging. If not set, number of rows in dataset is calculated.
Returns
- IAdvancedEventHandle<ObjectDataEventArgs>
Returns a handle for completing the event.
StartEvent(DataSet, IObjectQuery, int)
Initiates the event handling.
[Obsolete("Use Start(DataSet, IObjectQuery, int) instead.")]
[ObsoleteSince(30, 2)]
public ObjectDataEventHandler StartEvent(DataSet result, IObjectQuery query, int totalRecords)
Parameters
result
DataSetData set with object data.
query
IObjectQueryDefault object query used to select data in case data set is not returned by event.
totalRecords
intNumber of records which should by used for paging. If not set, number of rows in dataset is calculated.