I need to create a dynamic query, in which the% L DayOfWeek.Monday
variable is dynamic, how can I 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();