public void Insert(string ReportName, string ObjectName, string FontName, int?FontSize, string FontStype, string ObjectContent, string Trinhky) { SysTrinhky item = new SysTrinhky(); item.ReportName = ReportName; item.ObjectName = ObjectName; item.FontName = FontName; item.FontSize = FontSize; item.FontStype = FontStype; item.ObjectContent = ObjectContent; item.Trinhky = Trinhky; item.Save(UserName); }
public void Update(string ReportName, string ObjectName, string FontName, int?FontSize, string FontStype, string ObjectContent, string Trinhky) { SysTrinhky item = new SysTrinhky(); item.MarkOld(); item.IsLoaded = true; item.ReportName = ReportName; item.ObjectName = ObjectName; item.FontName = FontName; item.FontSize = FontSize; item.FontStype = FontStype; item.ObjectContent = ObjectContent; 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); }