Пример #1
0
        public bool Update()
        {
            JFolderTable ActionTable = new JFolderTable();

            ActionTable.SetValueProperty(this);
            return(ActionTable.Update());
        }
Пример #2
0
        // Insert , Update , Delete
        #region BaseFunctions
        public int Insert()
        {
            Create_Date_Time = DateTime.Now;
            User_post_code   = JMainFrame.CurrentPostCode;

            JFolderTable ActionTable = new JFolderTable();

            ActionTable.SetValueProperty(this);
            Code = ActionTable.Insert();
            Nodes.InsertInTreeView(GetNode());
            if (Code > 0)
            {
                Histroy.Save(this, ActionTable, Code, "Insert");
                return(Code);
            }
            else
            {
                return(0);
            }
        }