Hi,
Sorry, I can't reproduce your problem. Can you provide steps to reproduce? Thanks.
Hi,
Please refer the document :https://docs.abp.io/en/abp/latest/Entity-Framework-Core-Migrations#using-multiple-databases. It can help you
For example:
Your application ur is http://localhost:4200
, you want http://tenant1.localhost:4200
to be tenant1
.
Config should be :
Configure<AbpTenantResolveOptions>(options =>
{
options.TenantResolvers.Insert(1, new DomainTenantResolveContributor("{0}.localhost"));
});
About multi-tenancy for Angular UI, you can refer https://github.com/abpframework/abp/blob/dev/docs/en/UI/Angular/Multi-Tenancy.md
Hi:
Try:
[Dependency(ReplaceServices = true)]
[RemoteService(isEnabled:false)]
public class QaTenantAppService : TenantAppService
{
private readonly IRepository<QaTenant, Guid> _qaTenantRepository;
public QaTenantAppService(ITenantRepository tenantRepository, ITenantManager tenantManager,
IDataSeeder dataSeeder, IRepository<QaTenant, Guid> qaTenantRepository) : base(tenantRepository, tenantManager, dataSeeder)
{
_qaTenantRepository = qaTenantRepository;
}
public override async Task<TenantDto> CreateAsync(TenantCreateDto input)
{
var tenant = await base.CreateAsync(input);
await _qaTenantRepository.InsertAsync(new QaTenant(GuidGenerator.Create(), input.Name, tenant.Id));
return tenant;
}
}
Hi,
Sorry,I did not understand your question, Can you explain in detail? Thanks.
Hi,
It has nothing to do with Automapper, It related to ef core.
I see you are trying to add AppUser
navigation property for Employee
entity, Currently cannot complete this work using suite.
You can refer the example. In this example, I added AppUser
navigation property for Test
entity.
Hi
Please see https://docs.abp.io/en/abp/latest/Multi-Tenancy#domain-tenant-resolver.
Hi,
No such command is currently provided, you need to uninstall manually.
Hi,
It looks like you installed the module repeatedly:
You should uninstall the Volo.Identity module.
Hi,
See the timing doc