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)

Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09