/// <summary> /// Creates an unary NOT comparison /// </summary> /// <param name="clause"></param> /// <returns></returns> public static DBComparison Not(DBClause clause) { DBUnaryComparisonRef un = new DBUnaryComparisonRef(); un.UnaryOperator = UnaryOp.Not; un.ToOperateOn = clause; return(un); }
// // internal parameterless factory methods // #region internal static DBComparison Not() internal static DBComparison Not() { DBUnaryComparisonRef un = new DBUnaryComparisonRef(); un.UnaryOperator = UnaryOp.Not; un.ToOperateOn = null; return(un); }
/// <summary> /// Creates an EXISTS comparison /// </summary> /// <param name="clause"></param> /// <returns></returns> public static DBComparison Exists(DBClause clause) { DBUnaryComparisonRef un = new DBUnaryComparisonRef(); un.UnaryOperator = Tech.Data.UnaryOp.Exists; un.ToOperateOn = clause; return(un); }