Search Results for

    Show / Hide Table of Contents

    Class TenantEditorViewModel

    Viewmodel for the TenantEditor

    Inheritance
    System.Object
    TenantEditorViewModel
    Namespace: Simplic.Framework.DBUI
    Assembly: Simplic.Framework.DBUI.dll
    Syntax
    public class TenantEditorViewModel : UI.MVC.ViewModelBase

    Constructors

    | Improve this Doc View Source

    TenantEditorViewModel()

    Create a new viewmodel and initialize needed properties

    Declaration
    public TenantEditorViewModel()

    Properties

    | Improve this Doc View Source

    HasDataOrganizationSelection

    Information about whether a tenant is selected.

    Declaration
    public bool HasDataOrganizationSelection { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    HasDataSelection

    Information about whether a tenant is selected.

    Declaration
    public bool HasDataSelection { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    OrganizationTenants

    Gets a list of organization tenants

    Declaration
    public ObservableCollection<OrganizationTenantViewModel> OrganizationTenants { get; set; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<OrganizationTenantViewModel>
    | Improve this Doc View Source

    SelectedOrganizationTenant

    Gets or sets the selected organization tenant

    Declaration
    public OrganizationTenantViewModel SelectedOrganizationTenant { get; set; }
    Property Value
    Type Description
    OrganizationTenantViewModel
    | Improve this Doc View Source

    SelectedTenant

    Currently selected tenant

    Declaration
    public TenantViewModel SelectedTenant { get; set; }
    Property Value
    Type Description
    TenantViewModel
    | Improve this Doc View Source

    Tenants

    List of available tenants

    Declaration
    public ObservableCollection<TenantViewModel> Tenants { get; set; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ObservableCollection<TenantViewModel>

    Methods

    | Improve this Doc View Source

    AddOrganizationTenant()

    Add a new organization tenant

    Declaration
    public void AddOrganizationTenant()
    | Improve this Doc View Source

    AddTenant()

    Creates a new tenant, adds it to Tenants and sets SelectedTenant to it

    Declaration
    public void AddTenant()
    | Improve this Doc View Source

    DeleteOrganizationTenant(OrganizationTenantViewModel)

    Deletes a given tenant from Tenants. To delete it from the DB the save method has to be called.

    Declaration
    public void DeleteOrganizationTenant(OrganizationTenantViewModel tenant)
    Parameters
    Type Name Description
    OrganizationTenantViewModel tenant
    | Improve this Doc View Source

    DeleteTenant(TenantViewModel)

    Deletes a given tenant from Tenants. To delete it from the DB the save method has to be called.

    Declaration
    public void DeleteTenant(TenantViewModel tenant)
    Parameters
    Type Name Description
    TenantViewModel tenant
    | Improve this Doc View Source

    Save()

    Saves all tenantes that have a dirty viewmodel if there

    Declaration
    public void Save()
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx