Class Tenant
Represents a tenant
Inheritance
System.Object
Tenant
Namespace: Simplic.Framework.Core
Assembly: Simplic.Framework.Base.dll
Syntax
public class Tenant : ICacheable
Constructors
| Improve this Doc View SourceTenant()
Create new tenant instance
Declaration
public Tenant()
Properties
| Improve this Doc View SourceConnectionId
The tenant's connection string
Declaration
public int? ConnectionId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
ExternId
ID of the tenant in the external system
Declaration
public int? ExternId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> |
ExternName
Name of the tenant in the external system
Declaration
[RegularExpression("[^0-9a-zA-Z]+")]
public string ExternName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ExternSystemType
Connected tennant system
Declaration
public TenantSystemType ExternSystemType { get; set; }
Property Value
Type | Description |
---|---|
TenantSystemType |
Id
Unique id
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Key
Gets the unique tenant key
Declaration
public string Key { get; }
Property Value
Type | Description |
---|---|
System.String |
Name
Name for usage
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceOnRemove()
On remove cached tenant
Declaration
public void OnRemove()