ChangeLog Class

Inherits from

System.Object

 

Description

The ChangeLog class defines a set of past and current changes for the datasource. It should not be instantiated directly; rather, you can get the current ChangeLog (if changes are being logged) by using the DataSource, GetChangeLog and GetCustomChangeLog methods.

For more information about the Audit Trail features, see Lesson 10 in the Getting Started Guide.

 

Constructors

Constructor

Description

ChangeLog

Creates a new instance of the ChangeLog class.

 

Properties

Property

Description

AllChanges

Gets the collection of all changes.

ApplicationID

Gets or sets the application ID string.

CalculatedSignature

Gets the calculated signature string.

CommittedChanges

Gets the collection of committed changes.

CurrentUserID

Gets or sets the current user ID string.

FailOnInvalidSignature

Gets or sets the flag describing if an exception should be thrown on an invalid signature.

FileName

Gets or sets the File name string.

IsLoaded

Gets the flag describing if the change log is loaded.

IsSignatureValid

Gets the flag describing if the signature is valid.

SignatureFromFile

Gets the signature string from the file.

UncommittedChanges

Gets the collection of uncommitted changes.

 

Methods

Method

Description

Clone

Creates a clone of this object.

CommitToFile

Writes the uncommitted changes to a log file or stream.

FindMostRecentUpdate

Finds the most recent change revision date and indicates which change is the first occurrance of that date.

GetChange

Find a change by its ID.

HasNotChanged

Indicates if the object has changed, this assumes that newObject started out as oldObject.

Inherited Method

Description

Equals

Determines whether the specified object is equal to the current object. (Inherited from Object).

GetHashCode

Serves as the default hash function. (Inherited from Object).

GetType

Gets the Type of the current instance. (Inherited from Object).

ToString

Returns a string that represents the current object. (Inherited from Object).