c# - entity framework query -


i' ve got tables: customer, order, product

customer has gor lot of orders, each order has got lot wof products.

how can write query products customer ? need use datasource, bye

var products = customer in customers                order in customer.orders                product in order.products                select product; 

just use linq selectmany.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -