public void Insert(string NguoiTao, DateTime NgayTao) { TLichsuHieuchinhDonthuoc item = new TLichsuHieuchinhDonthuoc(); item.NguoiTao = NguoiTao; item.NgayTao = NgayTao; item.Save(UserName); }
public void Update(long IdHieuchinh, string NguoiTao, DateTime NgayTao) { TLichsuHieuchinhDonthuoc item = new TLichsuHieuchinhDonthuoc(); item.MarkOld(); item.IsLoaded = true; item.IdHieuchinh = IdHieuchinh; item.NguoiTao = NguoiTao; item.NgayTao = NgayTao; item.Save(UserName); }
public bool Destroy(object IdHieuchinh) { return(TLichsuHieuchinhDonthuoc.Destroy(IdHieuchinh) == 1); }