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 -

php - Boolean search on database with 5 million rows, very slow -

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