the question seems clear enough, but I\'ll add a case
using (var context = new MyEntities()) { if(context.mytable.Any(row => row.myfield == 2)) { // d
If you are connecting to SQL Server, you can use the SQL Profiler in order to obtain the SQL that is generated.