One Way to Join Related Tables with LINQ and Entity Framework Core

preview_player
Показать описание


Рекомендации по теме
Комментарии
Автор

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.

mocococo
Автор

Good tutorial, helped a lot, thanks!

TheBlackWarriorLP
Автор

where is your previous video that you recommend us watching at the beginning of the video?

doointhedoo
Автор

Hi, how can I add this result to a List<> ?

BrunoBalboa
Автор

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.
}

pablo-vkyt