c# - RIA Services Via Silverlight Where & Orderby -


when query database via ria services, example...

orderworkflowslwcfria.web.orderworkflowdomaincontext db    = new orderworkflowslwcfria.web.orderworkflowdomaincontext();  db.load(db.getworkflowbynamequery(strcurrentlinetext, intcustomerid)      .where(workflow => workflow.userselectable == true), load => { }, null); 

... there difference between passing parameters underlying domain service , doing , orderby subqueries on domain service side vs specifying them on client side. i've thought should perform on domain service side under assumption doing subquery @ client load of data on client side before doing subquery, have read things lead me believe subquery passed through domain service. true or not?

i suppose term "subquery" intend , orderby clause. well, yes, right, filtering client side generally force server returns things filtered/ordered client side, 1 of main goal of wcf ria services indeed make possible define filtering,ordering , grouping, on client side, execute them on server side.

basically there's code between client , server "serialize" linq expressions on wire, "deserialize" on server side.

please note terms "serialize" , "deserialize" not correct in context, think make point. also, keep in mind there things not implemented on process, can't instance query domainservice using nested condition, like, any()


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -