Open Closed

How to replace ElsaContext with AbpDbContext? #1768


User avatar
0
tolo created
  • ABP Framework version: v4.4.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I used the :https://community.abp.io/articles/using-elsa-workflow-with-the-abp-framework-773siqi9 I guess replace ElsaContext with AbpDbContext

Please give me some advice,thanks!


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    According to the current design, you cannot do this. DbContext can't inherit multiple parent classes. (ElsaContext and AbpDbContext)

  • User Avatar
    0
    tolo created

    OK,thanks!

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.2.0-preview. Updated on March 20, 2025, 18:00