예제 #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());
        }