public void Sample() { string error; factory = new QueryFactory(); query = factory.CreateQuery(QueryClass.PositionUtilisationRiskEntityQuery); filter = query.CreateFilter(); filter.AddFilterCriteria("EntityLevel", "Client", out error); query.MaxCount = 25; query.QueryResponse += query_QueryResponse; query.Start(filter); }