public ValidateResult Validate(BUserinfo data)
            {
                ValidateResult result = new ValidateResult();

                ValidatorHelper.LengthControl(data.Name, "Name", 1, 16, ref result);
                return(result);
            }
            public ValidateResult Validate(BPrivilegeGroup data)
            {
                ValidateResult result = new ValidateResult();

                ValidatorHelper.LengthControl(data.Name, "Name", 1, 128, ref result);
                return(result);
            }