public void Insert(string ReportName, string ObjectName, string Trinhky) { SysTrinhky item = new SysTrinhky(); item.ReportName = ReportName; item.ObjectName = ObjectName; item.Trinhky = Trinhky; item.Save(UserName); }
public void Update(string ReportName, string ObjectName, string Trinhky) { SysTrinhky item = new SysTrinhky(); item.MarkOld(); item.IsLoaded = true; item.ReportName = ReportName; item.ObjectName = ObjectName; item.Trinhky = Trinhky; item.Save(UserName); }
public bool Destroy(object ReportName) { return(SysTrinhky.Destroy(ReportName) == 1); }
public bool Delete(object ReportName) { return(SysTrinhky.Delete(ReportName) == 1); }