Пример #1
0
        public static IList <Instructions> LoadByOrderId(int OrderId)
        {
            IList <Instructions> o       = new List <Instructions>();
            IInstructionsPersist persist = new InstructionsPersist();

            return(o = persist.LoadByOrderId(OrderId));
        }
Пример #2
0
        public static IList <Instructions> FindAll()
        {
            IList <Instructions> o       = new List <Instructions>();
            IInstructionsPersist persist = new InstructionsPersist();

            return(o = persist.FindAll());
        }
Пример #3
0
        public void Load(int InstructionsId)
        {
            IInstructionsPersist persist = new InstructionsPersist();

            this.Id = InstructionsId;
            persist.Load(this);
        }
Пример #4
0
        public void Delete(int InstructionsId)
        {
            IInstructionsPersist persist = new InstructionsPersist();

            this.Id = InstructionsId;
            persist.Delete(this);
        }
Пример #5
0
        public void Save()
        {
            IInstructionsPersist persist = new InstructionsPersist();

            persist.Save(this);
        }