Base solution for your next web application
Open Closed

Creating separate database per tenant in Azure Elastic Pool #9796


User avatar
0
omkarchoudhari created

product version .NET Core and Angular 9.2.1

  • Angular
  • .net core)

I have a Query regarding tenant database creation on Azure elastic pools :

In current template 8.9 , When we create a new tenant with separate database option, its DB get created using following method

_abpZeroDbMigrator.CreateOrMigrateForTenant(tenant);

As this method is present in library , I am unable to modify this method. I want to change the DB creation logic so that DB gets created on Azure elastic pool

Can you please guide me how to extend existing template method to achieve this functionality ?

Thanks you


2 Answer(s)