Interface ICanBeRevertedTransactionProcessor
Indicates this processor for transactional items enables the user to revert the transaction from finalized back to in progress
Inherited Members
System.IDisposable.Dispose()
Namespace: LemonEdge.API.Processors.Transactional
Assembly: API.dll
Syntax
public interface ICanBeRevertedTransactionProcessor : IBaseDataSetProcessorWithDBSave, IBaseDataSetProcessor, IProcessor, IDisposable
Methods
GetAllItemsInTransactionProcessor(Boolean)
Returns all items in this processor, and sub processors so the system can automatically reset all their statuses back to in progress
Declaration
IEnumerable<IBaseEntity> GetAllItemsInTransactionProcessor(bool includeSubProcessors)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | includeSubProcessors | Indicates if the items from any sub processors should also be included or not |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IBaseEntity> | A list of all the items belonging to the transaction processor |
LoadForRevertion()
Loads all the items in the processor so all their statuses can be reset back to in progress
Declaration
Task LoadForRevertion()
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A task indicating the completion of the operation |