Activities of "maliming"

hi

I'm not sure. You can check the https://learn.microsoft.com/en-us/dotnet/api/system.data.isolationlevel?view=net-8.0

hi

Please share the full code of your blazor component and _identityUserService

liming.ma@volosoft.com

Thanks.

hi

You can use _unitOfWorkManager to begin a new uow in the HandleEventAsync method, and set the isolationLevel if necessary.

hi

Please share some code of your background job

hi

You can try to set the AddDataMigrationEnvironment option in DbMigratorHostedService

hi

If you just read and return to the frontend, I think there is generally no need to set this option. The default is enough.

hi

You can set the IsolationLevel for a new UnitOfWork.

https://learn.microsoft.com/en-us/sql/t-sql/statements/set-transaction-isolation-level-transact-sql?view=sql-server-ver16

public static IUnitOfWork Begin(
    [NotNull] this IUnitOfWorkManager unitOfWorkManager,
    bool requiresNew = false,
    bool isTransactional = false,
    IsolationLevel? isolationLevel = null,
    int? timeout = null)
{
    Check.NotNull(unitOfWorkManager, nameof(unitOfWorkManager));

    return unitOfWorkManager.Begin(new AbpUnitOfWorkOptions
    {
        IsTransactional = isTransactional,
        IsolationLevel = isolationLevel,
        Timeout = timeout
    }, requiresNew);
}

hi

You can use the TenantManager/ITenantAppService to create a new tenant and then use IFeatureManager to set some features/editions for it.

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

hi

2.

You can use RolePermissionValueProvider.ProviderName as the Provider of a permission definition. You can't use Roles.Admin and Roles.Workshop.Owner.

group.AddPermission("MyPermission6").WithProviders(RolePermissionValueProvider.ProviderName);

If you want to grant permissions to a role, you don't need to do this.

You can use:

await permissionManager.SetForRoleAsync("your_role_name", TestPermissionNames.MyPermission1, true);
Showing 5241 to 5250 of 11567 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 25, 2025, 06:16
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.