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