Open Closed

Regarding AppLitmusSetting Repository. #2236


User avatar
0
ChetanKumbhar created

Hi,
I want to access AppLitmusSetting table in my code, I checked documents but could found that.
Please help me out for access this table.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v4.3.1

  • UI type: Angular

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): yes

  • Exception message and stack trace:

  • Steps to reproduce the issue:"


1 Answer(s)
  • User Avatar
    0
    enisn created
    Support Team .NET Developer

    Hi @ChetanKumbhar

    ABP Framework and ABP Commercial don't have such a table AppLitmusSetting.

    As I can understand that is your application's table. So, if it's an AggregateRoot, you can use IRepository<LitmusSetting, Guid> do make operaitons on that table.

    If it's not an AggregateRoot, you should add repositories with includeAllEntities as true

    context.Services.AddAbpDbContext<FooDbContext>(options =>
    {
        options.AddDefaultRepositories(includeAllEntities: true);
    });
    

    Then you can use IRepository<LitmusSetting, Guid> to perform database operations on that table.

    Read more about repositories: https://docs.abp.io/en/abp/latest/Best-Practices/Repositories
    Read more about Entities & AggregateRoots: https://docs.abp.io/en/abp/latest/Entities

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 11, 2025, 10:10