public void Insert(short IdKhoakcb, int IdPhikemtheo, int IdPhikemtheongoaigio)
        {
            DmucPhikemtheo item = new DmucPhikemtheo();

            item.IdKhoakcb = IdKhoakcb;

            item.IdPhikemtheo = IdPhikemtheo;

            item.IdPhikemtheongoaigio = IdPhikemtheongoaigio;


            item.Save(UserName);
        }
        public void Update(short IdKhoakcb, int IdPhikemtheo, int IdPhikemtheongoaigio)
        {
            DmucPhikemtheo item = new DmucPhikemtheo();

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

            item.IdKhoakcb = IdKhoakcb;

            item.IdPhikemtheo = IdPhikemtheo;

            item.IdPhikemtheongoaigio = IdPhikemtheongoaigio;

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