/// <summary> /// 创建判断是否大于的Sql条件语句 /// </summary> /// <param name="columnName">字段名</param> /// <param name="tableNameTwo">数据表名二</param> /// <param name="columnNameTwo">字段名二</param> /// <returns>Sql条件语句</returns> public static SqlBasicParameterCondition GreaterThanColumn(String columnName, String tableNameTwo, String columnNameTwo) { return(SqlCondition.GreaterThan(SqlParameter.CreateCustomAction(columnName, GetFieldName(tableNameTwo, columnNameTwo)))); }
/// <summary> /// 创建判断是否大于的Sql条件语句 /// </summary> /// <param name="columnName">字段名</param> /// <param name="paramName">参数名</param> /// <param name="value">数据</param> /// <returns>Sql条件语句</returns> public static SqlBasicParameterCondition GreaterThan(String columnName, String paramName, Object value) { return(SqlCondition.GreaterThan(SqlParameter.Create(columnName, paramName, value))); }