Search Results for

    Show / Hide Table of Contents

    Class TenantViewModel

    Represents a tenant

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

    Constructors

    | Improve this Doc View Source

    TenantViewModel()

    Create a new TenantViewModel instance

    Declaration
    public TenantViewModel()
    | Improve this Doc View Source

    TenantViewModel(Tenant)

    Create a TenantViewModel instance using a given Tenant

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

    Properties

    | Improve this Doc View Source

    ConnectionId

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

    Declaration
    [Display(GroupName = "Allgemein", Name = "Verbindung", Order = 10, Description = "Die vom Mandanten zu nutzende Verbindung zum externen System")]
    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
    [Browsable(false)]
    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
    [Display(GroupName = "Allgemein", Name = "Externe ID", Order = 30, Description = "Die ID des Mandanten im externen System")]
    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
    [RegularExpression("[^0-9a-zA-Z]+")]
    [Display(GroupName = "Allgemein", Name = "Externer Name", Order = 20, Description = "Der Name des Mandanten im externen System")]
    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
    [Display(GroupName = "Allgemein", Name = "System", Order = 10, Description = "Externes oder internes Mandantensystem")]
    public Guid ExternTenantSystemId { get; set; }
    Property Value
    Type Description
    System.Guid
    | Improve this Doc View Source

    Id

    Unique tenant id

    Declaration
    [Browsable(false)]
    public Guid Id { get; set; }
    Property Value
    Type Description
    System.Guid
    | Improve this Doc View Source

    Model

    Gets the model behind the viewmodel

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

    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
    | Improve this Doc View Source

    TenantSystemName

    Name of the tenant sytem type

    Declaration
    [Browsable(false)]
    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 Tenant)

    Converts a TenantViewModel to a Tenant code model

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

    TenantViewModel

    Returns
    Type Description
    Tenant

    Implements

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