public void Insert(DateTime?DateCreated, string RefX, byte[] Ts)
        {
            OrderNumberTable item = new OrderNumberTable();

            item.DateCreated = DateCreated;

            item.RefX = RefX;

            item.Ts = Ts;


            item.Save(UserName);
        }
        public void Update(int OrderNumber, DateTime?DateCreated, string RefX, byte[] Ts)
        {
            OrderNumberTable item = new OrderNumberTable();

            item.MarkOld();
            item.IsLoaded = true;

            item.OrderNumber = OrderNumber;

            item.DateCreated = DateCreated;

            item.RefX = RefX;

            item.Ts = Ts;

            item.Save(UserName);
        }
 public bool Destroy(object OrderNumber)
 {
     return(OrderNumberTable.Destroy(OrderNumber) == 1);
 }
 public bool Delete(object OrderNumber)
 {
     return(OrderNumberTable.Delete(OrderNumber) == 1);
 }