In T-SQL you could have a query like:
SELECT * FROM Users WHERE User_Rights IN (\"Admin\", \"User\", \"Limited\")
How would you replicate t
This could be the possible way in which you can directly use LINQ extension methods to check the in clause
var result = _db.Companies.Where(c => _db.CurrentSessionVariableDetails.Select(s => s.CompanyId).Contains(c.Id)).ToList();
Seriously? You folks have never used
where (t.MyTableId == 1 || t.MyTableId == 2 || t.MyTableId == 3)