예제 #1
0
 public static Condition Any(ColumnItem actualColumn, Select expected)
 {
     return(new Condition(ConditionType.Any, actualColumn, expected));
 }
예제 #2
0
 protected Condition(ConditionType condition, Select item)
 {
     ConditionType = condition;
     Item          = item;
 }
예제 #3
0
 protected Condition(ConditionType condition, ColumnItem column, Select item)
 {
     ConditionType = condition;
     Column        = column;
     Item          = item;
 }
예제 #4
0
 public static Condition NotIn(ColumnItem actualColumn, Select select)
 {
     return(new Condition(ConditionType.NotIn, actualColumn, select));
 }
예제 #5
0
 public static Condition NotExists(Select select)
 {
     return(new Condition(ConditionType.NotExists, select));
 }
예제 #6
0
파일: Where.cs 프로젝트: Endahl/CSharpedSql
 public static Where NotIn(string coulmn, Select select)
 {
     return(new Where(Condition.NotIn(coulmn, select)));
 }
예제 #7
0
파일: Where.cs 프로젝트: Endahl/CSharpedSql
 /// <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)));
 }
예제 #8
0
파일: Where.cs 프로젝트: Endahl/CSharpedSql
 /// <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)));
 }