OperationServiceExtensionsExecuteContinuousOperation Method |
Name | Description | |
---|---|---|
ExecuteContinuousOperation(IOperationService, ActionIOperationService) |
Executes the callback function as one continuous operation by providing temporary instance of IOperationService,
which holds internal locks taken on lockable entities (such as order) until the operation ends.
It's strongly recommended to avoid potentially obstructive calls in the callback, i.e network calls, heavy I/O or CPU-bound calls, thread blocking and so on, because touched entities will remain locked for a long time.
| |
ExecuteContinuousOperationT(IOperationService, FuncIOperationService, T) |
Executes the callback function as one continuous operation by providing temporary instance of IOperationService,
which holds internal locks taken on lockable entities (such as order) until the operation ends.
It's strongly recommended to avoid potentially obstructive calls in the callback, i.e network calls, heavy I/O or CPU-bound calls, thread blocking and so on, because touched entities will remain locked for a long time.
|