Esempio n. 1
0
 /// <summary>
 /// Adds a query to the UNION clause
 /// </summary>
 /// <param name="query">SelectQuery to be added</param>
 /// <remarks>Query will be added with DistinctModifier.Distinct </remarks>
 public void Add(SelectQuery query)
 {
     Add(query, UnionMod.Distinct);
 }
Esempio n. 2
0
 /// <summary>
 /// Adds a query to the UNION clause with the specified DistinctModifier
 /// </summary>
 /// <param name="query">SelectQuery to be added</param>
 /// <param name="repeatingAction">Distinct modifier</param>
 public void Add(SelectQuery query, UnionMod repeatingAction)
 {
     items.Add(new OmUnionItem(query, repeatingAction));
 }
Esempio n. 3
0
 /// <summary></summary>
 public OmUnionItem(SelectQuery query, UnionMod repeatingAction)
 {
     Query           = query;
     RepeatingAction = repeatingAction;
 }