Esempio n. 1
0
        public void Insert(int OrderFrom,int OrderTo,DateTime DateInput,string ObjectX,string Sex,string Address)
        {
            TblLot item = new TblLot();

            item.OrderFrom = OrderFrom;

            item.OrderTo = OrderTo;

            item.DateInput = DateInput;

            item.ObjectX = ObjectX;

            item.Sex = Sex;

            item.Address = Address;

            item.Save(UserName);
        }
Esempio n. 2
0
        public void Update(int Id,int OrderFrom,int OrderTo,DateTime DateInput,string ObjectX,string Sex,string Address)
        {
            TblLot item = new TblLot();
            item.MarkOld();
            item.IsLoaded = true;

            item.Id = Id;

            item.OrderFrom = OrderFrom;

            item.OrderTo = OrderTo;

            item.DateInput = DateInput;

            item.ObjectX = ObjectX;

            item.Sex = Sex;

            item.Address = Address;

            item.Save(UserName);
        }