Open Closed

Support for hierarchy and inheritance of Entity classes. #5403


User avatar
0
engineering@climatecamp.io created

Hello,

Is inheritance of Entities (Table Per Hierarchy or Table per Concrete Type) supported in abp suite? Can a new entity be derived from a non ABP base class ? What would be the recommended alternative ?

Previously could only found a post saying No: https://support.abp.io/QA/Questions/1913/Support-Table-Per-Hierarchy-abpio-framework

  • ABP Framework version: v7.3.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

1 Answer(s)
  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Hi

    This is still not supported. You can manually change the base class after code generation. (then you may need to create new migrations)

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 25, 2025, 11:10