Is:
var records = context.Records
.Where(r => r.EmployeeId == id)
.Where(r => r.Date >= startDate)
.Where(r => r.Date <= enddate)
.ToList();
Better, worse or different in anyway than:
var records = context.Records
.Where(r => r.EmployeeId == id
&& r.Date >= startDate
&& r.Date <= enddate)
.ToList();
The first seems easier to read, so if no difference then I would be using that to avoid using a lot of &&
.