ILike Method
ILike(String, String)
Succeeds if the target value matches the specified case-insensitive pattern.
Declaration
public static IPredicate ILike(string name, string pattern)
Parameters
String | name | The name of the target. |
String | pattern | The pattern. |
Returns
IPredicate | A new predicate. |
Remarks
The pattern is case-insensitive.
In the pattern, the % character (percentage sign) is a placeholder for multiple characters, and the _ character (underscore) is a placeholder for a single character.
These two special characters can be escaped with a backslash.