Activities of "liangshiwei"

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:

  1. The 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.
  2. Transaction guarantees the atomicity of operations. You can see the document
  3. EF Core has entity object tracking,If the entity has not changed, it will not be updated.

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.

Showing 5701 to 5710 of 5968 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11