I have a query where it should return TRUE or FALSE.
var query = from c in db.Emp from d in db.EmpDetails where c.ID == d.ID &&
var query = from c in db.Emp from d in db.EmpDetails select new { c.ID == y.ID && c.FirstName == "A" && c.LastName == "D" };