Click or drag to resize

MapperKernelBulkInsertBegin Method

Initiate a bulk insert using the mapper and fire its corresponding extension event. The object controlling the bulk operation typically makes this call before performing the insert operations in a loop using the same mapper instance. The bulkContext will be provided in the BulkContext parameter for all mapper events performed during the bulk operation. If a null bulkContext object is provided, the method will instantiate one for you. If you want a custom bulkContext, you should derive from the base EventBulkContext object and provide an instance of your derived class. If BulkInsertBegin is called, you should call BulkInsertEnd when the operation completes.

Namespace:  NetQuarry.Data
Assembly:  EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public ExtResults BulkInsertBegin(
	EventBulkContext bulkContext
)

Parameters

bulkContext
Type: NetQuarryEventBulkContext
The bulk context object to use. If null, a context will be created for you.

Return Value

Type: ExtResults
The status of the ExtensionEvents.MapperBulkBeforeInsert event.

Implements

IMapperBulkInsertBegin(EventBulkContext)
See Also