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

Поделиться
HTML-код
  • Опубликовано: 3 янв 2025

Комментарии • 10

  • @doointhedoo
    @doointhedoo Год назад

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

    • @DanCanning
      @DanCanning 3 месяца назад

      Search for "How to Return Non Entities in Entity Framework Core with LINQ and Use Anonymous Types Instead"

  • @GinoToch
    @GinoToch 2 года назад

    Good tutorial, helped a lot, thanks!

  • @pathumkumara4696
    @pathumkumara4696 Год назад

    can you put link of last video here

  • @BrunoBalboa
    @BrunoBalboa 3 года назад +1

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

    • @teykk4
      @teykk4 2 года назад +4

      ToList()

  • @mocococo2877
    @mocococo2877 5 месяцев назад

    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.

  • @pablo-vk8yt
    @pablo-vk8yt Год назад +1

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

    • @user-sx5ib8vd6l
      @user-sx5ib8vd6l 3 месяца назад

      i didnt understand both of them😥😥

  • @kasammomin9379
    @kasammomin9379 Год назад

    thanks