You can’t change the behavior of Typed SqlExpressions, the only configuration that affects behavior is:
OrmLiteConfig.StripUpperInLike = true;
Which will not include the UPPER()
in its LIKE expressions.
You’d need to use custom SQL for any custom SQL, e.g:
q.Where("ShortName LIKE {0}", filter.ShortName);
The Table and Column APIs can also be used to provide a Typed API to generate Table/Column names if needed.