public void StakeHolderAdapterLoadListTest()
        {
            StakeHolderAdapter sha  = new StakeHolderAdapter();
            List <StakeHolder> list = sha.LoadList("DD03D6D7-817E-4AEA-9B28-E0A732E98ADC");

            Console.WriteLine(list.Count);
        }
        public void StakeHolderAdapterLoadTest()
        {
            StakeHolderAdapter sha = new StakeHolderAdapter();
            StakeHolder        sh  = sha.Load("DD03D6D7-817E-4AEA-9B28-E0A732E98ADC", 2);

            Console.WriteLine(sh == null);
        }
        public void StakeHolderAdapterUpdateTest()
        {
            StakeHolderAdapter sha = new StakeHolderAdapter();
            StakeHolder        sh  = sha.Load("BCCC9DD1-5497-47D0-B137-303EC3CA1562");

            sh.CreatorName = sh.CreatorName + "UDP";
            sh.CreateTime  = sh.CreateTime.AddYears(100);
            sh.UserID      = 2;
            sha.Update(sh);
        }
        public void StakeHolderAdapterInsertTest()
        {
            StakeHolderAdapter sha = new StakeHolderAdapter();
            StakeHolder        sh  = new StakeHolder()
            {
                BizProcessID = "Unit_test",
                //???
                CreatedTime       = DateTime.Now,
                CreateTime        = DateTime.Now,
                CreatorName       = "unit_test",
                cUserID           = "unit_test",
                ID                = Guid.NewGuid().ToString(),
                IsDeleted         = false,
                NodeType          = 0,
                ProcessID         = "347D876A-1845-4F14-9532-6E454065F8D8",
                ProcessInstanceID = "59588CFB-CAC0-4E2E-8973-844C505700D5",
                UserCode          = "unit_test",
                UserID            = 0,
                UserName          = "******"
            };

            sha.Insert(sh);
        }
        public void StakeHolderAdapterDeleteTest()
        {
            StakeHolderAdapter sha = new StakeHolderAdapter();

            sha.Delete("03134BE8-F837-4A16-9DEF-F7FC13A5A97C");
        }