Пример #1
0
 internal BussinesTransaction(IJournalManager journalManager)
 {
     this.executedUnits  = new List <ITransactionUnit>();
     this.journalManager = journalManager;
     this.isBad          = false;
     this.isComplete     = false;
 }
Пример #2
0
 public UnitOfWork(IJournalManager journalManager, bool checkAfterCrush)
 {
     this.journalManager = journalManager;
     FolderHelper.CreateJournalsFolder();
     if (checkAfterCrush)
     {
         this.CheckBadTransaction();
     }
 }
Пример #3
0
 internal BadBussinesTransaction(IJournalManager journalManager, string journalPath)
 {
     this.journalManager             = journalManager;
     this.journalManager.JournalPath = journalPath;
     this.executedUnits = this.journalManager.Get();
 }
Пример #4
0
 public UnitOfWork(IJournalManager journalManager) : this(journalManager, true)
 {
 }
Пример #5
0
 public IJournalManagerObject(IJournalManager IJournalManagerinstance)
 {
     IJournalManagerInstance = IJournalManagerinstance;
 }
Пример #6
0
 public JournalController()
 {
     _aMngr = new JournalManager();
 }