public void Insert(DateTime NgayChot, string NguoiChot, byte?Noitru) { TLichsuChotthuoc item = new TLichsuChotthuoc(); item.NgayChot = NgayChot; item.NguoiChot = NguoiChot; item.Noitru = Noitru; item.Save(UserName); }
public void Update(int IdChot, DateTime NgayChot, string NguoiChot, byte?Noitru) { TLichsuChotthuoc item = new TLichsuChotthuoc(); item.MarkOld(); item.IsLoaded = true; item.IdChot = IdChot; item.NgayChot = NgayChot; item.NguoiChot = NguoiChot; item.Noitru = Noitru; item.Save(UserName); }
public bool Destroy(object IdChot) { return(TLichsuChotthuoc.Destroy(IdChot) == 1); }
public bool Delete(object IdChot) { return(TLichsuChotthuoc.Delete(IdChot) == 1); }