partial void LocaisFiltro_PreprocessQuery(int? IdServico, ref IQueryable<Local> query)
{
query = (from Local loc in Locals
join LocalService sel2 in LocalServices
on loc equals sel2.Local
where sel2.Service.Id == IdServico
select loc).AsQueryable();
}
Hi all,
I'm trying to use the PreprocessQuery process
without success.
with a breakpoint I can check that the query has the
correct records, but the
screen does not.
In the screen I add one Add data item... with the Query LocaisFiltro.
Any idea?
Thanks