private void ParseTransactionCommon(AddTransactionCommandBase command) { this.ParseCommon(command); var tran = command.CreateTransaction(); command.Result = tran; }
private void ParseTransaction(AddTransactionCommandBase command) { this.ParseCommon(command); var tran = command.CreateTransaction(); command.Result = tran; this.CreateOrders(command); if (tran.SubType == TransactionSubType.IfDone) { IfDoneTransactionParser.Default.FillDoneTrans(tran, command.TransactionData); } else if (tran.SubType == TransactionSubType.Amend && this.IsChangeToIfDone(command.TransactionData)) { IfDoneTransactionParser.Default.FillDoneTrans(tran, command.TransactionData); tran.SubType = TransactionSubType.IfDone; } TransactionCodeGenerater.Default.FillTranAndOrderCode(tran); }