Hi Team,
IdentityRoleRepository.ToEfCoreRepository throwing an error after abp upgrade to 6, below is the screen shot for the same.
Please provide the solution for this asap.
Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.
If you're creating a bug/problem report, please include followings:
- ABP Framework version: vX.X.X
- UI type: Angular / MVC / Blazor
- DB provider: EF Core / MongoDB
- Tiered (MVC) or Identity Server Separated (Angular): yes / no
- Exception message and stack trace:
- Steps to reproduce the issue:"
3 Answer(s)
-
0
hi
Same with https://support.abp.io/QA/Questions/4235/Where-extension-method-doesn%27t-contain-the-definition
-
0
Could you please provide example/sample code for the above mentioned IBasicRepository Implementation?
IdentityRoleRepository.ToEfCoreRepository
-
0
hi
var admin = (await RoleRepository.ToEfCoreRepository().GetQueryableAsync()).Where(x => x.Name == "admin").FirstOrDefaultAsync();