I am reading data using LINQ query which has millions of data and ends up in timeout . And how we can optimize the query to increase its performance.
var details = await (from m in context.student
.Include(m => m.studentdetails)
where m.studentnumber == studentnumber
&& m.location == location
&& m.class == class
select m).ToListAsync();
1