IChangeable

Interface for data objects that need to store the last modified date and time.

Description

The IChangeable interface allows you to store the last modified date and time in the “change_time” parameter of a data object.

Properties

ChangeTime

The UTC time at which the object was last changed (created or updated).

DateTime ChangeTime { get; set; }

Examples

class MyData: IStringIdentifiable, IChangeable {
    public string id;
    public string field1;
    public int field2;
    public DateTime changeTime;
    ...
}