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

            item.DateCreated = DateCreated;

            item.Ts = Ts;


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

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

            item.OrderNumber = OrderNumber;

            item.DateCreated = DateCreated;

            item.Ts = Ts;

            item.Save(UserName);
        }