OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / DataAccess Class / SaveContact Method
A comprehensive Contact object.



In This Topic
    SaveContact Method
    In This Topic
    Creates a new Contact record, or updates an existing Contact record.
    Syntax
    'Declaration
     
    
    Public Function SaveContact( _
       ByVal contact As Customer.Contact _
    ) As Customer.Contact
    'Usage
     
    
    Dim instance As DataAccess
    Dim contact As Customer.Contact
    Dim value As Customer.Contact
     
    value = instance.SaveContact(contact)
    public Customer.Contact SaveContact( 
       Customer.Contact contact
    )

    Parameters

    contact
    A comprehensive Contact object.

    Return Value

    The exact comprehensive Contact object that was persisted to the database.
    Remarks
    A reference to an existing Customer must be provided in the Contact.CustomerID field of contact.
    Requirements

    Target Platforms: Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11, Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows Server 2019, Windows Server 2022

    See Also