コード例 #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);
        }
コード例 #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);
        }
コード例 #3
0
 public bool Destroy(object Id)
 {
     return(TblLot.Destroy(Id) == 1);
 }
コード例 #4
0
 public bool Delete(object Id)
 {
     return(TblLot.Delete(Id) == 1);
 }