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
Post a Comment