Exemplo n.º 1
0
        public static IList <Instructions> LoadByOrderId(int OrderId)
        {
            IList <Instructions> o       = new List <Instructions>();
            IInstructionsPersist persist = new InstructionsPersist();

            return(o = persist.LoadByOrderId(OrderId));
        }
Exemplo n.º 2
0
        public static IList <Instructions> FindAll()
        {
            IList <Instructions> o       = new List <Instructions>();
            IInstructionsPersist persist = new InstructionsPersist();

            return(o = persist.FindAll());
        }
Exemplo n.º 3
0
        public void Load(int InstructionsId)
        {
            IInstructionsPersist persist = new InstructionsPersist();

            this.Id = InstructionsId;
            persist.Load(this);
        }
Exemplo n.º 4
0
        public void Delete(int InstructionsId)
        {
            IInstructionsPersist persist = new InstructionsPersist();

            this.Id = InstructionsId;
            persist.Delete(this);
        }
Exemplo n.º 5
0
        public void Save()
        {
            IInstructionsPersist persist = new InstructionsPersist();

            persist.Save(this);
        }