Пример #1
0
        public JsonCommand From <TMaster, TDetail>(Expression <Func <TMaster, IList <TDetail> > > listGetter)
        {
            if (_currentWhere != null)
            {
                _filters.Add(new JsonFilter(_currentWhere));
            }
            var from = JsonFrom.From(listGetter);

            _filters.Add(new JsonFilter(from));
            _currentWhere = new JsonWhere(typeof(TDetail));
            return(this);
        }
Пример #2
0
 public JsonFilter(JsonFrom from)
 {
     _from = from;
 }