/// <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 Between(String columnName, String paramName, Object valueOne, Object valueTwo) { return(SqlCondition.Between(SqlParameter.Create(columnName, paramName + "_One", valueOne), SqlParameter.Create(columnName, paramName + "_Two", valueTwo))); }