Hi,
https://docs.abp.io/en/abp/latest/Data-Filtering, just work for a single database.
If a tenant has own database, you need to query all tenants, and then switch each tenant.
example:
var tenants = await _tenantRepository.GetListAsync();
foreach(var tenant in tenants)
{
using(CurrentTenant.Change(tenant.Id))
{
var books = await _bookRepository.GetListAsync();
}
}
Hi,
You can refer the tenant module: https://github.com/abpframework/abp/blob/dev/modules/tenant-management/src/Volo.Abp.TenantManagement.Application/Volo/Abp/TenantManagement/TenantAppService.cs#L59
Hi,
What version and distributed event bus provider are you using?
Hi,
Sorry, there is no good way to do this, you must wait for the blazor app loading. this is a limitation of blazor.
Maybe you can try put the static resources(dll, js etc..) to CDN: https://docs.microsoft.com/en-us/aspnet/core/blazor/fundamentals/startup?view=aspnetcore-5.0#load-boot-resources.
@Leonardo.Willrich
See https://support.abp.io/QA/Questions/1152/How-to-to-Login-page-when-accessing-the-app-and-after-logout#answer-d2e834e0-4600-d3d0-eb47-39fbdb7edfc7
Hi,
ASP.NET Core use current culture to handle datetime format. abp also.
For front-end, we integrated luxon to convert datetime to current culture format. see :https://github.com/abpframework/abp/pull/5147
For back-end: you can try to use ITimezoneProvider to handle the time zone base on time zone settings. https://docs.abp.io/en/abp/latest/Timing#itimezoneprovider
I think you can create a middleware to change the current culture .
Hi,
Please open a new question to discussion, thanks.
Hi,
I used the entity.json your provided, but can't reproduce the problem, seems the problem more related to your project structure, can you use the suite to create a new project to reproduce and sen to email shiwei.liang@volosoft.com? thanks.
Hi,
Why you close the question, Has the problem been solved?