/// <summary> /// Creates a <see cref="SqlComparisonType.Equals"/> expression. /// </summary> /// <param name="column"></param> /// <param name="value"></param> /// <param name="ignoreCase"></param> /// <returns></returns> protected override string Equals(string column, string value, bool ignoreCase) { value = SqlUtil.Equals(value); return(SqlUtil.Equals(column, Parameters.GetParameter(value), ignoreCase, false)); }
/// <summary> /// Creates a <see cref="SqlComparisonType.StartsWith"/> expression. /// </summary> /// <param name="column"></param> /// <param name="value"></param> /// <param name="ignoreCase"></param> /// <returns></returns> protected override string StartsWith(string column, string value, bool ignoreCase) { value = SqlUtil.StartsWith(value); return(SqlUtil.Like(column, Parameters.GetParameter(value), ignoreCase, false)); }
/// <summary> /// Creates a <see cref="SqlComparisonType.Like"/> expression. /// </summary> /// <param name="column"></param> /// <param name="value"></param> /// <param name="ignoreCase"></param> /// <returns></returns> protected virtual String Like(String column, String value, bool ignoreCase) { return(SqlUtil.Like(column, value, ignoreCase)); }
/// <summary> /// Creates a <see cref="SqlComparisonType.Equals"/> expression. /// </summary> /// <param name="column"></param> /// <param name="value"></param> /// <param name="ignoreCase"></param> /// <returns></returns> protected virtual String Equals(String column, String value, bool ignoreCase) { return(SqlUtil.Equals(column, value, ignoreCase)); }
/// <summary> /// Creates a <see cref="SqlComparisonType.StartsWith"/> expression. /// </summary> /// <param name="column"></param> /// <param name="value"></param> /// <param name="ignoreCase"></param> /// <returns></returns> protected virtual String StartsWith(String column, String value, bool ignoreCase) { return(SqlUtil.StartsWith(column, value, ignoreCase)); }