Пример #1
0
        private IQuery NewQuery()
        {
            var query = _queryFactory.Query();

            query.Constrain(typeof(T));
            return(query);
        }
Пример #2
0
        public IEnumerator <T> GetEnumerator()
        {
            var query = _queryFactory.Query();

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