Hi:
I make an example project: https://github.com/realLiangshiwei/AbpQa332/tree/master. I did not get the problem you described. You can see it,
Hi:
CompleteAsync
method calls SaveChangesAsync
internally. When you call the InsertAsync
,the data will not be stored in the database immediately. It will be saved to the database when the method is executed or you manually call SaveChangesAsync
,In fact, this is the feaures of EF Core.I will try to reproduce the lock problem
Hi,
Please see https://support.abp.io/QA/Questions/199/Exporting-Entities-Created-in-ABP-Suite
Hi,
Make sure your package.json
file contains "@volo/file-management": "^3.0.5"
. Then try use the cmd run yarn
and gulp
command in .web
project folder
Hi
About Identity Server is NOT working on Chome ONLY, I tried but can not reproduce your problem. Did you make any changes to the template? About template file bugs, you can reply in this post.
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.