Esempio n. 1
0
        public string DoCreateSameLevelNodeIt(string name)
        {
            SysFormTree en = new SysFormTree();

            en.Copy(this);
            en.No   = BP.DA.DBAccess.GenerOID().ToString();
            en.Name = name;
            en.Insert();
            return(en.No);
        }
Esempio n. 2
0
        public SysFormTree DoCreateSameLevelNode()
        {
            SysFormTree en = new SysFormTree();

            en.Copy(this);
            en.No   = BP.DA.DBAccess.GenerOID().ToString();
            en.Name = "新建节点";
            en.Insert();
            return(en);
        }
Esempio n. 3
0
        public override int RetrieveAll()
        {
            int i = base.RetrieveAll();

            if (i == 0)
            {
                SysFormTree fs = new SysFormTree();
                fs.Name = "公文类";
                fs.No   = "01";
                fs.Insert();

                fs      = new SysFormTree();
                fs.Name = "办公类";
                fs.No   = "02";
                fs.Insert();
                i = base.RetrieveAll();
            }
            return(i);
        }