コード例 #1
0
 public bool Destroy(object IdSokcb)
 {
     return(KcbDangkySokham.Destroy(IdSokcb) == 1);
 }
コード例 #2
0
        public void Insert(long IdBenhnhan, string MaLuotkham, string MaSokcb, decimal DonGia, decimal BhytChitra, decimal BnhanChitra, decimal PtramBhytGoc, decimal PtramBhyt, decimal PhuThu, byte TrangthaiThanhtoan, long?IdThanhtoan, DateTime?NgayThanhtoan, string NguoiThanhtoan, byte TuTuc, string MaDoituongkcb, short IdDoituongkcb, byte IdLoaidoituongkcb, short IdKhoakcb, short?IdNhanvien, int?IdGoi, byte?TrongGoi, byte?NguonThanhtoan, byte?Noitru, long?IdLichsuDoituongKcb, string MatheBhyt, DateTime NgayTao, string NguoiTao, DateTime?NgaySua, string NguoiSua)
        {
            KcbDangkySokham item = new KcbDangkySokham();

            item.IdBenhnhan = IdBenhnhan;

            item.MaLuotkham = MaLuotkham;

            item.MaSokcb = MaSokcb;

            item.DonGia = DonGia;

            item.BhytChitra = BhytChitra;

            item.BnhanChitra = BnhanChitra;

            item.PtramBhytGoc = PtramBhytGoc;

            item.PtramBhyt = PtramBhyt;

            item.PhuThu = PhuThu;

            item.TrangthaiThanhtoan = TrangthaiThanhtoan;

            item.IdThanhtoan = IdThanhtoan;

            item.NgayThanhtoan = NgayThanhtoan;

            item.NguoiThanhtoan = NguoiThanhtoan;

            item.TuTuc = TuTuc;

            item.MaDoituongkcb = MaDoituongkcb;

            item.IdDoituongkcb = IdDoituongkcb;

            item.IdLoaidoituongkcb = IdLoaidoituongkcb;

            item.IdKhoakcb = IdKhoakcb;

            item.IdNhanvien = IdNhanvien;

            item.IdGoi = IdGoi;

            item.TrongGoi = TrongGoi;

            item.NguonThanhtoan = NguonThanhtoan;

            item.Noitru = Noitru;

            item.IdLichsuDoituongKcb = IdLichsuDoituongKcb;

            item.MatheBhyt = MatheBhyt;

            item.NgayTao = NgayTao;

            item.NguoiTao = NguoiTao;

            item.NgaySua = NgaySua;

            item.NguoiSua = NguoiSua;


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