public void Update(int IdDichvukcb, string MaDichvukcb, string TenDichvukcb, short IdKieukham, short IdKhoaphong, short IdBacsy, short IdDoituongKcb, short IdPhongkham, decimal DonGia, decimal?PhuthuDungtuyen, decimal?PhuthuTraituyen, decimal?DongiaNgoaigio, decimal?PhuthuNgoaigio, string MaDoituongKcb, int?IdPhikemtheo, int?IdPhikemtheongoaigio, string NhomBaocao, byte?TuTuc, short?SttHthi, string MotaThem, string MaBhyt, bool?HoatDong, string MaGia) { DmucDichvukcb item = new DmucDichvukcb(); item.MarkOld(); item.IsLoaded = true; item.IdDichvukcb = IdDichvukcb; item.MaDichvukcb = MaDichvukcb; item.TenDichvukcb = TenDichvukcb; item.IdKieukham = IdKieukham; item.IdKhoaphong = IdKhoaphong; item.IdBacsy = IdBacsy; item.IdDoituongKcb = IdDoituongKcb; item.IdPhongkham = IdPhongkham; item.DonGia = DonGia; item.PhuthuDungtuyen = PhuthuDungtuyen; item.PhuthuTraituyen = PhuthuTraituyen; item.DongiaNgoaigio = DongiaNgoaigio; item.PhuthuNgoaigio = PhuthuNgoaigio; item.MaDoituongKcb = MaDoituongKcb; item.IdPhikemtheo = IdPhikemtheo; item.IdPhikemtheongoaigio = IdPhikemtheongoaigio; item.NhomBaocao = NhomBaocao; item.TuTuc = TuTuc; item.SttHthi = SttHthi; item.MotaThem = MotaThem; item.MaBhyt = MaBhyt; item.HoatDong = HoatDong; item.MaGia = MaGia; item.Save(UserName); }
public bool Destroy(object IdDichvukcb) { return(DmucDichvukcb.Destroy(IdDichvukcb) == 1); }
public bool Delete(object IdDichvukcb) { return(DmucDichvukcb.Delete(IdDichvukcb) == 1); }