Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var productList = db.ProductOrders
- .Where(po => po.OrderId == orderId)
- .Select(po => new
- {
- po.ProductId,
- po.Product.Name,
- po.Product.Price,
- po.ProductQty
- })
- .ToList()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement