public void Insert(string HisMaDvu, string HisTenDvu, string HisMaNhom, string HisTenNhom, string LisMaVu, string LisTenDvu, string LisMaNhom, string LisTenNhom, string LisKieuMap)
        {
            KetnoiMappingHisLi item = new KetnoiMappingHisLi();

            item.HisMaDvu = HisMaDvu;

            item.HisTenDvu = HisTenDvu;

            item.HisMaNhom = HisMaNhom;

            item.HisTenNhom = HisTenNhom;

            item.LisMaVu = LisMaVu;

            item.LisTenDvu = LisTenDvu;

            item.LisMaNhom = LisMaNhom;

            item.LisTenNhom = LisTenNhom;

            item.LisKieuMap = LisKieuMap;


            item.Save(UserName);
        }
        public void Update(int Id, string HisMaDvu, string HisTenDvu, string HisMaNhom, string HisTenNhom, string LisMaVu, string LisTenDvu, string LisMaNhom, string LisTenNhom, string LisKieuMap)
        {
            KetnoiMappingHisLi item = new KetnoiMappingHisLi();

            item.MarkOld();
            item.IsLoaded = true;

            item.Id = Id;

            item.HisMaDvu = HisMaDvu;

            item.HisTenDvu = HisTenDvu;

            item.HisMaNhom = HisMaNhom;

            item.HisTenNhom = HisTenNhom;

            item.LisMaVu = LisMaVu;

            item.LisTenDvu = LisTenDvu;

            item.LisMaNhom = LisMaNhom;

            item.LisTenNhom = LisTenNhom;

            item.LisKieuMap = LisKieuMap;

            item.Save(UserName);
        }
 public bool Destroy(object Id)
 {
     return(KetnoiMappingHisLi.Destroy(Id) == 1);
 }
 public bool Delete(object Id)
 {
     return(KetnoiMappingHisLi.Delete(Id) == 1);
 }