public UserCriteria GetCriteria() { UserCriteria criteria = new UserCriteria(); if (!this.DesignMode) { if (!string.IsNullOrEmpty(ctlUserId.Text)) { criteria.UserId = UIHelper.ParseLong(ctlUserId.Text); } criteria.Name = ctlName.Text.Trim().Length < 0 ? string.Empty : ctlName.Text.Trim(); criteria.CompanyName = ctlCompanyName.Text.Trim().Length < 0 ? string.Empty : ctlCompanyName.Text.Trim(); criteria.Email = ctlEmail.Text.Trim().Length < 0 ? string.Empty : ctlEmail.Text.Trim(); criteria.UserIdNOTIN = UserIdNotIn.Trim().Length < 0 ? string.Empty : UserIdNotIn; } return(criteria); }
/// <summary> /// Filter by the owner user id where the owner user id is not in the given collection. /// </summary> public GraphQueryArgument <IEnumerable <int> > UserIdNotInQueryArgument(IEnumerable <int> value) { return(UserIdNotIn.GetQueryArgumentAndSetValue(value)); }