コード例 #1
0
ファイル: DefaultWork.cs プロジェクト: eznew-net/EZNEW
 /// <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();
 }