I need to filter some Entities by various fields using \"normal\" WHERE and IN clauses in a query over my database, but I do not know how to do that with EF.
int[] ids = new int[]{1,2,3,45,99};
using (DatabaseEntities db = new DatabaseEntities ())
{
return db.Licenses.Where(
i => i.license == mylicense
&& ids.Contains(i.number)
).ToList();
}