adTempus API
ArcanaDevelopment.adTempus.Client Namespace / UnitOfWork Class / AddForDelete Method
The object to delete. 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
    AddForDelete Method
    In This Topic
    Adds an object to be deleted
    Syntax
    'Declaration
     
    
    Public Sub AddForDelete( _
       ByVal objectToDelete As ADTIndependentObject, _
       Optional ByVal auditRecord As ChangeLogParameters _
    ) 

    Parameters

    objectToDelete
    The object to delete. 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 objectToDelete belongs to a different DataContext than the UnitOfWork does
    See Also