Exemple #1
0
        public void Update(int MaDM, string TenDM, DateTime?Ngaycapnhap, int?MaNVchinhsua, string Status)
        {
            DanHMuc item = new DanHMuc();

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

            item.MaDM = MaDM;

            item.TenDM = TenDM;

            item.Ngaycapnhap = Ngaycapnhap;

            item.MaNVchinhsua = MaNVchinhsua;

            item.Status = Status;

            item.Save(UserName);
        }
Exemple #2
0
        public DanHMuc Update(DanHMuc item2)
        {
            DanHMuc item = new DanHMuc();

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

            item.MaDM = item2.MaDM;

            item.TenDM = item2.TenDM;

            item.Ngaycapnhap = item2.Ngaycapnhap;

            item.MaNVchinhsua = item2.MaNVchinhsua;

            item.Status = item2.Status;

            item.Save(UserName);
            return(item);
        }