Esempio n. 1
0
        private IQuery NewQuery()
        {
            var query = _queryFactory.Query();

            query.Constrain(typeof(T));
            return(query);
        }
Esempio n. 2
0
        public IEnumerator <T> GetEnumerator()
        {
            var query = _queryFactory.Query();

            query.Constrain(typeof(T));
            return(new ObjectSequence <T>(query.Execute()).GetEnumerator());
        }