Aperto Chiuso

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


User avatar
0
Repunjay creato

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 risposte
  • User Avatar
    0
    maliming creato
    Team di supporto Fullstack Developer

    hi

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

  • User Avatar
    0
    Repunjay creato

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

    IdentityRoleRepository.ToEfCoreRepository

  • User Avatar
    0
    maliming creato
    Team di supporto Fullstack Developer

    hi

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

Made with ❤️ on ABP v8.2.0-preview Updated on marzo 25, 2024, 15:11