adTempus API
ArcanaDevelopment.adTempus.Client Namespace / UnitOfWork Class / AddForSave Method
The object to save. The object must belong to the same DataContext as the UnitOfWork
Optional information to use when creating an audit record for the operation


In This Topic
    AddForSave Method
    In This Topic
    Adds a new or modified object to be saved to the server
    Syntax
    'Declaration
     
    
    Public Sub AddForSave( _
       ByVal objectToSave As ADTIndependentObject, _
       Optional ByVal auditRecord As ChangeLogParameters _
    ) 

    Parameters

    objectToSave
    The object to save. The object must belong to the same DataContext as the UnitOfWork
    auditRecord
    Optional information to use when creating an audit record for the operation
    Exceptions
    ExceptionDescription
    Thrown if the objectToSave belongs to a different DataContext than the UnitOfWork does
    See Also