Beispiel #1
0
        public void Insert(string MaKieukham, string TenKieukham, decimal?DonGia, decimal?PhuthuDungtuyen, decimal?PhuthuTraituyen, short?SttHthi, string MaDoituongkcb, string NhomBaocao, byte?TrangThai, string NguoiTao, DateTime?NgayTao, string NguoiSua, DateTime?NgaySua)
        {
            DmucKieukham item = new DmucKieukham();

            item.MaKieukham = MaKieukham;

            item.TenKieukham = TenKieukham;

            item.DonGia = DonGia;

            item.PhuthuDungtuyen = PhuthuDungtuyen;

            item.PhuthuTraituyen = PhuthuTraituyen;

            item.SttHthi = SttHthi;

            item.MaDoituongkcb = MaDoituongkcb;

            item.NhomBaocao = NhomBaocao;

            item.TrangThai = TrangThai;

            item.NguoiTao = NguoiTao;

            item.NgayTao = NgayTao;

            item.NguoiSua = NguoiSua;

            item.NgaySua = NgaySua;


            item.Save(UserName);
        }
Beispiel #2
0
 public bool Destroy(object IdKieukham)
 {
     return(DmucKieukham.Destroy(IdKieukham) == 1);
 }
Beispiel #3
0
 public bool Delete(object IdKieukham)
 {
     return(DmucKieukham.Delete(IdKieukham) == 1);
 }