I have two tables.
Orders
OrderID | UserID | OrderTotal
1 | 1 | 100
2 | 2 | 110
3 | 1 | 120
Users
UserId | ProprtyType | PropertyValue
1 | 1 | Kevin
1 | 2 | Nolan
1 | 1 | FirstName
1 | 2 | Surname
Using the following Query
var query = from orders in context.Orders
join users in context.Users on orders.UserID equals user.UserID
where userData.Type == 211 || userData.Type == 212
1 | 1 | 100 | Kevin
1 | 1 | 100 | Nolan
2 | 2 | 110 | FirstName
2 | 2 | 110 | Surname
3 | 1 | 120 | Kevin
3 | 1 | 120 | Nolan
Is it possible in Entity frame work to combine the results so it returns the following
1 | 1 | 100 | Kevin | Nolan
2 | 2 | 110 | FirstName | Surname
3 | 1 | 120 | Kevin | Nolan
Or
1 | 1 | 100 | Kevin Nolan
2 | 2 | 110 | FirstName Surname
3 | 1 | 120 | Kevin Nolan
Thanks
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)