Finbuckle / Finbuckle.MultiTenant

Finbuckle.MultiTenant is an open-source multitenancy middleware library for .NET. It enables tenant resolution, per-tenant app behavior, and per-tenant data isolation.
https://www.finbuckle.com/multitenant
Apache License 2.0
1.26k stars 256 forks source link

Separate Databases ConnectionString with v7.0 #820

Open dmostert opened 2 months ago

dmostert commented 2 months ago

The documentation for Separate Databases still refer to TenantInfo ConnectionString:

optionsBuilder.UseSqlServer(TenantInfo.ConnectionString);

Now that ConnectionString is removed, how should this work?

AndrewTriesToCode commented 2 months ago

Hi, you just define your own ITenantInfo that has a connection string property and use that. Nothing else really needed.