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 v8.2.0-preview Updated on March 25, 2024, 15:11