/// <summary> /// Reset work /// </summary> void Reset() { commandCounter = 0; recordCounter = 0; allowEmptyResultCommandCount = 0; DomainEventManager.Reset(); commandCollection?.Clear(); commandEngineGroups?.Clear(); activationRecordCollection?.Clear(); repositoryWarehouses?.Clear(); domainEventCollection?.Clear(); dataAccessEventCollection?.Clear(); activationMaxRecordIds.Clear(); activationRecordValues.Clear(); commitSuccessEventHandlers.Clear(); }