Class OrganizationTenantViewModel
Represents a tenant
Inheritance
System.Object
    OrganizationTenantViewModel
  Namespace: Simplic.Framework.DBUI
Assembly: Simplic.Framework.DBUI.dll
Syntax
public class OrganizationTenantViewModel : ExtendableViewModel
  Constructors
| Improve this Doc View SourceOrganizationTenantViewModel()
Create a new TenantViewModel instance
Declaration
public OrganizationTenantViewModel()
  OrganizationTenantViewModel(OrganizationTenant)
Create a TenantViewModel instance using a given Tenant
Declaration
public OrganizationTenantViewModel(OrganizationTenant tenant)
  Parameters
| Type | Name | Description | 
|---|---|---|
| OrganizationTenant | tenant | 
Properties
| Improve this Doc View SourceCloudOrganizationId
Declaration
public Guid CloudOrganizationId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Guid | 
CloudQueueId
Declaration
public Guid CloudQueueId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Guid | 
Id
Unique tenant id
Declaration
public Guid Id { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Guid | 
IsActive
Name of the tenant for usage
Declaration
public bool IsActive { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Model
Gets the tenant model
Declaration
public OrganizationTenant Model { get; }
  Property Value
| Type | Description | 
|---|---|
| OrganizationTenant | 
Name
Name of the tenant for usage
Declaration
public string Name { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
OAuthAppID
Gets or sets the app ID of the OAuth app
Declaration
public string OAuthAppID { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
OAuthRedirect
Gets or sets the redirect URI of the OAuth app
Declaration
public string OAuthRedirect { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
OAuthTenantID
Gets or sets the tenant ID of the OAuth app
Declaration
public string OAuthTenantID { get; set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
OxSOrganizationId
Gets or sets the OxS organization ID.
Declaration
public Guid OxSOrganizationId { get; set; }
  Property Value
| Type | Description | 
|---|---|
| Guid | 
SubTenants
Gets all sub-tenants
Declaration
public ObservableCollection<OrganizationTenantViewModel> SubTenants { get; }
  Property Value
| Type | Description | 
|---|---|
| ObservableCollection<OrganizationTenantViewModel> | 
Tenants
Gets all tenants
Declaration
public ObservableCollection<TenantViewModel> Tenants { get; }
  Property Value
| Type | Description | 
|---|---|
| ObservableCollection<TenantViewModel> | 
Operators
| Improve this Doc View SourceExplicit(OrganizationTenantViewModel to OrganizationTenant)
Converts a TenantViewModel to a Tenant code model
Declaration
public static explicit operator OrganizationTenant(OrganizationTenantViewModel model)
  Parameters
| Type | Name | Description | 
|---|---|---|
| OrganizationTenantViewModel | model | TenantViewModel  | 
      
Returns
| Type | Description | 
|---|---|
| OrganizationTenant |