Extension methods for TenantDbAccessScopeMiddleware configuration.
Adds a middeware that sets the connection string of the specified database API names to the one of the current tenant.
public IApplicationBuilder UseTenantDbAccessScope(builder, options)
Name | Type | Summary |
---|---|---|
builder | IApplicationBuilder | Application builder. |
options | TenantDbAccessScopeOptions | Options to pass to the middleware. |
In this document