public void ProcessNodeAdapterLoadListTest()
        {
            ProcessNodeAdapter pna = new ProcessNodeAdapter();
            List <ProcessNode> pn  = pna.LoadList("59588CFB-CAC0-4E2E-8973-844C505700D5", "0");

            Console.WriteLine(pn.Count);
        }
        public void ProcessNodeAdapterUpdateTest()
        {
            ProcessNodeAdapter pna = new ProcessNodeAdapter();
            ProcessNode        pn  = pna.Load("506B7138-CB9B-4E48-BEF4-4AC48CAD9FF6");

            pn.CreateTime  = pn.CreateTime.AddYears(10);
            pn.CreatorName = pn.CreatorName + "UDP";
            pn.Description = pn.Description + "UDP";
            pna.Update(pn);
        }
        public void ProcessNodeAdapterInsertTest()
        {
            ProcessNodeAdapter pna = new ProcessNodeAdapter();
            ProcessNode        pn  = new ProcessNode()
            {
                CreateTime  = DateTime.Now,
                CreatorName = "auto_unit_test",
                Description = "test",
                Expression  = "1==1",
                ID          = Guid.NewGuid().ToString(),
                IsDeleted   = false,
                IsEdit      = false,
                IsHandSign  = false,
                NodeName    = "test_add",
                NodeSeq     = 5,
                NodeType    = 8,
                ProcessID   = "3CA36C1B-1975-4E92-9A55-628FE422C160",
                ProcessType = "0",
                RoleID      = Guid.NewGuid().ToString()
            };

            pna.Insert(pn);
        }
        public void ProcessNodeAdapterDeleteTest()
        {
            ProcessNodeAdapter pna = new ProcessNodeAdapter();

            pna.Delete("653E65D5-A32D-4EFE-8A85-842DF8C7D1FB");
        }