Hi,
I can create a tenant without any error
BTW, you can try :
using (var uow = _unitOfWorkManager.Begin(requiresNew: false, isTransactional: false))
{
var tenantConfiguration = await _tenantStore.FindAsync(tenantId);
if (tenantConfiguration?.ConnectionStrings != null &&
!tenantConfiguration.ConnectionStrings.Default.IsNullOrWhiteSpace())
{
foreach (var migrator in _dbSchemaMigrators)
{
await migrator.MigrateAsync();
}
}
await uow.CompleteAsync();
}
Try:
dotnet nuget locals -c http-cache
dotnet nuget locals -c temp
Hi,
Sorry, could you explain in it detail? thanks.
Hi,
Ok, I will check it
Hi,
As I said, typically application services use repositories or domain services and they have the ability to access databases.
It is almost indistinguishable from non-tiered:
...HttpApiClientModule
from WebModule
AbpAspNetCoreMvcClientModule
from WebModule
AbpHttpClientWebModule
from WebModule
..Application
reference to the Web
project and add ..ApplicationModule
to the WebModule
..EntityFrameworkCoreModule
reference to the Web
project and add ..EntityFrameworkCoreModule
to the WebModule
Auto API controllers
:Configure<AbpAspNetCoreMvcOptions>(options =>
{
options.ConventionalControllers.Create(typeof(MyProjectNameApplicationModule).Assembly);
});
Duplicate of https://support.abp.io/QA/Questions/4547/Navigation-Property-for-IdentityUser-in-other-database-table#answer-3a098ea7-e930-14aa-4e43-430a3d73ad1d
ok, thanks.