I am making use of System.Linq.Dynamic and for most of the time it works out great. However I'm trying to get a StartsWith
which would generate something like Description LIKE 'test%'
in T-SQL.
What I don't seem to find, and documentation is scarce as I noticed, is which statement to write in my code to pass to the Where method of the Dynamic library to generate that LIKE
statement.
Things I already tried but didn't work out for me:
.Where("Description LIKE \"test%\"");
.Where("Description < \"test%\"");
But nothing generates the LIKE statement I'm after.