Exemplo n.º 1
0
 public static Condition Any(ColumnItem actualColumn, Select expected)
 {
     return(new Condition(ConditionType.Any, actualColumn, expected));
 }
Exemplo n.º 2
0
 protected Condition(ConditionType condition, Select item)
 {
     ConditionType = condition;
     Item          = item;
 }
Exemplo n.º 3
0
 protected Condition(ConditionType condition, ColumnItem column, Select item)
 {
     ConditionType = condition;
     Column        = column;
     Item          = item;
 }
Exemplo n.º 4
0
 public static Condition NotIn(ColumnItem actualColumn, Select select)
 {
     return(new Condition(ConditionType.NotIn, actualColumn, select));
 }
Exemplo n.º 5
0
 public static Condition NotExists(Select select)
 {
     return(new Condition(ConditionType.NotExists, select));
 }
Exemplo n.º 6
0
 public static Where NotIn(string coulmn, Select select)
 {
     return(new Where(Condition.NotIn(coulmn, select)));
 }
Exemplo n.º 7
0
 /// <summary>
 /// The ALL operator returns TRUE if all of the subquery values meet the condition.
 /// </summary>
 /// <param name="column">the column to look at</param>
 /// <param name="select">the SELECT statement to check on</param>
 public static Where All(string column, Select select)
 {
     return(new Where(Condition.All(column, select)));
 }
Exemplo n.º 8
0
 /// <summary>
 /// The EXISTS operator is used to test for the existence of any record in a subquery.
 /// The EXISTS operator returns true if the subquery returns no records.
 /// </summary>
 /// <param name="select">the SELECT statement to check on</param>
 public static Where NotExists(Select select)
 {
     return(new Where(Condition.NotExists(select)));
 }