Also, when I splitted this into two simpler but more tedious queries, it compiled perfectly. But there are tons of more complex queries in my code...so replacing them is too tedious.
On Sep 1, 2:56 pm, Pankaj Gupta <[email protected]> wrote: > Hi Community, > Here is piffle problem with the queries using DbLinq. > > I issued a query like: > > var listOfItem = from item1 in datacontext.ITEM1 > where ( from item2 in datacontext.ITEM2 > where item2.SomeProperty == > item1.SomeProperty > select > Item2.SomeOtherProperty).contains(SomeDefinedValue) > select item1; > > The Compiler error description is: > An object reference is required to access non-static member > `<FunctionName>c__AnonStorey2C.MD'(CS0120)] > > Is there any other way of achieving this....or this functionality is > not available till? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "DbLinq" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/dblinq?hl=en -~----------~----~----~----~------~----~------~--~---
