November Happy Hour will be moved to Thursday December 5th.

Interface IChangeTrackable

Defines the signature for a content that implements change tracking

Namespace: EPiServer.Core
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public interface IChangeTrackable

Properties

Changed

Gets the date when this content instance was last marked as changed.

Declaration
DateTime Changed { get; set; }
Property Value
Type Description
System.DateTime
Remarks

The changed date is only updated when property SetChangedOnPublish is set to true.

ChangedBy

Gets the username of the user that most recently changed this content instance.

Declaration
string ChangedBy { get; set; }
Property Value
Type Description
System.String
Remarks

For instance, if a Windows account was used to create the instance, expect a string being returned looking like 'DOMAIN\User Name'.

Created

Gets the date and time when this content instance was created.

Declaration
DateTime Created { get; set; }
Property Value
Type Description
System.DateTime
Remarks

Created is maintained by the EPiServer infrastructure and you have no control over them.

CreatedBy

Gets the username of the user that created this content instance.

Declaration
string CreatedBy { get; set; }
Property Value
Type Description
System.String

Deleted

Gets or sets the deleted date.

Declaration
DateTime? Deleted { get; set; }
Property Value
Type Description
System.Nullable<System.DateTime>
Remarks

Is null for content that has not been deleted.

DeletedBy

Gets or sets who deleted the content.

Declaration
string DeletedBy { get; set; }
Property Value
Type Description
System.String

Saved

Gets the date and time when this content instance was last saved.

Declaration
DateTime Saved { get; set; }
Property Value
Type Description
System.DateTime
Remarks

Saved is the sibling of Created and is maintained by the EPiServer infrastructure. This means that you have no control over them.

SetChangedOnPublish

Gets or sets a value indicating whether the Changed should be updated on publish.

Declaration
bool SetChangedOnPublish { get; set; }
Property Value
Type Description
System.Boolean

true if Changed should be updated; otherwise, false.

Extension Methods