Ejemplo n.º 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}";
 }
Ejemplo n.º 2
0
 public InsertNode(TableNode table, FieldNode[] fields, Node[] values, SelectNode selectNode)
 {
     Values = values;
     Fields = fields;
 }