Açık Kapalı

Override TenantAppSerivce #1151


User avatar
0
falsharif oluşturuldu
  • 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 Cevap
  • User Avatar
    0
    liangshiwei oluşturuldu
    Destek Takımı 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 oluşturuldu
    Destek Takımı 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 Mart 25, 2024, 15:11