adTempus API
ArcanaDevelopment.adTempus.Client Namespace / Scheduler Class / CompareObjectToObject Method
The source version of the object.
The target version of the object.
Returns any error messages reported by the comparison.


In This Topic
    CompareObjectToObject Method
    In This Topic
    Compares two versions of an object.
    Syntax

    Parameters

    sourceVersion
    The source version of the object.
    targetVersion
    The target version of the object.
    messages
    Returns any error messages reported by the comparison.

    Return Value

    A collection containing a single ArcanaDevelopment.adTempus.Shared.ObjectComparison object with the results of the comparison.
    Remarks
    This method compares two in-memory versions of an object passed to the method. For example, it could be used to compare a version modified by the user (before being saved) to the version stored in the database. The sourceVersion and targetVersion objects must be fetched using different DataContexts, since there cannot be two versions of an object in the same DataContext.
    See Also