Hi,
We have developed a multi-tenant application using EF 4.3 Code First Model, where each tenant will have their on separate database. Since, we are expecting bit high number of tenants, we want to maintain the connection pool across tenants.
In order to achieve this in EF 4.3 Code First model, we have created 'AppMaster' database and developed own provider using EFProviderWrapperToolkit which internally uses the SQL provider only. Our customized provider will always first connects to 'AppMaster' database and then change the database to respective tenant specific database. Everything was working fine as expected.
But the same provider is not working with EF6 since they have moved the provider specific code to EntityFramework DLL under 'System.Data.Entity.Core.Common' namespace.
Any solution to maintain the connection pool across all tenants pointing to the respective database into the same database server?
Regards,
Hitesh
We have developed a multi-tenant application using EF 4.3 Code First Model, where each tenant will have their on separate database. Since, we are expecting bit high number of tenants, we want to maintain the connection pool across tenants.
In order to achieve this in EF 4.3 Code First model, we have created 'AppMaster' database and developed own provider using EFProviderWrapperToolkit which internally uses the SQL provider only. Our customized provider will always first connects to 'AppMaster' database and then change the database to respective tenant specific database. Everything was working fine as expected.
But the same provider is not working with EF6 since they have moved the provider specific code to EntityFramework DLL under 'System.Data.Entity.Core.Common' namespace.
Any solution to maintain the connection pool across all tenants pointing to the respective database into the same database server?
Regards,
Hitesh