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.

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