AFAIK, "Unhandled expression type: 1010" identify errors in the expression tree evaluation.
I think the problem might occur while interpreting the CustList int the select new statement. If you want, I could go deeper in the DbLinq code to fix the problem. Alternatively you could try to write the query in a different way (using the fluent syntax for example), sometime it work. Have you tried it on linq to sql? Please try download SqlServer Express and try this query against it... Giacomo On Wed, Apr 15, 2009 at 12:10 PM, Pascal Craponne <[email protected]> wrote: > Have you checked if there is some statement like this one in the unit > tests? You could check if the test succeeds or fails from there. > > > On Wed, Apr 15, 2009 at 10:40, <[email protected]> wrote: > >> >> Hello Newsgroup, >> >> can someone help me with a group join stmt? My tries will not work in >> VB, so tried it in C#. (But I have only little documentation in C#) >> var q10 = from o in db.Orders >> join c in db.Customers on o.CustomerID equals c.CustomerID >> into CustList >> select new >> { >> o, >> CustList >> }; >> I think the above code should be correct stmt for the nortwind >> database in the dblinq.mysql.example project. But it wont work. The >> result is "Unhandled expression type: 1010". >> In VB I get the error: "Argument type 'northwind.Customers' does not >> match the corresponding member type >> 'System.Collections.Generic.IEnumerable`1[northwind.Customers]'" >> >> Can someone give me a hint? >> >> >> Regards >> >> Mike >> >> > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
