How to transform LINQ filter expression to SQL Query? -


i'm wondering how can transform filterexpression in linq sql clause.

{it => (iif((it.datasettitle == null), null, convert("ref".contains(it.datasettitle))) == convert(true))} 

are there convenient ways of changing above expression sql clause?

generally speaking, wouldn't directly. underlying object implements iqueryable you're performing linq operation on handle work. since tagged odata, presume you're using wcf data services. in context object, can declare dbset typed properties. dbset implements iqueryable, , you.


Comments

Popular posts from this blog

php - cannot display multiple markers in google maps v3 from traceroute result -

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -