Ouvert Fermé

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


User avatar
0
moinahmed créé

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 Réponse (s)
  • User Avatar
    0
    maliming créé
    Équipe d'assistance 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 v8.2.0-preview Updated on mars 25, 2024, 15:11