adTempus API
ArcanaDevelopment.adTempus.Client Namespace / UnitOfWork Class / Clear Method


In This Topic
    Clear Method (UnitOfWork)
    In This Topic
    Resets the UnitOfWOrk for reuse
    Syntax
    'Declaration
     
    
    Public Sub Clear() 
    public void Clear()
    public:
    void Clear(); 
    Remarks

    The UnitOfWork is cleared automatically after a successful call to Commit.

    The Clear method only needs to be called if you want to reuse the UnitOfWork. It is not necessary to call it to roll back uncommitted changes--you may simply discard the UnitOfWork.

    See Also