I have added those configuring methods. I already had corresponding modules included into DependsOn on all layers.
You need add new migration file before run DbMigrator.
hi
Please share the code of xxxMigrationsDbContext
and xxxEntityFrameworkCoreModule
.
hi
You can create a new project via CLI. then compare the code.
eg: xxxMigrationsDbContext
xxxEntityFrameworkCoreModule
hi
I suggest you check all migration guides first. There are lot of changes.
https://docs.abp.io/en/abp/latest/Migration-Guides/Index https://docs.abp.io/en/commercial/latest/migration-guides/index
hi ]Can you share the error stack?
using (var uow = _unitOfWorkManager.Begin(true))
This is recommend way, because you can't assume there is uow.
var query = await _repository.GetQueryableAsync();
The method will start a new uow and then the dbcontext will be disposed.
Not sure. You can try with a new project create via CLI 4.3.
hi
I back the Question Credits to you, you can open a new quesion.
Problem has beed resolved.
hi yorytang
Your steps are incomplete, I can't reproduce the problem.