hi
the problem still persists on my develop environment.
Which project still has the error? Please share the error logs.
Thanks.
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
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