Skip to content

DapperMaticTenantSource ​

Namespace: MJCZone.DapperMatic.AspNetCore.Models

Assembly: MJCZone.DapperMatic.AspNetCore

Summary ​

Where a tenant's id is read from. Set one property.

sealed public

Contents ​

Constructors (1) | Methods (4) | Properties (5)

Constructors ​

DapperMaticTenantSource ​

csharp
DapperMaticTenantSource()

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

Claim ​

Gets or sets a claim type, such as <c>tenant_id</c>.

Type: string?

Gets or sets a request header, such as <c>X-Tenant-Id</c>.

Type: string?

Route ​

Gets or sets a route value, such as <c>tenant</c>.

Type: string?

Query ​

Gets or sets a query string value, such as <c>tenant</c>.

Type: string?

Subdomain ​

Gets or sets a host pattern with a <c>{tenant}</c> placeholder, such as <c>{tenant}.app.example.com</c>.

Type: string?