Exemplo n.º 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
     });
 }
Exemplo n.º 2
0
 public void AddTransaction(TransactionKind transaction)
 {
     transaction.ProcessKindId = Id;
     transactions.Add(transaction);
 }