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
-~----------~----~----~----~------~----~------~--~---

Reply via email to