Search Results for

    Show / Hide Table of Contents

    Class ContactManager

    Contains the simplic crm contact manager

    Inheritance
    System.Object
    ContactManager
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.PlugIn.SAC.Contact
    Assembly: Simplic.PlugIn.SAC.dll
    Syntax
    public class ContactManager

    Constructors

    | Improve this Doc View Source

    ContactManager()

    Create a new ContactManager instance

    Declaration
    public ContactManager()

    Methods

    | Improve this Doc View Source

    AssignContactCategory(ContactCategory)

    Assign a contact category

    Declaration
    public void AssignContactCategory(ContactCategory obj)
    Parameters
    Type Name Description
    ContactCategory obj

    Instance ofContactCategory

    | Improve this Doc View Source

    AssignContactRegionCountry(Guid, Guid)

    Assign a Country to a ContactRegion

    Declaration
    public void AssignContactRegionCountry(Guid contactRegionId, Guid countryId)
    Parameters
    Type Name Description
    System.Guid contactRegionId

    Id of the ContactRegion

    System.Guid countryId

    Id of the Country

    | Improve this Doc View Source

    AutomaticMerge(Contact, IList<Contact>)

    Automatically merge information from contacts into contact. No data will be saved

    Declaration
    public void AutomaticMerge(Contact mainContact, IList<Contact> contacts)
    Parameters
    Type Name Description
    Contact mainContact

    Contact in which all information will be merged to

    System.Collections.Generic.IList<Contact> contacts

    Contacts to merge information to

    | Improve this Doc View Source

    CheckForDuplicates(Contact)

    Checks the given contact for duplicates. Indicators: Firstname + Lastname + Company Name + Additional 01 Street + Country + Zipcode Ust-Id

    Declaration
    public IList<Contact> CheckForDuplicates(Contact contact)
    Parameters
    Type Name Description
    Contact contact

    Instance to check for duplicates

    Returns
    Type Description
    System.Collections.Generic.IList<Contact>

    Returns a list of possible duplicates

    | Improve this Doc View Source

    CheckForDuplicatesAutomatic()

    Saerchs and marks automticly all possible duplicates

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

    Delete(Contact)

    Set the delete flag of a contact instance

    Declaration
    public void Delete(Contact contact)
    Parameters
    Type Name Description
    Contact contact

    Contact instance

    | Improve this Doc View Source

    Delete(Guid)

    Set the delete flag of a contact

    Declaration
    public void Delete(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Contact id

    | Improve this Doc View Source

    Delete(Int64)

    Set the delete flag of a contact

    Declaration
    public void Delete(long contactId)
    Parameters
    Type Name Description
    System.Int64 contactId

    Contact id (pk)

    | Improve this Doc View Source

    DeleteContactCategory(ContactCategory)

    Deletes the passed ContactCategory if it is not in use

    Declaration
    public void DeleteContactCategory(ContactCategory currentObject)
    Parameters
    Type Name Description
    ContactCategory currentObject
    | Improve this Doc View Source

    DeleteContactRegion(ContactRegion)

    Remove a ContactRegion

    Declaration
    public void DeleteContactRegion(ContactRegion obj)
    Parameters
    Type Name Description
    ContactRegion obj

    Object to delete

    | Improve this Doc View Source

    DeleteContactRegion(Guid)

    Remove a ContactRegion

    Declaration
    public void DeleteContactRegion(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Id value

    | Improve this Doc View Source

    DeleteContactSubType(ContactSubType)

    Deletes the passed ContactType if it is not in use

    Declaration
    public void DeleteContactSubType(ContactSubType type)
    Parameters
    Type Name Description
    ContactSubType type
    | Improve this Doc View Source

    DeleteContactSubTypeState(ContactSubTypeState)

    Deletes the passed ContactState if it is not in use

    Declaration
    public void DeleteContactSubTypeState(ContactSubTypeState state)
    Parameters
    Type Name Description
    ContactSubTypeState state
    | Improve this Doc View Source

    DeleteContactType(ContactType)

    Remove a ContactType

    Declaration
    public void DeleteContactType(ContactType obj)
    Parameters
    Type Name Description
    ContactType obj

    Object to delete

    | Improve this Doc View Source

    DeleteContactType(Int32)

    Remove a ContactType

    Declaration
    public void DeleteContactType(int contactTypeKeyId)
    Parameters
    Type Name Description
    System.Int32 contactTypeKeyId

    ContactTypeKeyId value

    | Improve this Doc View Source

    DeleteEMailAddress(EMailAddress)

    Delete mail address from contact

    Declaration
    public void DeleteEMailAddress(EMailAddress address)
    Parameters
    Type Name Description
    EMailAddress address

    E-Mail address object

    | Improve this Doc View Source

    DeleteEMailAddressType(EMailAddressType)

    Remove a EMailAddressType

    Declaration
    public void DeleteEMailAddressType(EMailAddressType obj)
    Parameters
    Type Name Description
    EMailAddressType obj

    Object to delete

    | Improve this Doc View Source

    DeleteEMailAddressType(Int32)

    Remove a EMailAddressType

    Declaration
    public void DeleteEMailAddressType(int eMailAddressKeyId)
    Parameters
    Type Name Description
    System.Int32 eMailAddressKeyId

    EMailAddressKeyId value

    | Improve this Doc View Source

    DeleteOpeningHour(OpeningHour)

    Deletes an opening hour

    Declaration
    public void DeleteOpeningHour(OpeningHour op)
    Parameters
    Type Name Description
    OpeningHour op
    | Improve this Doc View Source

    DeletePhoneNumberType(PhoneNumberType)

    Remove a PhoneNumberType

    Declaration
    public void DeletePhoneNumberType(PhoneNumberType obj)
    Parameters
    Type Name Description
    PhoneNumberType obj

    Object to delete

    | Improve this Doc View Source

    DeletePhoneNumberType(Int32)

    Remove a PhoneNumberType

    Declaration
    public void DeletePhoneNumberType(int phoneNumberKeyId)
    Parameters
    Type Name Description
    System.Int32 phoneNumberKeyId

    PhoneNumberKeyId value

    | Improve this Doc View Source

    DeletePhysicalAddress(PhysicalAddress)

    Delete physical address from contact

    Declaration
    public void DeletePhysicalAddress(PhysicalAddress address)
    Parameters
    Type Name Description
    PhysicalAddress address

    Physical address object

    | Improve this Doc View Source

    DeletePhysicalAddressPOIs(IList<PhysicalAddressPOI>)

    Removes a list of POIs from the database

    Declaration
    public void DeletePhysicalAddressPOIs(IList<PhysicalAddressPOI> pois)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<PhysicalAddressPOI> pois

    List of pois

    | Improve this Doc View Source

    DeletePhysicalAddressType(PhysicalAddressType)

    Remove a PhysicalAddressType

    Declaration
    public void DeletePhysicalAddressType(PhysicalAddressType obj)
    Parameters
    Type Name Description
    PhysicalAddressType obj

    Object to delete

    | Improve this Doc View Source

    DeletePhysicalAddressType(Int32)

    Remove a PhysicalAddressType

    Declaration
    public void DeletePhysicalAddressType(int physicalAddressKeyId)
    Parameters
    Type Name Description
    System.Int32 physicalAddressKeyId

    PhysicalAddressKeyId value

    | Improve this Doc View Source

    Get(Guid)

    Get a contact instance by its guid

    Declaration
    public Contact Get(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique guid

    Returns
    Type Description
    Contact

    Returns an instance of Contact if found, else null

    | Improve this Doc View Source

    GetAll()

    Get all contacts

    Declaration
    public IEnumerable<Contact> GetAll()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Contact>

    IEnumerable of Contact

    | Improve this Doc View Source

    GetAllAddresses(Boolean)

    Get an enumerable of all physical addresses

    Declaration
    public static IEnumerable<PhysicalAddress> GetAllAddresses(bool includeDeleted)
    Parameters
    Type Name Description
    System.Boolean includeDeleted

    If set to true, deleted addresses will also be included

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<PhysicalAddress>

    Enumerable of addresses

    | Improve this Doc View Source

    GetAllByCategoryId(Guid)

    Gets a list of contacts based on a category id

    Declaration
    public IEnumerable<Contact> GetAllByCategoryId(Guid categoryId)
    Parameters
    Type Name Description
    System.Guid categoryId
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Contact>
    | Improve this Doc View Source

    GetAllContactRegions()

    Get all ContactRegion

    Declaration
    public IEnumerable<ContactRegion> GetAllContactRegions()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ContactRegion>

    IEnumerable of ContactRegion

    | Improve this Doc View Source

    GetAllContactSubTypes()

    Gets all ContactType

    Declaration
    public IEnumerable<ContactSubType> GetAllContactSubTypes()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ContactSubType>
    | Improve this Doc View Source

    GetAllContactTypes()

    Get all ContactType

    Declaration
    public IEnumerable<ContactType> GetAllContactTypes()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ContactType>

    IEnumerable of ContactType

    | Improve this Doc View Source

    GetAllEMailAddressTypes()

    Get all EMailAddressType

    Declaration
    public IEnumerable<EMailAddressType> GetAllEMailAddressTypes()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<EMailAddressType>

    IEnumerable of EMailAddressType

    | Improve this Doc View Source

    GetAllPhoneNumberTypes()

    Get all PhoneNumberType

    Declaration
    public IEnumerable<PhoneNumberType> GetAllPhoneNumberTypes()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<PhoneNumberType>

    IEnumerable of PhoneNumberType

    | Improve this Doc View Source

    GetAllPhysicalAddressTypes()

    Get all PhysicalAddressType

    Declaration
    public IEnumerable<PhysicalAddressType> GetAllPhysicalAddressTypes()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<PhysicalAddressType>

    IEnumerable of PhysicalAddressType

    | Improve this Doc View Source

    GetById(Int64)

    Get a contact instance by its primary key

    Declaration
    public Contact GetById(long contactId)
    Parameters
    Type Name Description
    System.Int64 contactId

    Unique id (pf)

    Returns
    Type Description
    Contact

    Returns an instance of Contact if found, else null

    | Improve this Doc View Source

    GetByReferenceId(Int64, Boolean)

    Get a list of referenced contacts

    Declaration
    public IEnumerable<Contact> GetByReferenceId(long contactIdRef, bool includeDeleted = false)
    Parameters
    Type Name Description
    System.Int64 contactIdRef

    Determines whether to load deleted contacts or not

    System.Boolean includeDeleted
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Contact>

    Returns a list of contacts

    | Improve this Doc View Source

    GetByRepresentativeGroup(Guid)

    Get a list of Contacts with that representativeGroup

    Declaration
    public IEnumerable<Contact> GetByRepresentativeGroup(Guid representativeGroupGuid)
    Parameters
    Type Name Description
    System.Guid representativeGroupGuid
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Contact>
    | Improve this Doc View Source

    GetContactCategories(Int64)

    Get an enumerable of categories assigned to a contact

    Declaration
    public IEnumerable<ContactCategory> GetContactCategories(long contactId)
    Parameters
    Type Name Description
    System.Int64 contactId

    Cotnact id

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ContactCategory>

    Category enumerable

    | Improve this Doc View Source

    GetContactCategory(Guid)

    Gets the ContactCategory with the passed Guid

    Declaration
    public ContactCategory GetContactCategory(Guid guid)
    Parameters
    Type Name Description
    System.Guid guid
    Returns
    Type Description
    ContactCategory
    | Improve this Doc View Source

    GetContactCategoryByName(String)

    Gets the contact category with the given name.

    Declaration
    public ContactCategory GetContactCategoryByName(string name)
    Parameters
    Type Name Description
    System.String name

    The name of a contact category.

    Returns
    Type Description
    ContactCategory
    | Improve this Doc View Source

    GetContactGuidsFromMsgFile(Byte[])

    Get the guids of those contacts that have a mail address found in the sender or receivers of the given msg file.

    Declaration
    public static IList<Guid> GetContactGuidsFromMsgFile(byte[] msgFile)
    Parameters
    Type Name Description
    System.Byte[] msgFile

    Msg file to process

    Returns
    Type Description
    System.Collections.Generic.IList<System.Guid>
    | Improve this Doc View Source

    GetContactRegion(Guid)

    Get a single ContactRegion

    Declaration
    public ContactRegion GetContactRegion(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Id value

    Returns
    Type Description
    ContactRegion

    ContactRegion instance, else null

    | Improve this Doc View Source

    GetContactSubType(Guid)

    Gets the ContactType with the passed Guid

    Declaration
    public ContactSubType GetContactSubType(Guid id)
    Parameters
    Type Name Description
    System.Guid id
    Returns
    Type Description
    ContactSubType
    | Improve this Doc View Source

    GetContactSubType(Int32)

    Gets the ContactType with the passed integer id

    Declaration
    public ContactSubType GetContactSubType(int subTypeId)
    Parameters
    Type Name Description
    System.Int32 subTypeId
    Returns
    Type Description
    ContactSubType
    | Improve this Doc View Source

    GetContactSubTypeState(Guid)

    Gets the ContactState with the passed Guid

    Declaration
    public ContactSubTypeState GetContactSubTypeState(Guid id)
    Parameters
    Type Name Description
    System.Guid id
    Returns
    Type Description
    ContactSubTypeState
    | Improve this Doc View Source

    GetContactSubTypeState(Int32)

    Gets the ContactState with the passed integer

    Declaration
    public ContactSubTypeState GetContactSubTypeState(int contactStateId)
    Parameters
    Type Name Description
    System.Int32 contactStateId
    Returns
    Type Description
    ContactSubTypeState
    | Improve this Doc View Source

    GetContactType(Int32)

    Get a single ContactType

    Declaration
    public ContactType GetContactType(int contactTypeKeyId)
    Parameters
    Type Name Description
    System.Int32 contactTypeKeyId

    ContactTypeKeyId value

    Returns
    Type Description
    ContactType

    ContactType instance, else null

    | Improve this Doc View Source

    GetCountriesWithContactRegionId(Guid)

    Get a single Country

    Declaration
    public IEnumerable<Country> GetCountriesWithContactRegionId(Guid contactRegionid)
    Parameters
    Type Name Description
    System.Guid contactRegionid

    Id value

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<Country>

    ContactRegion instance, else null

    | Improve this Doc View Source

    GetEMailAddressType(Int32)

    Get a single EMailAddressType

    Declaration
    public EMailAddressType GetEMailAddressType(int eMailAddressKeyId)
    Parameters
    Type Name Description
    System.Int32 eMailAddressKeyId

    EMailAddressKeyId value

    Returns
    Type Description
    EMailAddressType

    EMailAddressType instance, else null

    | Improve this Doc View Source

    GetFriendlyName(Guid)

    Get the "friendly" contact name, which is: Company Name -> Additional 01 -> FirstName -> LastName

    Declaration
    public static string GetFriendlyName(Guid contactId)
    Parameters
    Type Name Description
    System.Guid contactId

    Unique contact guid

    Returns
    Type Description
    System.String

    Friendly name as string, or an empty string

    | Improve this Doc View Source

    GetMailAddressesByContactId(Int64)

    Get all mail addresses for a contact

    Declaration
    public IEnumerable<EMailAddress> GetMailAddressesByContactId(long contactId)
    Parameters
    Type Name Description
    System.Int64 contactId

    Contact id

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<EMailAddress>

    IEnumerable of mail addresses

    | Improve this Doc View Source

    GetMailAddressesByContactId(Int64, Int64)

    Get all mail addresses for a contact

    Declaration
    public IEnumerable<EMailAddress> GetMailAddressesByContactId(long contactId, long physicalAddressId)
    Parameters
    Type Name Description
    System.Int64 contactId

    Contact id

    System.Int64 physicalAddressId
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<EMailAddress>

    IEnumerable of mail addresses

    | Improve this Doc View Source

    GetNewContactId()

    Gets the next free contact id

    Declaration
    public long GetNewContactId()
    Returns
    Type Description
    System.Int64

    contactId

    | Improve this Doc View Source

    GetOpeningHoursByContactId(Int64)

    Gets all opening hours referred to the given contact id

    Declaration
    public IEnumerable<OpeningHour> GetOpeningHoursByContactId(long contactId)
    Parameters
    Type Name Description
    System.Int64 contactId
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<OpeningHour>
    | Improve this Doc View Source

    GetPhoneNumbersByContactId(Int64)

    Get all phone numbers for a contact

    Declaration
    public IEnumerable<PhoneNumber> GetPhoneNumbersByContactId(long contactId)
    Parameters
    Type Name Description
    System.Int64 contactId

    Contact id

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<PhoneNumber>

    IEnumerable of phone numbers

    | Improve this Doc View Source

    GetPhoneNumbersByContactId(Int64, Int64)

    Get all phone numbers for a contact

    Declaration
    public IEnumerable<PhoneNumber> GetPhoneNumbersByContactId(long contactId, long physicalAddressId)
    Parameters
    Type Name Description
    System.Int64 contactId

    Contact id

    System.Int64 physicalAddressId
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<PhoneNumber>

    IEnumerable of phone numbers

    | Improve this Doc View Source

    GetPhoneNumberType(Int32)

    Get a single PhoneNumberType

    Declaration
    public PhoneNumberType GetPhoneNumberType(int phoneNumberKeyId)
    Parameters
    Type Name Description
    System.Int32 phoneNumberKeyId

    PhoneNumberKeyId value

    Returns
    Type Description
    PhoneNumberType

    PhoneNumberType instance, else null

    | Improve this Doc View Source

    GetPhysicalAddress(Guid, PhysicalAddressType)

    Gets a physical address key id

    Declaration
    public static PhysicalAddress GetPhysicalAddress(Guid contactGuid, PhysicalAddressType addressType)
    Parameters
    Type Name Description
    System.Guid contactGuid

    Unique contact guid

    PhysicalAddressType addressType

    Type if the phsyical address from a predefined list

    Returns
    Type Description
    PhysicalAddress

    Instance of an phsyical address if found, else null

    | Improve this Doc View Source

    GetPhysicalAddress(Guid, Int32)

    Gets a physical address key id

    Declaration
    public static PhysicalAddress GetPhysicalAddress(Guid contactGuid, int addressTypeId)
    Parameters
    Type Name Description
    System.Guid contactGuid

    Unique contact guid

    System.Int32 addressTypeId
    Returns
    Type Description
    PhysicalAddress

    Instance of an phsyical address if found, else null

    | Improve this Doc View Source

    GetPhysicalAddresses(Int64, Boolean)

    Get a physical address by its id

    Declaration
    public PhysicalAddress GetPhysicalAddresses(long addressId, bool includeDeleted = false)
    Parameters
    Type Name Description
    System.Int64 addressId

    Contact id

    System.Boolean includeDeleted

    Gets or sets whether to include deleted addresses or not

    Returns
    Type Description
    PhysicalAddress

    Address instance

    | Improve this Doc View Source

    GetPhysicalAddressesByContactId(Int64, Boolean)

    Get all physical addresses for a contact

    Declaration
    public IEnumerable<PhysicalAddress> GetPhysicalAddressesByContactId(long contactId, bool includeDeleted = false)
    Parameters
    Type Name Description
    System.Int64 contactId

    Contact id

    System.Boolean includeDeleted

    Gets or sets whether to include deleted addresses or not

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<PhysicalAddress>

    IEnumerable of physical addresses

    | Improve this Doc View Source

    GetPhysicalAddressPOI(Guid)

    Gets a single physical address poi by its id

    Declaration
    public PhysicalAddressPOI GetPhysicalAddressPOI(Guid id)
    Parameters
    Type Name Description
    System.Guid id

    Unique POI-Id

    Returns
    Type Description
    PhysicalAddressPOI

    A poi if exists

    | Improve this Doc View Source

    GetPhysicalAddressPOIs(Int64)

    Gets a list of pois by there connected physical address id

    Declaration
    public IEnumerable<PhysicalAddressPOI> GetPhysicalAddressPOIs(long physicalAddressId)
    Parameters
    Type Name Description
    System.Int64 physicalAddressId

    Unique physical address id

    Returns
    Type Description
    System.Collections.Generic.IEnumerable<PhysicalAddressPOI>

    Enumerable of pois

    | Improve this Doc View Source

    GetPhysicalAddressType(Int32)

    Get a single PhysicalAddressType

    Declaration
    public PhysicalAddressType GetPhysicalAddressType(int physicalAddressKeyId)
    Parameters
    Type Name Description
    System.Int32 physicalAddressKeyId

    PhysicalAddressKeyId value

    Returns
    Type Description
    PhysicalAddressType

    PhysicalAddressType instance, else null

    | Improve this Doc View Source

    GetPrimaryPhysicalAddress(Int64)

    Gets the primary physical address for a referencing contact

    Declaration
    public PhysicalAddress GetPrimaryPhysicalAddress(long contactIdRef)
    Parameters
    Type Name Description
    System.Int64 contactIdRef

    Primary contact id

    Returns
    Type Description
    PhysicalAddress

    PhysicalAddress instance

    | Improve this Doc View Source

    GetSelectableContactCategories()

    Get an enumerable of selectable categories

    Declaration
    public IEnumerable<ContactCategory> GetSelectableContactCategories()
    Returns
    Type Description
    System.Collections.Generic.IEnumerable<ContactCategory>

    Enumerable of selectable categories

    | Improve this Doc View Source

    NewContactCategory()

    Creates a new empty ContactCategory

    Declaration
    public ContactCategory NewContactCategory()
    Returns
    Type Description
    ContactCategory
    | Improve this Doc View Source

    NewContactSubType()

    Creates a new empty ContactType

    Declaration
    public ContactSubType NewContactSubType()
    Returns
    Type Description
    ContactSubType
    | Improve this Doc View Source

    NewContactSubTypeState()

    Creates a new empty ContactState

    Declaration
    public ContactSubTypeState NewContactSubTypeState()
    Returns
    Type Description
    ContactSubTypeState
    | Improve this Doc View Source

    RestoreDeletedContact(Int64)

    Sets the delete flag of a contact to 0

    Declaration
    public void RestoreDeletedContact(long contactId)
    Parameters
    Type Name Description
    System.Int64 contactId
    | Improve this Doc View Source

    Save(Contact, Boolean)

    Create or update a contact instance

    Declaration
    public void Save(Contact contact, bool saveAnalysisValues = false)
    Parameters
    Type Name Description
    Contact contact

    Contact instance

    System.Boolean saveAnalysisValues

    If set to true, loaded analysis values will be saved too

    | Improve this Doc View Source

    Save(Contact, Boolean, Boolean)

    Create or update a contact instance

    Declaration
    public void Save(Contact contact, bool cloudUpload, bool saveAnalysisValues = false)
    Parameters
    Type Name Description
    Contact contact

    Contact instance

    System.Boolean cloudUpload

    Whether the contact should be uploaded in the cloud.

    System.Boolean saveAnalysisValues

    If set to true, loaded analysis values will be saved too

    | Improve this Doc View Source

    SaveContactCategory(ContactCategory)

    Saves the passed ContactCategory to the db

    Declaration
    public void SaveContactCategory(ContactCategory currentObject)
    Parameters
    Type Name Description
    ContactCategory currentObject
    | Improve this Doc View Source

    SaveContactRegion(ContactRegion)

    Save a ContactRegion

    Declaration
    public void SaveContactRegion(ContactRegion obj)
    Parameters
    Type Name Description
    ContactRegion obj

    Object to save

    | Improve this Doc View Source

    SaveContactSubType(ContactSubType)

    Saves the passed ContactType to the db

    Declaration
    public void SaveContactSubType(ContactSubType type)
    Parameters
    Type Name Description
    ContactSubType type
    | Improve this Doc View Source

    SaveContactSubTypeState(ContactSubTypeState)

    Saves the passed ContactState to the db

    Declaration
    public void SaveContactSubTypeState(ContactSubTypeState state)
    Parameters
    Type Name Description
    ContactSubTypeState state
    | Improve this Doc View Source

    SaveContactType(ContactType)

    Save a ContactType

    Declaration
    public void SaveContactType(ContactType obj)
    Parameters
    Type Name Description
    ContactType obj

    Object to save

    | Improve this Doc View Source

    SaveEMailAddress(EMailAddress)

    Save email information

    Declaration
    public void SaveEMailAddress(EMailAddress address)
    Parameters
    Type Name Description
    EMailAddress address

    E-Mail address object

    | Improve this Doc View Source

    SaveEMailAddressType(EMailAddressType)

    Save a EMailAddressType

    Declaration
    public void SaveEMailAddressType(EMailAddressType obj)
    Parameters
    Type Name Description
    EMailAddressType obj

    Object to save

    | Improve this Doc View Source

    SaveMergedContacts(Contact, IList<Contact>)

    Save merge contact information

    Declaration
    public void SaveMergedContacts(Contact mainContact, IList<Contact> contacts)
    Parameters
    Type Name Description
    Contact mainContact

    Contact which are all information merged into

    System.Collections.Generic.IList<Contact> contacts

    Contacts that will be maked as duplicate

    | Improve this Doc View Source

    SaveOpeningHour(OpeningHour)

    Saves an opening hour

    Declaration
    public void SaveOpeningHour(OpeningHour op)
    Parameters
    Type Name Description
    OpeningHour op
    | Improve this Doc View Source

    SavePhoneNumberType(PhoneNumberType)

    Save a PhoneNumberType

    Declaration
    public void SavePhoneNumberType(PhoneNumberType obj)
    Parameters
    Type Name Description
    PhoneNumberType obj

    Object to save

    | Improve this Doc View Source

    SavePhysicalAddress(PhysicalAddress)

    Save physical information

    Declaration
    public void SavePhysicalAddress(PhysicalAddress address)
    Parameters
    Type Name Description
    PhysicalAddress address

    Physical address object

    | Improve this Doc View Source

    SavePhysicalAddressPOIs(IList<PhysicalAddressPOI>)

    Save a list of POIs to the database

    Declaration
    public void SavePhysicalAddressPOIs(IList<PhysicalAddressPOI> pois)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<PhysicalAddressPOI> pois

    List of pois

    | Improve this Doc View Source

    SavePhysicalAddressType(PhysicalAddressType)

    Save a PhysicalAddressType

    Declaration
    public void SavePhysicalAddressType(PhysicalAddressType obj)
    Parameters
    Type Name Description
    PhysicalAddressType obj

    Object to save

    | Improve this Doc View Source

    SearchContactByNickName(String)

    Gets the Contact by nickname

    Declaration
    public Contact SearchContactByNickName(string name)
    Parameters
    Type Name Description
    System.String name

    nickname

    Returns
    Type Description
    Contact
    | Improve this Doc View Source

    SetDuplicateState(Guid, DuplicateState)

    Sets the duplicate state for a specific contact

    Declaration
    public void SetDuplicateState(Guid contactGuid, DuplicateState state)
    Parameters
    Type Name Description
    System.Guid contactGuid

    Unique contact id

    DuplicateState state

    Unique state

    | Improve this Doc View Source

    UnassignContactCategory(ContactCategory)

    Unsassign contact category

    Declaration
    public void UnassignContactCategory(ContactCategory obj)
    Parameters
    Type Name Description
    ContactCategory obj

    Instance ofContactCategory

    | Improve this Doc View Source

    UnassignContactRegionCountry(Guid, Guid)

    Unassign a Country from a ContactRegion

    Declaration
    public void UnassignContactRegionCountry(Guid contactRegionId, Guid countryId)
    Parameters
    Type Name Description
    System.Guid contactRegionId

    Id of the ContactRegion

    System.Guid countryId

    Id of the Country

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