public static IList <Instructions> LoadByOrderId(int OrderId) { IList <Instructions> o = new List <Instructions>(); IInstructionsPersist persist = new InstructionsPersist(); return(o = persist.LoadByOrderId(OrderId)); }
public static IList <Instructions> FindAll() { IList <Instructions> o = new List <Instructions>(); IInstructionsPersist persist = new InstructionsPersist(); return(o = persist.FindAll()); }
public void Load(int InstructionsId) { IInstructionsPersist persist = new InstructionsPersist(); this.Id = InstructionsId; persist.Load(this); }
public void Delete(int InstructionsId) { IInstructionsPersist persist = new InstructionsPersist(); this.Id = InstructionsId; persist.Delete(this); }
public void Save() { IInstructionsPersist persist = new InstructionsPersist(); persist.Save(this); }