Entity Framework 7 - Inheritance

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

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

  • @CodingTutorialsAreGo
    @CodingTutorialsAreGo  Год назад +2

    Which features of Entity Framework 7 have you been looking forward to most? Let me know.
    Source code available at: github.com/JasperKent/String-Things
    Remember to subscribe at ruclips.net/channel/UCqWQzlUDdllnLmtgfSgYTCA
    And if you liked the video, click the 👍.

  • @niloomon
    @niloomon 8 месяцев назад +2

    I like how clearly you made everything, thanks a million

  • @PeacefulMindss
    @PeacefulMindss Год назад +1

    Thank you sir for going into EF new stuff and describing it, I liked the third option they gave us, and yes it contradicts the database normalization principles, but it's a case expected to happen, database normalization principles mentioned few cases when denormalization is a must.

  • @Brendan2Alexander
    @Brendan2Alexander Год назад +1

    God bless your soul! U have no idea how much spaghetti you have helped me clean up.

  • @davidwhite2011
    @davidwhite2011 Год назад +2

    Another great present for Christmas!

  • @matthewbaier766
    @matthewbaier766 Год назад +1

    This is exactly what I was looking for. Thank you

  • @goverdhanjayaram3683
    @goverdhanjayaram3683 8 месяцев назад +1

    Thank you very much ! Awesome explanation!!

  • @laptoprecaia.k.aagentsmith3328
    @laptoprecaia.k.aagentsmith3328 Год назад +1

    Great explanation. Thank you sir.

  • @wordlifejohn1122
    @wordlifejohn1122 2 месяца назад

    Excellent video sir. Thank you.

  • @iAndrewMontanai
    @iAndrewMontanai Год назад +1

    Here we implicitly make 1:N relationship between Owner and Pets right?

  • @SirBenJamin_
    @SirBenJamin_ 10 месяцев назад +1

    Would this work with a one to one (twoway) relationship? e.g an abstract pet base class, with two subclasses (Dog and Cat), and then having the Pet class reference its Owner, and the Owner class reference a single pet? ... specifically one to one, I appreciate that in the real world an owner would have one to many pets, but I would like it to work with just one to one.

    • @CodingTutorialsAreGo
      @CodingTutorialsAreGo  10 месяцев назад

      Not really anything to do with the inheritance. To have a one-to-one relationship between Pet and Owner, just put in a reference from Owner to Pet and a reference from Pet to owner. It will eb bi-directional and one-two-one. I think it's covered here: ruclips.net/video/eHT6G912po0/видео.html

  • @after2003
    @after2003 Год назад +1

    Great video as usual. How about observablecollections for future videos?

  • @hearyourmood9633
    @hearyourmood9633 Год назад +1

    thanks a lot sir, you made it very clear

  • @kwstaslalaounis3212
    @kwstaslalaounis3212 Год назад +1

    Perfect tutorial thank you.

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

    how i make tpt with collection? i have several pictures related to a user and contract table, how could i dp a polymorphic associations with a collection?

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

      How is that different from the Owner with a collection of Pets example?

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

      @@CodingTutorialsAreGo tpt makes de join upside down, pictures should have the foreingkey not user or contract table, you should see how ruby on rails does polymorphic association, that's the right way. you can't do a tpt with collection, you can access just a single element in the association, only a one picture in my case and not a colection a pictures