Class TenantServiceContext
Tenant service context
Inheritance
TenantServiceContext
Implements
Inherited Members
Namespace: PayrollEngine.Client.Service
Assembly: PayrollEngine.Client.Core.dll
Syntax
public class TenantServiceContext : RootServiceContext, IServiceContext
Constructors
TenantServiceContext(ITenant)
Initializes a new instance of the TenantServiceContext class
Declaration
public TenantServiceContext(ITenant tenant)
Parameters
| Type | Name | Description |
|---|---|---|
| ITenant | tenant | The tenant |
TenantServiceContext(int)
Initializes a new instance of the TenantServiceContext class
Declaration
public TenantServiceContext(int tenantId)
Parameters
| Type | Name | Description |
|---|---|---|
| int | tenantId | The tenant id |
Properties
TenantId
The tenant id
Declaration
public int TenantId { get; }
Property Value
| Type | Description |
|---|---|
| int |