コード例 #1
0
 public bool Destroy(object IdDichvu)
 {
     return(DmucDichvucl.Destroy(IdDichvu) == 1);
 }
コード例 #2
0
        public void Insert(string IdLoaidichvu, string MaDichvu, string TenDichvu, decimal DonGia, byte TrangThai, short?DichvuKtc, short SttHthi, byte?HienthiChitiet, short?IdKhoaThuchien, short?IdPhongThuchien, string ChiDan, string NhomBaocao, string NhomInCls, string MotaThem, string NguoiTao, DateTime?NgayTao, string NguoiSua, DateTime?NgaySua, int?IdVungkhaosat, int?ThetichToithieu, byte?TinhthetichTheochitieu, string MaDonvichitieu, byte?CoSosanh, string MaQuychuanSosanh, byte?SongayTraketqua, string MaBhyt, string TenBhyt, string NhomInphoiBHYT, byte?LaDvuKiemnghiem)
        {
            DmucDichvucl item = new DmucDichvucl();

            item.IdLoaidichvu = IdLoaidichvu;

            item.MaDichvu = MaDichvu;

            item.TenDichvu = TenDichvu;

            item.DonGia = DonGia;

            item.TrangThai = TrangThai;

            item.DichvuKtc = DichvuKtc;

            item.SttHthi = SttHthi;

            item.HienthiChitiet = HienthiChitiet;

            item.IdKhoaThuchien = IdKhoaThuchien;

            item.IdPhongThuchien = IdPhongThuchien;

            item.ChiDan = ChiDan;

            item.NhomBaocao = NhomBaocao;

            item.NhomInCls = NhomInCls;

            item.MotaThem = MotaThem;

            item.NguoiTao = NguoiTao;

            item.NgayTao = NgayTao;

            item.NguoiSua = NguoiSua;

            item.NgaySua = NgaySua;

            item.IdVungkhaosat = IdVungkhaosat;

            item.ThetichToithieu = ThetichToithieu;

            item.TinhthetichTheochitieu = TinhthetichTheochitieu;

            item.MaDonvichitieu = MaDonvichitieu;

            item.CoSosanh = CoSosanh;

            item.MaQuychuanSosanh = MaQuychuanSosanh;

            item.SongayTraketqua = SongayTraketqua;

            item.MaBhyt = MaBhyt;

            item.TenBhyt = TenBhyt;

            item.NhomInphoiBHYT = NhomInphoiBHYT;

            item.LaDvuKiemnghiem = LaDvuKiemnghiem;


            item.Save(UserName);
        }
コード例 #3
0
 public bool Delete(object IdDichvu)
 {
     return(DmucDichvucl.Delete(IdDichvu) == 1);
 }