Пример #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 DescNode(FromNode from, DescForType type)
 {
     From = from;
     Id   = $"{nameof(DescNode)}{from.Id}";
     Type = type;
 }
Пример #3
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;
 }
Пример #4
0
 public DescNode(FromNode from)
 {
     From = from;
     Id   = $"{nameof(DescNode)}{from.Id}";
 }
Пример #5
0
 public InnerJoinNode(FromNode from, Node expression)
     : base(from, expression)
 {
     Id = CalculateId(this);
 }