Search Results for

    Show / Hide Table of Contents

    Class TenantViewModel

    Represents a tenant

    Inheritance
    System.Object
    TenantViewModel
    Implements
    IEqualityComparer<TenantViewModel>
    IEquatable<TenantViewModel>
    Namespace: Simplic.Framework.DBUI
    Assembly: Simplic.Framework.DBUI.dll
    Syntax
    public class TenantViewModel : UI.MVC.ViewModelBase

    Constructors

    | Improve this Doc View Source

    TenantViewModel()

    Create a new TenantViewModel instance

    Declaration
    public TenantViewModel()
    | Improve this Doc View Source

    TenantViewModel(Core.Tenant)

    Create a TenantViewModel instance using a given Tenant

    Declaration
    public TenantViewModel(Core.Tenant tenant)
    Parameters
    Type Name Description
    Core.Tenant tenant

    Properties

    | Improve this Doc View Source

    ConnectionId

    ID of the tenant's connection (id from ESS_DC_BASE_DBConnection)

    Declaration
    public int? ConnectionId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    | Improve this Doc View Source

    ConnectionName

    Name of the tenant' connection (mnd_name from ESS_DC_BASE_DBConnection)

    Declaration
    public string ConnectionName { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ExternId

    ID of the tenant in the external system

    Declaration
    public int? ExternId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    | Improve this Doc View Source

    ExternName

    Name of the tenant in the external system

    Declaration
    public string ExternName { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    ExternTenantSystemId

    ID of the tenant's connection (id from ESS_DC_BASE_DBConnection)

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

    Id

    Unique tenant id

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

    Model

    Gets the model behind the viewmodel

    Declaration
    public Core.Tenant Model { get; }
    Property Value
    Type Description
    Core.Tenant
    | Improve this Doc View Source

    Name

    Name of the tenant for usage

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    TenantSystemName

    Name of the tenant sytem type

    Declaration
    public string TenantSystemName { get; }
    Property Value
    Type Description
    System.String

    Methods

    | Improve this Doc View Source

    Equals(TenantViewModel)

    Compare with other

    Declaration
    public bool Equals(TenantViewModel other)
    Parameters
    Type Name Description
    TenantViewModel other
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Equals(TenantViewModel, TenantViewModel)

    Compare two viewmodel

    Declaration
    public bool Equals(TenantViewModel x, TenantViewModel y)
    Parameters
    Type Name Description
    TenantViewModel x
    TenantViewModel y
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Equals(Object)

    Compare methods / equals

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    | Improve this Doc View Source

    GetHashCode()

    Get the hashcode of the current viewmodel

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    | Improve this Doc View Source

    GetHashCode(TenantViewModel)

    Get the hashcode of the obj

    Declaration
    public int GetHashCode(TenantViewModel obj)
    Parameters
    Type Name Description
    TenantViewModel obj
    Returns
    Type Description
    System.Int32

    Operators

    | Improve this Doc View Source

    Explicit(TenantViewModel to Core.Tenant)

    Converts a TenantViewModel to a Tenant code model

    Declaration
    public static explicit operator Core.Tenant(TenantViewModel model)
    Parameters
    Type Name Description
    TenantViewModel model

    TenantViewModel

    Returns
    Type Description
    Core.Tenant

    Implements

    IEqualityComparer<>
    IEquatable<>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx