Equals() public static method

Encodes the value for a SqlComparisonType.Equals expression.
public static Equals ( String value ) : String
value String The value.
return String
Beispiel #1
0
 /// <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));
 }
Beispiel #2
0
 /// <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));
 }