This project is read-only.

Selecting via LIKE

Nov 6, 2009 at 12:46 PM

Really nice little generator - I am liking it a lot - I have listing and paging and single selects all sorted - but how do you select by LIKE - something like InternalClientSearch.InternalClientName = "Miles%"

Nov 6, 2009 at 12:55 PM

You can use the LINQ overloads to pull data based on arbitrarily complex where clauses. You can use the LIKE syntax as follows.

InternalClientCollection.RunSelect(x=>x.InternalClientName.Contains("sometext"));

<input id="gwProxy" type="hidden" /><input id="jsProxy" onclick="jsCall();" type="hidden" />

Nov 6, 2009 at 3:05 PM

Super - thanks for that - works great