private IQuery NewQuery() { var query = _queryFactory.Query(); query.Constrain(typeof(T)); return(query); }
public IEnumerator <T> GetEnumerator() { var query = _queryFactory.Query(); query.Constrain(typeof(T)); return(new ObjectSequence <T>(query.Execute()).GetEnumerator()); }