Base solution for your next web application
Open Closed

How to do TPH table-per-Hierarchy inheritance? #1212


User avatar
0
alex created

Hi,

I have a Table-per-Hierarchy inheritance structure in my database. How can I implement that in ABP ? I use Entity framework and that works simple and great. But as far as I can see, the only way in ABP to deal with this is building a custom repository for each drived entity. Am I right? Is there any other and better way to make this work?

Thanks


1 Answer(s)
  • User Avatar
    0
    hikalkan created
    Support Team

    Hi,

    You can do it same as you do with EntityFramework (because we also use EntityFramework). You don't need to have separated custom repositories. Why is that needed?