I have a LINQ to SQL query that goes like this:
String NameCondition = "Test";
String EmailCondition = "test@test.com";
IQueryable<User> Users = Repository.Where(x => x.Name.Equals(NameCondition) && x.Email.Equals(EmailCondition));
But now I have a list of conditions where I would like to pull Users from if they match any of them (like an OR statement in SQL). So I have a list of dictionaries, and each dictionary is a condition with a name and email:
List<Dictionary<String, String>> Conditions;
How can I perform a LINQ to SQL query using those conditions?