Class BulkInsertHandler
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Bulk insert handler enables insert result processing.
public sealed class BulkInsertHandler : AdvancedHandler<BulkInsertHandler, BulkInsertEventArgs>
- Inheritance
-
objectBulkInsertHandler
- Inherited Members
- Extension Methods
Constructors
BulkInsertHandler()
Creates new instance of BulkInsertHandler.
public BulkInsertHandler()
BulkInsertHandler(BulkInsertHandler)
Creates new instance of BulkInsertHandler.
public BulkInsertHandler(BulkInsertHandler parentHandler)
Parameters
parentHandler
BulkInsertHandlerParent handler
Methods
Start(ObjectTypeInfo, IEnumerable<IInfo>)
Commences the event by invoking the registered Before event handlers. Returns a handle for completing the event.
public IAdvancedEventHandle<BulkInsertEventArgs> Start(ObjectTypeInfo typeInfo, IEnumerable<IInfo> objects)
Parameters
typeInfo
ObjectTypeInfoType information regarding the objects inserted.
objects
IEnumerable<IInfo>Collection of inserted objects.
Returns
- IAdvancedEventHandle<BulkInsertEventArgs>
Returns a handle for completing the event.
StartEvent(ObjectTypeInfo, IEnumerable<IInfo>)
Initiates the event handling.
[Obsolete("Use Start(ObjectTypeInfo, IEnumerable<IInfo>) instead.")]
[ObsoleteSince(30, 2)]
public BulkInsertHandler StartEvent(ObjectTypeInfo typeInfo, IEnumerable<IInfo> objects)
Parameters
typeInfo
ObjectTypeInfoType information regarding the objects inserted.
objects
IEnumerable<IInfo>Collection of inserted objects