Entity Framework Core Part 12 - Inheritance
Vložit
- čas přidán 27. 07. 2024
- Coding Tutorial: Inheritance is commonplace in O-O programs, but isn't a feature of an RDBMS. There are some tried and tested techniques for mapping the two together, and EF implements them seamlessly.
Source code available at: github.com/JasperKent/Entity-... - Věda a technologie
This is the last video on EF from me for a while, but if you want to know about other aspects, let me know.
You can find the source code at github.com/JasperKent/Entity-Framework-Inheritance
For more on EF, subscribe at czcams.com/channels/qWQzlUDdllnLmtgfSgYTCA.html
And give it a 👍 to show you liked it.
Your way of teaching is very Good
Why is it so hard to find videos like these on CZcams. Thank you so much
Thanks! Very clear with a good example.
Brilliant series of videos, easily one of my 2 recommendations for people who have the ability to explain concepts in great detail whilst getting straight to the point.
Hands down the best series of tutorials I've encountered for entity framework. You sir have an amazing way of presenting and clarifying these concepts, to the point where questions forming in my head were the very next thing that was being explained
Many thanks.
Thank you for this splendid tutorial!
thank you, now i know basics about inheritance support in EF
Great video, many thanks for sharing your knowledge
Thank you very much for all great video lessons you make for people like me! They are all very useful! Very appreciated!!!
Thank-you for the excellent tutorial. I've learnt much!
Just what I needed. Thanks mate!
Sir, thank you so much. Its hard to find recent and good quality videos about EF, not only in the visual sight, but also with a good presenter like you. Your channel deserves way more viewers.
I might ask, do you have any intention to continue this playlist? I would like to see the development of a Restful API, with EF Core. Greetings from Brazil.
Yeah, Restful API is on my to-do list
Great series, thank you so much :)
greate series thank you for this tutorial
Hi Jasper, thank you. Could you make a video about DbContext inheritence?
I'll put it on the list.
I get error that entity type cannot be mapped to a table because it is derived from 'BaseClass'. Only base entities can be mapped to a table.
How do i fix this?
Hi Burek, I'm afraid I'd need a bit more detail to understand what the problem is.
@@CodingTutorialsAreGo Basically i have a base class Person and two classes derived from it(Admin and User). I overrided the onModelCreating method with all 3 classes using like u did modelbuilder.entity.totable and added DbSet also, but i get that error as i mentioned.
For TPT you should only need to map the two derived classes, not the base class.
I say a 15$ levolor microphone would make this 10 times better.
I know. I have a very good mic, but something went wrong. I think somehow the built-in one got selected by mistake.
Jasper, do you have any connection with the Author named Jasper Kent, who is also from the UK? You also look exactly the same... It's eerie...
OK, you are him... I'm speechless! You are a genius! Thanks for existing on this planet! :D I'm totally such a fanboy now, and sorry about that.
Yep, that's me. You can catch my other video channel relating to my fiction here: czcams.com/users/TheLastOprichnik
@@CodingTutorialsAreGo Do you have a channel related to music as well?
@@ohaRega No - haven't really been doing music seriously for years.
I think that you should change titles for yours clips to Entity Framework(without abbreviation). Right now it is hard to find your clips. I think this is why you have so small number of views,
Good idea
Hi
I learned through 12 tutorials video Entity Framework core and that's great , it helps me a lot at work
I want to ask : When do we use to Inheritance and why use Inheritance in EntityFramwWork Core ?
thanks so much .
That's a big question. I'll try to do a video on inheritance in general.
please include RawSql, store procedure and Function in next video.
I'll put it on the list.
Fix your microphone! It's imposible to hear you! Very bad sound!
Fixed many years ago.
tph is a bad copycat of polymorphic association in ruby on rails, awful copy
I think it's been around longer than Ruby.