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!

Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 10, 2025, 06:30