Search Results for

    Show / Hide Table of Contents

    Class ContactViewModel

    Base contact ViewModel

    Inheritance
    System.Object
    ContactViewModel
    CompanyContactViewModel
    CompanyPersonalContactViewModel
    SingleContactViewModel
    Implements
    IMultiTenantCompatibleViewModel
    ICustomAddonViewModel
    Namespace: Simplic.PlugIn.SAC.Contact.UI
    Assembly: Simplic.PlugIn.SAC.dll
    Syntax
    public class ContactViewModel : ExtendableViewModel

    Constructors

    | Improve this Doc View Source

    ContactViewModel(Contact)

    Initialize new contact viewmodel

    Declaration
    public ContactViewModel(Contact contact)
    Parameters
    Type Name Description
    Contact contact

    Contact instance

    Properties

    | Improve this Doc View Source

    AddBank

    Gets or set sthe bank to add

    Declaration
    public ICommand AddBank { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    AddBankAccount

    Gets or sets the command to add a new bank account

    Declaration
    public ICommand AddBankAccount { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    AddCategory

    Gets or sets the command to add a new contact category

    Declaration
    public ICommand AddCategory { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    AddDependingContact

    Gets or sets a command for adding a depending contact

    Declaration
    public ICommand AddDependingContact { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    AddDependingContactCommand

    Gets or sets the command that add a comment to a depending contact

    Declaration
    public ICommand AddDependingContactCommand { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    Additional01

    Gets or sets an additional address/name field

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

    AddonViewModel

    Gets or sets the contact addon viewmodel

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

    AddOpeningHour

    Gets the command to add opening hours

    Declaration
    public ICommand AddOpeningHour { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    AddPhysicalAddress

    Declaration
    public ICommand AddPhysicalAddress { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    AllCategories

    Gets a list of selectable categories

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

    AnalysisData

    Gets the contact analysis data viewmodel

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

    BankAccounts

    Gets a list of bank accounts

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

    Birthday

    Gets or sets the contact birthday

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

    BusinessHomePage

    Gets or sets the business homepage

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

    CalculateIBAN

    Gets or sets the command to calculate the iban

    Declaration
    public ICommand CalculateIBAN { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    CallSelectedReferencedContact

    Gets or sets the command to get a list of phone numbers of a referenced contact

    Declaration
    public ICommand CallSelectedReferencedContact { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    Categories

    Gets all categories

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

    CategoryFilteringBehaviour

    Gets the category filtering behaviour

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

    CheckVatIdCommand

    Gets or sets the relay-command check-vat-id.

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

    CompanyName

    Gets or sets the company name

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

    ContactConverterFactories

    Gets contact converter factories

    Declaration
    public IList<IContactConverterFactory> ContactConverterFactories { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<IContactConverterFactory>
    | Improve this Doc View Source

    ContactId

    Gets the Contact id

    Declaration
    public long? ContactId { get; }
    Property Value
    Type Description
    System.Nullable<System.Int64>
    | Improve this Doc View Source

    ContactIDRef

    Gets or sets the referencing contact

    Declaration
    public long? ContactIDRef { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>
    | Improve this Doc View Source

    ContactStatusKeyID

    Gets or sets the status to the selected contact type

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

    ContactSubTypeKeyID

    Gets or set the contact type

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

    ContactTypeKeyID

    Gets or sets the contact main type id

    Declaration
    public int ContactTypeKeyID { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    CreateUserId

    Gets or sets the create user id of the contact

    Declaration
    public int CreateUserId { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    DateTimeCreated

    Gets or sets the create-date-time of the contact

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

    DateTimeUpdated

    Gets or sets the update date time of the contact

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

    DaysOfWeek

    Gets the DaysOfWeek

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

    DeleteOpeningHour

    Gets the command to delete opening hours

    Declaration
    public ICommand DeleteOpeningHour { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    Department

    Gets or sets the department name of the contact

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

    DependentContact

    Gets dependent account if its exists, else return the current object

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

    DifferentLocationPhysicalAddress

    Gets or sets the location physical address

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

    DifferentLocationPhysicalAddressId

    Gets or sets the different physical address id

    Declaration
    public long? DifferentLocationPhysicalAddressId { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int64>
    | Improve this Doc View Source

    EditReferencedContact

    Gets or sets the command to edit a referenced contact

    Declaration
    public ICommand EditReferencedContact { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    EKSNr

    Gets or sets the incomming tax number

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

    EMailAddressTypes

    Gets or sets all available email addresses

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

    EmailSelectedReferencedContact

    Gets or sets the command to email a referenced contact

    Declaration
    public ICommand EmailSelectedReferencedContact { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    EnablePhoneResolving

    Gets or sets whether phone resolving is enabled or not

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

    FirstName

    Gets or sets the firstname of the contact

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

    HasSelectedAddress

    Gets whether a physical address is selected or not

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

    HasSelectedBank

    Gets whether a Bank is selected or not

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

    Id

    Gets the contact guid

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

    IsDeleted

    Gets or sets the is-deleted flag of the contact

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

    JobTitle

    Gets or sets the job-title of the contact

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

    LastName

    Gets or sets the lastname of the contact

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

    LetterSalutation

    Gets or sets the lettersalutation

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

    LetterTitle

    Gets or sets the letter title

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

    MatchCode

    gets or sets the matchCode field in Contact class through MatchCode property

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

    Model

    Gets the contact model instance

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

    NickName

    Gets or sets the nickname of the contact

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

    NoPrimaryPhysicalAddressView

    Gets a view which shoes all addresses besides the primary address

    Declaration
    public CollectionViewSource NoPrimaryPhysicalAddressView { get; }
    Property Value
    Type Description
    System.Windows.Data.CollectionViewSource
    | Improve this Doc View Source

    OpenBusinessHomepage

    Gets or sets the command to open the business homepage

    Declaration
    public ICommand OpenBusinessHomepage { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    OpeningHours

    Gets the opening hours

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

    PhoneCallContactId

    Gets the instance data guid of the contact to start the call with. If the contact has a dependent contact and ResolveOmpanyOnCall is set to true, the company contact will be used

    Declaration
    public Guid PhoneCallContactId { get; }
    Property Value
    Type Description
    System.Guid
    | Improve this Doc View Source

    PhoneNumberTypes

    Gets or sets all available phone number types

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

    PhysicalAddresses

    Gets all physical addresses.

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

    PoiFieldColor

    Gets the POI Field Color

    Declaration
    public SolidColorBrush PoiFieldColor { get; }
    Property Value
    Type Description
    System.Windows.Media.SolidColorBrush
    | Improve this Doc View Source

    PrimaryPhysicalAddress

    Gets or sets the primary physical address

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

    ProfilePhoto

    Gets the contact-photo as bitmap

    Declaration
    public BitmapImage ProfilePhoto { get; }
    Property Value
    Type Description
    System.Windows.Media.Imaging.BitmapImage
    | Improve this Doc View Source

    ReadOnlyReferencedContacts

    Gets a list of referenced contacts

    Declaration
    public IList<Contact> ReadOnlyReferencedContacts { get; }
    Property Value
    Type Description
    System.Collections.Generic.IList<Contact>
    | Improve this Doc View Source

    Remark

    Gets or sets a general remark value

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

    RemoveBankAccount

    Gets or sets the command to remove a selected bank account

    Declaration
    public ICommand RemoveBankAccount { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    RemovePhysicalAddress

    Gets or sets the command for removing a physical address

    Declaration
    public ICommand RemovePhysicalAddress { get; set; }
    Property Value
    Type Description
    System.Windows.Input.ICommand
    | Improve this Doc View Source

    RepresentativeGroup

    Gets or sets the represnetative group instance. Will be load when used

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

    RepresentativeGroupGuid

    Gets or sets a representative group id

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

    Salutation

    Gets or sets the salutation (mr, mrs, ...)

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

    SelectedBankAccount

    Gets the currently selected bank account

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

    SelectedPhysicalAddress

    Gets or sets the currently selected physical address

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

    SelectedReferencedContact

    Gets or sets the currently selected referenced contact

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

    SelectedSubType

    Gets the currently selected subtype

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

    SelectedSubTypeState

    Gets the currently selected subtype

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

    SelectedTenant

    Gets or sets the currently selected tenant

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

    SendNewsletter

    Gets or sets whether this contact should get newsletter information or not

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

    SubType

    Gets or sets the contact sub type

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

    SubTypes

    Gets or sets a list of available sub types

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

    SubTypeState

    Gets or sets the type state by

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

    SubTypeStates

    Gets or sets SubTypeState

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

    TaxId

    Gets or sets the tax-id of the contact

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

    TenantId

    Gets or sets the tenant id

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

    Tenants

    Gets or sets a list of tenants

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

    Title

    Gets or sets the title of the contact (Prof. Dr., ...)

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

    Type

    Gets or sets the contact type

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

    UpdateUserId

    Gets or sets the user-id of the update user

    Declaration
    public int UpdateUserId { get; set; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    UserFunction

    Gets or sets the userfunction (in the branch/company) of the contact

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

    WIdNr

    Gets or sets the contact WIdNr

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

    WindowTitle

    Gets the window title

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

    Zones

    Gets or sets the zones

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

    Methods

    | Improve this Doc View Source

    CheckVatId(Object)

    A method which it use for vat-id check.

    Declaration
    public async void CheckVatId(object o)
    Parameters
    Type Name Description
    System.Object o

    A param which is important for the relay-command.

    | Improve this Doc View Source

    Delete(WindowDeleteEventArg)

    Delete the current contact in the database Window delete arguments

    Declaration
    public virtual void Delete(WindowDeleteEventArg e)
    Parameters
    Type Name Description
    WindowDeleteEventArg e
    | Improve this Doc View Source

    GetAddonPrimaryKey()

    Get the current primary key for the addon system

    Declaration
    public object GetAddonPrimaryKey()
    Returns
    Type Description
    System.Object
    | Improve this Doc View Source

    Save(WindowSaveEventArg)

    Save the current contact in the database Window save arugments

    Declaration
    public virtual void Save(WindowSaveEventArg e)
    Parameters
    Type Name Description
    WindowSaveEventArg e

    Implements

    IMultiTenantCompatibleViewModel
    ICustomAddonViewModel
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx