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

css - Text drops down with smaller window -

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

ruby on rails - Authlogic - how to make a registration and don't log in the new account? -