Starts in:
1 DAY
9 HRS
32 MIN
24 SEC
Starts in:
1 D
9 H
32 M
24 S
Open Closed

Override TenantAppSerivce #1151


User avatar
0
falsharif created
  • ABP Framework version: v4.2.2
  • UI type: Blazor
  • DB provider: EF Core /
  • Tiered (MVC) or Identity Server Separated (Angular): / no

Hi Team, I want to automatically generate a connectionstring when a new tenant is created , however since i dont have the source code for tenantappserivce, how can i override it ? or what is the solution in my case ?

Cheers, Fathi CTO


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

    Hi,

    You don't need to override TenantAppSerivce, you can subscribe to entity creation domain events and handie it.

    https://docs.abp.io/en/abp/latest/Local-Event-Bus#pre-built-events

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06