Skip to main content

Glossary: BulkInsertOperation

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

Properties

NameTypeDescription
IsAbortedboolindicates if an operation has aborted.
OperationIdGuidUnique operation Id.

Methods

SignatureDescription
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

Events

SignatureDescription
BeforeEntityInsert OnBeforeEntityInsertwill be raised before entity will be processed
Action<string> Reportwill be raised every time a batch has finished processing and after the whole operation