Starts in:
1 DAY
19 HRS
30 MIN
30 SEC
Starts in:
1 D
19 H
30 M
30 S
Open Closed

IdentityRoleRepository.ToEfCoreRepository throwing an error after abp upgrade to 6 #4237


User avatar
0
Repunjay created

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)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Same with https://support.abp.io/QA/Questions/4235/Where-extension-method-doesn%27t-contain-the-definition

  • User Avatar
    0
    Repunjay created

    Could you please provide example/sample code for the above mentioned IBasicRepository Implementation?

    IdentityRoleRepository.ToEfCoreRepository

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    var admin = (await RoleRepository.ToEfCoreRepository().GetQueryableAsync()).Where(x => x.Name == "admin").FirstOrDefaultAsync();

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06