打开 关闭

How to get connect IdentityDbContext in my .*EntityFrameworkCore project #2465


User avatar
0
mc86 创建

Hello I want to get all the User Role Org entities from IdentityDbContext in my .*EntityFrameworkCore project How can I achieve that? thanks~ or are there User Role Org cache in Redis ?


28 答案
  • User Avatar
    0
    maliming 创建
    支持团队 Fullstack Developer

    Can you try to use System.Text.Json in the console app?

    https://docs.microsoft.com/en-us/dotnet/standard/serialization/system-text-json-how-to?pivots=dotnet-6-0

  • User Avatar
    0
    mc86 创建

    System.Text.Json causes the problem. It's working now. tks.

  • User Avatar
    0
    maliming 创建
    支持团队 Fullstack Developer

    Good news.

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