Class BulkUpdateHandler
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Bulk update handler enables update result processing.
public class BulkUpdateHandler : AdvancedHandler<BulkUpdateHandler, BulkUpdateEventArgs>
- Inheritance
-
objectBulkUpdateHandler
- Inherited Members
- Extension Methods
Constructors
BulkUpdateHandler()
Constructor.
public BulkUpdateHandler()
BulkUpdateHandler(BulkUpdateHandler)
Constructor.
public BulkUpdateHandler(BulkUpdateHandler parentHandler)
Parameters
parentHandler
BulkUpdateHandlerParent handler
Methods
Start(ObjectTypeInfo, IWhereCondition, IEnumerable<string>)
Commences the event by invoking the registered Before event handlers. Returns a handle for completing the event.
public IAdvancedEventHandle<BulkUpdateEventArgs> Start(ObjectTypeInfo typeInfo, IWhereCondition where, IEnumerable<string> changedColumns = null)
Parameters
typeInfo
ObjectTypeInfoType information regarding the objects updated.
where
IWhereConditionWhere condition for the update.
changedColumns
IEnumerable<string>Names of the columns that are changed by the bulk update. Any object's column can be changed if this collection is not set or empty.
Returns
- IAdvancedEventHandle<BulkUpdateEventArgs>
Returns a handle for completing the event.
StartEvent(ObjectTypeInfo, IWhereCondition, IEnumerable<string>)
Initiates the event handling.
[Obsolete("Use Start(ObjectTypeInfo, IWhereCondition, IEnumerable<string>) instead.")]
[ObsoleteSince(30, 2)]
public BulkUpdateHandler StartEvent(ObjectTypeInfo typeInfo, IWhereCondition where, IEnumerable<string> changedColumns = null)
Parameters
typeInfo
ObjectTypeInfoType information regarding the objects updated.
where
IWhereConditionWhere condition for the update
changedColumns
IEnumerable<string>Names of the columns that are changed by the bulk update. Any object's column can be changed if this collection is not set or empty.