Good tutorial. Thank you for you efforts. But I think are far too many ways to do one and same thing in C# / LINQ, so one more here is really unnecessary.
thats not the official way to join tables. The official way would be like this: var TestObject = from cols in db.Colors join c in db.Cars on cols.id equals c.colorId select new { model = c.model ... etc. }
where is your previous video that you recommend us watching at the beginning of the video?
Search for "How to Return Non Entities in Entity Framework Core with LINQ and Use Anonymous Types Instead"
Good tutorial, helped a lot, thanks!
can you put link of last video here
Hi, how can I add this result to a List ?
ToList()
Good tutorial. Thank you for you efforts. But I think are far too many ways to do one and same thing in C# / LINQ, so one more here is really unnecessary.
thats not the official way to join tables. The official way would be like this:
var TestObject = from cols in db.Colors
join c in db.Cars on cols.id equals c.colorId
select new
{
model = c.model ... etc.
}
i didnt understand both of them😥😥
thanks