Пример #1
0
 public QueryNode(SelectNode select, FromNode from, WhereNode where, GroupByNode groupBy, OrderByNode orderBy,
                  SkipNode skip, TakeNode take)
 {
     Select  = select;
     From    = from;
     Where   = where;
     GroupBy = groupBy;
     OrderBy = orderBy;
     Skip    = skip;
     Take    = take;
     Id      = $"{nameof(QueryNode)}{select.Id}{from.Id}{where?.Id}{groupBy?.Id}{orderBy?.Id}{skip?.Id}{take?.Id}";
 }
Пример #2
0
 public InternalQueryNode(SelectNode select, FromNode from, WhereNode where, GroupByNode groupBy,
                          OrderByNode orderBy, SkipNode skip, TakeNode take, RefreshNode refresh)
     : base(select, from, where, groupBy, orderBy, skip, take)
 {
     Refresh = refresh;
 }