Open Closed

Extend existing entities (IdentityUser, OrganizationUnit, IdentityRole) with an interface #5143


User avatar
0
moinahmed created

Is there a way to extend existing system entities (IdentityUser, OrganizationUnit, IdentityRole) with an interface? I'm trying to add customer data filters through ABP EF Core's Global Query Filters system. I can easily extend my custom entities but how to do existing system entities. I read about ObjectExtensionManager to add new properties but don't know how to use (if there's a possibility) to extend with an interface?


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

    hi

    I think you can use class instead of interface to filter the entities.

    Please share some code if you can't do this.

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 20, 2025, 18:00