Closed bvgnet closed 5 months ago
Да.
- Это не происходит даже в ветке v2, поскольку FinBuckle удалил метод получения свойств MultiTenantContext.
- Удаление ConnectionStrings в FinBuckle Finbuckle/Finbuckle.MultiTenant@ f4e20db
var setter = scope.ServiceProvider.GetRequiredService<IMultiTenantContextSetter>();
setter.MultiTenantContext = new MultiTenantContext<FSHTenantInfo>
{
TenantInfo = tenant
};
Yes, I am currently migrating it to 7.0
.
I could see that using the below solves it.
scope.ServiceProvider.GetRequiredService<IMultiTenantContextSetter>()
.MultiTenantContext = new MultiTenantContext<FshTenantInfo>()
{
TenantInfo = tenant
};
Yes.
https://github.com/fullstackhero/dotnet-webapi-starter-kit/blob/2af2c4f6d8947aa63153d992fba48740ffda1d30/api/framework/Infrastructure/Tenant/Services/TenantService.cs#L64C1-L68C15