First of all I'm very noob in asp.net and I'm trying to find how can I perform a triple join. If I did this right than how can I pass this to product service?
public IList<Product> joinx()
{
var sonuc = Context.Photos.Join(Context.ProductProperties,
ulist => ulist.PhotoID,
ozlist => ozlist.ProductID,
(ulist, ozlist) => new {ulist, ozlist })
.Join(Context.PropertyTypes,
ilkjoin =>ilkjoin.ozlist.PropertyTypeID,
ikinci => ikinci.PropertyTypeID,
(ilkjoin,ikinci) => new {ilkjoin,ikinci })
.ToList();
return sonuc;
}
coding 10 hours straight so my head is messed up please help