BaseCriteria.Contains method
Creates a new binary Contains criteria (LIKE '%...%') containing this criteria as the left operand.
public BaseCriteria Contains(string mask, bool upper = false)
| parameter | description |
|---|---|
| mask | The contains mask. |
| upper | true to use the UPPER function on both sides. |
Return Value
A new binary Contains criteria.
Exceptions
| exception | condition |
|---|---|
| ArgumentNullException | mask is null |
See Also
- class BaseCriteria