dotnet / dotnet/EntityFramework.Docs
but my connection string comes from api in multi tenant app and multiple database
- Dominant language
- Mermaid
- Stars
- 1.7k
- Forks
- 2k
- Avg merge
- 7d 23h
- Merged PRs (30d)
- 16
Description
### Type of issue
Typo
### Description
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
var tenant = _tenantService.Tenant;
var connectionStr = _configuration.GetConnectionString(tenant);
optionsBuilder.UseSqlite(connectionStr);
}
this is microsoft documentation
but my connection string comes from api
### Page URL
https://learn.microsoft.com/en-us/ef/core/miscellaneous/multitenancy
### Content source URL
https://github.com/dotnet/EntityFramework.Docs/blob/main/entity-framework/core/miscellaneous/multitenancy.md
### Document Version Independent Id
bb29a2b6-c401-287f-2da9-1aeb3c633b41
### Article author
@JeremyLikness
Contributor guide
Assessment
This issue has not been assessed yet.