0
I need to create a dynamic query, where the DayOfWeek.Monday
is dynamic, as I can define it?
DataClassesPDataContext pe = new DataClassesPDataContext();
var qry = from p in pe.R
join q in pe.V on p.V equals q.V_
where p.Data < data
where q.I == `v`
where p.Data.DayOfWeek == `DayOfWeek.Monday`
select(p.Q);
return qry.ToList().Average();