public int RequestCount() { VOUserProfile criteria = GetSuUserCriteria(); int count = QueryProvider.SuUserQuery.CountUserProfileByCriteria(criteria); return(count); }
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); }
public Object RequestData(int startRow, int pageSize, string sortExpression) { VOUserProfile criteria = GetSuUserCriteria(); return(QueryProvider.SuUserQuery.GetUserProfileListByCriteria(criteria, startRow, pageSize, sortExpression)); }