public void Insert(string ReportName, string ObjectName, string FontName, int?FontSize, string FontStype,
                           string ObjectContent)
        {
            var item = new TblTrinhky();

            item.ReportName = ReportName;

            item.ObjectName = ObjectName;

            item.FontName = FontName;

            item.FontSize = FontSize;

            item.FontStype = FontStype;

            item.ObjectContent = ObjectContent;


            item.Save(UserName);
        }
        public void Update(string ReportName, string ObjectName, string FontName, int?FontSize, string FontStype,
                           string ObjectContent)
        {
            var item = new TblTrinhky();

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

            item.ReportName = ReportName;

            item.ObjectName = ObjectName;

            item.FontName = FontName;

            item.FontSize = FontSize;

            item.FontStype = FontStype;

            item.ObjectContent = ObjectContent;

            item.Save(UserName);
        }