radhikashrotre的活动

With version 4.4, EntityFrameworkCore.DbMigrations project has been removed and DbContexts are unified. You can check this community article to understand the circumstances under that. If you were migrated your application from 4.3 to 4.4 please apply the steps in the article to unify your db context.

Can you examine your db context class inherit from ISaasDbContext or not?

[ReplaceDbContext(typeof(IIdentityProDbContext))] 
[ReplaceDbContext(typeof(ISaasDbContext))] //ensure this line is exists 
[ConnectionStringName("Default")] 
public class MyDbContext :  
        AbpDbContext<MyDbContext>,  
        IIdentityProDbContext, 
        ISaasDbContext //ensure this line is exists 
{ 
    //... 
} 
  1. Yes, I have these lines of code in DBContext.
  2. I have used IdentityUser and IIdentityUserRepository to gather data for Users and OrganizationUnit with these I want to join based on condition my userdefined two entities.
  3. I have constructed a class where I have called IIdentityUserRepository, IdentityUser objects using Get method. Anything I need to change here.

Hi @radhikashrotre, what is your ABP Framework version?

ABP FW 4.4

显示 2 个条目中的 1 到 2 个.
Made with ❤️ on ABP v8.2.0-preview Updated on 三月 25, 2024, 15:11