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