Open Closed

Power tool can't edit Host Tenat option for entities loaded from database #10852


0
neosadmin created

Prerequisites

  • What is your product version?
  • 11.0
  • What is your product type (Angular or MVC)?
  • angular
  • What is product framework type (.net framework or .net core)?
  • .net core 6
  • Power tools
  • 3.0.3

The power tools UI checkbox for Multy Tenancy Host and Tenant option are disabled when I load entities from database. My project is set in single tenant mode, but whene I generate the entity power tools add the interface IMayHaveTenant.

I want manage Host and Tenant options also for entities loaded from database, is there a config value to manage the Host and Tenant options?

Thanks


1 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi @neosadmin

    This is not supported at the moment. You can modify the generated entity and add IMayHaveTenant or IMustHaveTenant interfaces. Then, you can add a migration and it should work as expected.