adTempus API
ArcanaDevelopment.adTempus.Client Namespace / ADTIndependentObject Class / Save Method / Save() Method


In This Topic
    Save() Method
    In This Topic
    Saves the object and throws an exception if the operation fails.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub Save() 
    public virtual void Save()
    public:
    virtual void Save(); 
    Exceptions
    ExceptionDescription
    Thrown if the save operation fails
    Remarks

    This method performs validation of the object (and any dependent or referenced objects) and saves it. If validation fails or other problems occur, it throws a ArcanaDevelopment.adTempus.Shared.MessageException containing error information. Generally the validation errors will be found in ArcanaDevelopment.adTempus.Shared.MessageException.AdditionalMessages.

    Use Save(MessageCollection) instead to return a collection of messages directly rather than throwing an exception.

    See Also