Exemplo n.º 1
0
 public static IList <Ordering> Load(IEnumerable <OrderingJson> orderings, Schema schema)
 => orderings?.Select(x => new Ordering(x, schema)).ToList()
 ?? new List <Ordering>();
Exemplo n.º 2
0
 public Aggregation(AggregationJson json, Schema schema)
 {
     Function = json.Function;
     Column   = schema.GetColumn(json.Column);
     Filters  = Filter.Load(json.Filters, schema);
 }
Exemplo n.º 3
0
 public Ordering(OrderingJson json, Schema schema)
     : this(schema.GetColumn(json.Column), json.Descending)
 {
 }