Class OrganizationTenantViewModel
Represents a tenant
Implements
Inherited Members
Namespace: Simplic.Framework.DBUI
Assembly: Simplic.Framework.DBUI.dll
Syntax
public class OrganizationTenantViewModel : ExtendableViewModel, IPyExtendableViewModel
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 |
---|---|
System.Guid |
CloudQueueId
Declaration
public Guid CloudQueueId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
Id
Unique tenant id
Declaration
[Browsable(false)]
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
IsActive
Name of the tenant for usage
Declaration
[Display(GroupName = "Allgemein", Name = "Ist aktiv", Order = 0, Description = "Gibt an, ob der Mandant aktiv ist")]
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
[Required]
[RegularExpression("[^0-9a-zA-Z]+")]
[Display(GroupName = "Allgemein", Name = "Name", Order = 0, Description = "Der Name des Mandanten")]
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 |
---|---|
System.Guid |
SubTenants
Gets all sub-tenants
Declaration
public ObservableCollection<OrganizationTenantViewModel> SubTenants { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<OrganizationTenantViewModel> |
Tenants
Gets all tenants
Declaration
public ObservableCollection<TenantViewModel> Tenants { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.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 |