示例#1
0
        public static SqlClause AddNotBitAnd(this SqlClause sqlClause,
                                             [NotNull] string columnName,
                                             [CanBeNull] IDbDataParameter parameter)
        {
            if (parameter == null)
            {
                return(sqlClause);
            }

            return(sqlClause.AddPredicate(columnName, " & " + parameter.ParameterName + " <> ", parameter));
        }
示例#2
0
 public static SqlClause AddLess(this SqlClause sqlClause,
                                 [NotNull] string columnName,
                                 [CanBeNull] IDbDataParameter parameter)
 {
     return(sqlClause.AddPredicate(columnName, " < ", parameter));
 }