Hello!
For example have this table:
Name | BodyType
----------------
John | 1
Ted | 2
Daniel| 3
George| 4
I my app i check "1" "2" and "3" checkbox. And i should find 3 rows (John, Ted, Daniel) and NOT George. How can i get this query in LINQ? (not use where p.BodyType!=4
)
Use logic OR
var all = dataContext.Users;
foreach (searchParameter in search)
...?