Пример #1
0
        public static List <T> FindAll(Func <QueryFindAllBuilder <T>, QueryFindAllBuilder <T> > query, IAdapterService adapterService = null)
        {
            QueryFindAllBuilder <T> newQuery = new QueryFindAllBuilder <T>();
            var returnQuery = query(newQuery);

            return((adapterService ?? ContextAdapterService).FindAll <T>(returnQuery));
        }
Пример #2
0
 public static List <T> FindAll(QueryFindAllBuilder <T> query, IAdapterService adapterService = null)
 {
     return((adapterService ?? ContextAdapterService).FindAll <T>(query));
 }