Example #1
0
        public int RequestCount()
        {
            VOUserProfile criteria = GetSuUserCriteria();
            int           count    = QueryProvider.SuUserQuery.CountUserProfileByCriteria(criteria);

            return(count);
        }
Example #2
0
        public VOUserProfile GetSuUserCriteria()
        {
            VOUserProfile user_profile = new VOUserProfile();

            user_profile.UserName = ctlUserID.Text;
            if (!String.IsNullOrEmpty(ctlUserGroup.SelectedValue))
            {
                user_profile.UserGroupId = UIHelper.ParseLong(ctlUserGroup.Text);
            }
            user_profile.EmployeeName = ctrEmployeeName.Text;
            return(user_profile);
        }
Example #3
0
        public Object RequestData(int startRow, int pageSize, string sortExpression)
        {
            VOUserProfile criteria = GetSuUserCriteria();

            return(QueryProvider.SuUserQuery.GetUserProfileListByCriteria(criteria, startRow, pageSize, sortExpression));
        }