跳到主要内容
版本:Next

TenantManager

Index

Constructors

constructor

Properties

applicationContext

applicationContext: IMidwayContainer

Methods

getCurrentTenant

  • getCurrentTenant<T>(): Promise<T>
  • Type parameters

    • T = any

setCurrentTenant

  • setCurrentTenant<T>(currentTenant: T): Promise<void>
  • Type parameters

    • T = any