Exemple #1
0
 public static Query Combine(Query firstQuery, Query secondQuery)
 {
     return(new Query
     {
         Where = Where.Combine(firstQuery.Where, secondQuery.Where),
         OrderBy = OrderBy.Combine(firstQuery.OrderBy, secondQuery.OrderBy),
         GroupBy = GroupBy.Combine(firstQuery.GroupBy, secondQuery.GroupBy)
     });
 }