Activities of "maliming"

hi Mohammad

Can you try this:

using (var uow = _unitOfWorkManager.Begin()
{
    var client = await clientCredentialRepository.SingleOrDefaultAsync(x => x.ClientId == client_id);
    await uow.CompleteAsync();
}

hi Mohammad

Please create a new question, Thanks

hi

There are self-referencing properties in the JToken class, which can cause infinite recursion in some cases.

I suggest you create a new class instead of using it in input and output DTO.

hi

I guess the JToken cause the problem.

You can create another class and convert the Item to yours.

https://github.com/chargebee/chargebee-dotnet/blob/master/ChargeBee/Models/Item.cs#L156

hi

Can you share the code of Item?

https://github.com/abpframework/abp/pull/9750

  1. Use virtual in SeedAsync method.
[UnitOfWork]
public virtual async Task SeedAsync(DataSeedContext context)
  1. Pass the eventData.Entity.TenantId to create new role
var newRole = new IdentityRole(guidGenerator.Create(), RolesDemoConstants.SelfServiceTenantClientRole, eventData.Entity.TenantId) { IsPublic = true, IsStatic = true };

You should also change all DbProperties

See https://github.com/abpframework/abp/issues/1387#issuecomment-506645119

Yes, The issue is fixed.

Showing 7311 to 7320 of 8475 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11