public bool Update() { JFolderTable ActionTable = new JFolderTable(); ActionTable.SetValueProperty(this); return(ActionTable.Update()); }
// 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); } }