Class BulkInsertDataHandler
- Namespace
- CMS.DataEngine
- Assembly
- CMS.DataEngine.dll
Bulk insert handler enables insert result processing.
public class BulkInsertDataHandler : AdvancedHandler<BulkInsertDataHandler, BulkInsertDataEventArgs>
- Inheritance
-
objectBulkInsertDataHandler
- 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
DataTableSource data.
targetTable
stringTarget table.
insertSettings
BulkInsertSettingsBulk insert configuration.
connection
IDataConnectionData 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
DataTableSource data.
targetTable
stringTarget table.
insertSettings
BulkInsertSettingsBulk insert configuration.
connection
IDataConnectionData connection.