public void Insert(string MaLoaiDvu,string TenLoaiDvu,string TenLoaiDvuEn,int? SttHthi,string MaKieuDvu) { DLoaiDvu item = new DLoaiDvu(); item.MaLoaiDvu = MaLoaiDvu; item.TenLoaiDvu = TenLoaiDvu; item.TenLoaiDvuEn = TenLoaiDvuEn; item.SttHthi = SttHthi; item.MaKieuDvu = MaKieuDvu; item.Save(UserName); }
public void Insert(string MaLoaiDvu,string TenLoaiDvu,string TenLoaiDvuEn,int? SttHthi,int TrangThai,string CustomField1,string CustomField2,string CustomField3) { DLoaiDvu item = new DLoaiDvu(); item.MaLoaiDvu = MaLoaiDvu; item.TenLoaiDvu = TenLoaiDvu; item.TenLoaiDvuEn = TenLoaiDvuEn; item.SttHthi = SttHthi; item.TrangThai = TrangThai; item.CustomField1 = CustomField1; item.CustomField2 = CustomField2; item.CustomField3 = CustomField3; item.Save(UserName); }
public void Update(int IdLoaiDvu,string MaLoaiDvu,string TenLoaiDvu,string TenLoaiDvuEn,int? SttHthi,string MaKieuDvu) { DLoaiDvu item = new DLoaiDvu(); item.MarkOld(); item.IsLoaded = true; item.IdLoaiDvu = IdLoaiDvu; item.MaLoaiDvu = MaLoaiDvu; item.TenLoaiDvu = TenLoaiDvu; item.TenLoaiDvuEn = TenLoaiDvuEn; item.SttHthi = SttHthi; item.MaKieuDvu = MaKieuDvu; item.Save(UserName); }
public void Update(int IdLoaiDvu,string MaLoaiDvu,string TenLoaiDvu,string TenLoaiDvuEn,int? SttHthi,int TrangThai,string CustomField1,string CustomField2,string CustomField3) { DLoaiDvu item = new DLoaiDvu(); item.MarkOld(); item.IsLoaded = true; item.IdLoaiDvu = IdLoaiDvu; item.MaLoaiDvu = MaLoaiDvu; item.TenLoaiDvu = TenLoaiDvu; item.TenLoaiDvuEn = TenLoaiDvuEn; item.SttHthi = SttHthi; item.TrangThai = TrangThai; item.CustomField1 = CustomField1; item.CustomField2 = CustomField2; item.CustomField3 = CustomField3; item.Save(UserName); }