Glossary: BulkInsertOperation

delegate void BeforeEntityInsert(string id, RavenJObject data, RavenJObject metadata)


Name Type Description
IsAborted bool indicates if an operation has aborted.
OperationId Guid Unique operation Id.


Signature Description
void Abort() Abort the operation
void Store(object entity) store the entity, identifier will be generated automatically on the client-side
void Store(object entity, string id) store the entity, with id parameter to explicitly declare the entity identifier
void Dispose() Dispose an object


Signature Description
BeforeEntityInsert OnBeforeEntityInsert will be raised before entity will be processed
Action<string> Report will be raised every time a batch has finished processing and after the whole operation