Class OrganizationViewModel
View model for the tenant entity
Inheritance
System.Object
OrganizationViewModel
Implements
Namespace: Simplic.User.UI
Assembly: Simplic.User.UI.dll
Syntax
public class OrganizationViewModel : ViewModelBase, INamedEntity
Constructors
| Improve this Doc View SourceOrganizationViewModel()
Default constructor for the view model
Declaration
public OrganizationViewModel()
OrganizationViewModel(Organization)
Copy constructor
Declaration
public OrganizationViewModel(Organization org)
Parameters
Type | Name | Description |
---|---|---|
Organization | org |
OrganizationViewModel(Guid, String, String, Int32, IList<Guid>, Nullable<Guid>, Boolean, Boolean)
Constructor for the view model
Declaration
public OrganizationViewModel(Guid id, string name, string matchCode, int subOrganizationCount, IList<Guid> subOrganizations, Guid? cloudOrganizationId, bool isActive, bool isGroup)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | Tenant ID |
System.String | name | Tenant name |
System.String | matchCode | Tenant match code |
System.Int32 | subOrganizationCount | Tenant suborganizations count |
System.Collections.Generic.IList<System.Guid> | subOrganizations | Tenant suborganizations IDs collection |
System.Nullable<System.Guid> | cloudOrganizationId | Tenant cloud organization id |
System.Boolean | isActive | Tenant active flag |
System.Boolean | isGroup | Tenant group flag |
Fields
| Improve this Doc View Source_cloudOrganizationId
Declaration
public Guid? _cloudOrganizationId
Field Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
_subOrganizationCount
Declaration
public int _subOrganizationCount
Field Value
Type | Description |
---|---|
System.Int32 |
_subOrganizations
Declaration
public IList<Guid> _subOrganizations
Field Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.Guid> |
Properties
| Improve this Doc View SourceCloudOrganizationId
Tenant cloud organization id
Declaration
public Guid? CloudOrganizationId { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Guid> |
IsActive
Tenant active flag
Declaration
public bool IsActive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsGroup
Tenant group flag
Declaration
public bool IsGroup { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
MatchCode
Tenant match code
Declaration
public string MatchCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
Tenant name
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OrganizationId
Tenant organization id
Declaration
public Guid OrganizationId { get; set; }
Property Value
Type | Description |
---|---|
System.Guid |
SubOrganizationCount
Tenant suborganizations count
Declaration
public int SubOrganizationCount { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
SubOrganizations
Tenant suborganizations IDs collection
Declaration
public IList<Guid> SubOrganizations { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.Guid> |
Users
Tenant's users collection
Declaration
public ObservableCollection<UserViewModel> Users { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ObservableCollection<UserViewModel> |