Пример #1
0
        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);
        }
Пример #2
0
        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);
        }
Пример #3
0
 public bool Destroy(object Id)
 {
     return(KetnoiMappingHisLi.Destroy(Id) == 1);
 }
Пример #4
0
 public bool Delete(object Id)
 {
     return(KetnoiMappingHisLi.Delete(Id) == 1);
 }