c# - Linq To Entities Join Issues -
how make join linq entities?
var resulta = client.getfirstlist().tolist(); var resultb = client.getsecondlist().tolist(); var d = (from b in resultb join in resulta on b.anicollection.select(x => x.typeid) equals a.typeid select b)
you should able query following:
from in context.customers join b in context.orders on a.customerid equals b.customerid join c in context.anicollection on b.typeid equals c.typeid select b
Comments
Post a Comment