Exemplo n.º 1
0
        protected void CleanPrevInstructions()
        {
            List <Instruction> prevInstrx = InstructionManager.GetPendingInstructions(GetAccountNumber());

            foreach (Instruction prevInstr in prevInstrx)
            {
                prevInstr.Executed        = true;
                prevInstr.AccountPosition = null;
                InstructionManager.Persist(prevInstr);
            }
        }