Table of Contents

Class BulkInsertHandler

Namespace
CMS.DataEngine
Assembly
CMS.DataEngine.dll

Bulk insert handler enables insert result processing.

public sealed class BulkInsertHandler : AdvancedHandler<BulkInsertHandler, BulkInsertEventArgs>
Inheritance
object
BulkInsertHandler
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 BulkInsertHandler

Parent 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 ObjectTypeInfo

Type 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 ObjectTypeInfo

Type information regarding the objects inserted.

objects IEnumerable<IInfo>

Collection of inserted objects

Returns

BulkInsertHandler