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 👍.
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.
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.
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
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 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
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 👍.
I like how clearly you made everything, thanks a million
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.
God bless your soul! U have no idea how much spaghetti you have helped me clean up.
Another great present for Christmas!
This is exactly what I was looking for. Thank you
Thank you very much ! Awesome explanation!!
Great explanation. Thank you sir.
Excellent video sir. Thank you.
Here we implicitly make 1:N relationship between Owner and Pets right?
Yes, but I'd argue it's explicit rather than implicit.
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.
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
Great video as usual. How about observablecollections for future videos?
I'll put it on the list.
thanks a lot sir, you made it very clear
Perfect tutorial thank you.
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?
How is that different from the Owner with a collection of Pets example?
@@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