예제 #1
0
 public void AddTransactionLink(TransactionKind sourceTransaction, TransactionKind destinationTransaction, TransactionCompletion sourceCompletion, TransactionCompletion destinationCompletion, TransactionLinkType linkType)
 {
     links.Add(new TransactionLink
     {
         SourceTransactionKindId      = sourceTransaction.Id,
         DestinationTransactionKindId = destinationTransaction.Id,
         SourceCompletion             = sourceCompletion,
         DestinationCompletion        = destinationCompletion,
         Type = linkType
     });
 }
예제 #2
0
 public void AddTransaction(TransactionKind transaction)
 {
     transaction.ProcessKindId = Id;
     transactions.Add(transaction);
 }