Class BulkDeleteHandler
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Bulk delete handler enables deletion processing.
public sealed class BulkDeleteHandler : AdvancedHandler<BulkDeleteHandler, BulkDeleteEventArgs>
- Inheritance
-
objectBulkDeleteHandler
- Inherited Members
- Extension Methods
Constructors
BulkDeleteHandler()
Creates instance of BulkDeleteHandler.
public BulkDeleteHandler()
BulkDeleteHandler(BulkDeleteHandler)
Creates instance of BulkDeleteHandler.
public BulkDeleteHandler(BulkDeleteHandler parentHandler)
Parameters
parentHandler
BulkDeleteHandlerParent handler
Methods
Start(ObjectTypeInfo, IWhereCondition)
Commences the event by invoking the registered Before event handlers. Returns a handle for completing the event.
public IAdvancedEventHandle<BulkDeleteEventArgs> Start(ObjectTypeInfo typeInfo, IWhereCondition where)
Parameters
typeInfo
ObjectTypeInfoType information regarding the objects updated.
where
IWhereConditionWhere condition for the update.
Returns
- IAdvancedEventHandle<BulkDeleteEventArgs>
Returns a handle for completing the event.
StartEvent(ObjectTypeInfo, IWhereCondition)
Initiates the event handling.
[Obsolete("Use Start(ObjectTypeInfo, IWhereCondition) instead.")]
[ObsoleteSince(30, 2)]
public BulkDeleteHandler StartEvent(ObjectTypeInfo typeInfo, IWhereCondition where)
Parameters
typeInfo
ObjectTypeInfoType information regarding the objects updated.
where
IWhereConditionWhere condition for the update