/// <summary> /// 创建判断是否不在范围内的Sql条件语句 /// </summary> /// <param name="columnName">字段名</param> /// <param name="paramName">参数名</param> /// <param name="valueOne">数据一</param> /// <param name="valueTwo">数据二</param> /// <returns>Sql查询语句类</returns> public static SqlBasicParameterCondition NotBetween(String columnName, String paramName, Object valueOne, Object valueTwo) { return(SqlCondition.NotBetween(SqlParameter.Create(columnName, paramName + "_One", valueOne), SqlParameter.Create(columnName, paramName + "_Two", valueTwo))); }