EndsWith() public static method

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