Table of Contents

Class BulkInsertDataHandler

Namespace
CMS.DataEngine
Assembly
CMS.DataEngine.dll

Bulk insert handler enables insert result processing.

public class BulkInsertDataHandler : AdvancedHandler<BulkInsertDataHandler, BulkInsertDataEventArgs>
Inheritance
object
BulkInsertDataHandler
Inherited Members
Extension Methods

Methods

Start(DataTable, string, BulkInsertSettings, IDataConnection)

Commences the event by invoking the registered Before event handlers. Returns a handle for completing the event.

public IAdvancedEventHandle<BulkInsertDataEventArgs> Start(DataTable sourceData, string targetTable, BulkInsertSettings insertSettings, IDataConnection connection)

Parameters

sourceData DataTable

Source data.

targetTable string

Target table.

insertSettings BulkInsertSettings

Bulk insert configuration.

connection IDataConnection

Data connection.

Returns

IAdvancedEventHandle<BulkInsertDataEventArgs>

Returns a handle for completing the event.

StartEvent(DataTable, string, BulkInsertSettings, IDataConnection)

Initiates the event handling.

[Obsolete("Use Start(DataTable, string, BulkInsertSettings, IDataConnection) instead.")]
[ObsoleteSince(30, 2)]
public BulkInsertDataHandler StartEvent(DataTable sourceData, string targetTable, BulkInsertSettings insertSettings, IDataConnection connection)

Parameters

sourceData DataTable

Source data.

targetTable string

Target table.

insertSettings BulkInsertSettings

Bulk insert configuration.

connection IDataConnection

Data connection.

Returns

BulkInsertDataHandler