Пример #1
0
        public virtual T Get(QueryOptions <T> options)
        {
            IQueryable <T> query = BuildQuery(options);

            return(query.FirstOrDefault());
        }
Пример #2
0
        public virtual IEnumerable <T> List(QueryOptions <T> options)
        {
            IQueryable <T> query = BuildQuery(options);

            return(query.ToList());
        }