Skip to content

BaseCriteria.StartsWith method

Creates a new binary Starts With (LIKE '...%') criteria containing this criteria as the left operand.

public BaseCriteria StartsWith(string mask, bool upper = false)
parameter description
mask The starts with mask.
upper true to use the UPPER function on both sides.

Return Value

A new binary Starts With criteria.

Exceptions

exception condition
ArgumentNullException mask is null

See Also