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 &&
try this,
var query = (from c in db.Emp from d in db.EmpDetails where c.ID == d.ID && c.FirstName == "A" && c.LastName == "D" select c ).Any(); this.result = query; //no need to convert to boolean its already bool value