Lets say I have some code like:
ExampleDomainContext ctx = new ExampleDomainContext();
var query = from p in ctx.GetPeopleQuery()
where p.Id > 2
select p;
ctx.Load<Person>(query).Completed += (s, e) =>
{
// do some stuff
};
This is being done on the client, and the GetPeopleQuery() call from the RIA service returns all people from the people table.
My question is whether the query (people whose Id > 2) is getting translated to the server and run or does the server return all people to the client and then do the filtering?