Search documentationEsc

IItemWithTimeStamps

An implementation of IItem with the additional property 'CreatedTime'.

Namespace: Microsoft.Azure.CosmosRepository
Kind: interface

An implementation of IItem with the additional property “CreatedTime”.

public interface IItemWithTimeStamps : IItem

Example

Members

Propertys

IItemWithTimeStamps.CreatedTimeUtc

Time stamp of when the item was created.

DateTime? CreatedTimeUtc { get; set; }

ReturnsDateTime}

IItemWithTimeStamps.LastUpdatedTimeUtc

Time stamp of the last update.

This value will not be updated on the object passed into create / update methods.

DateTime LastUpdatedTimeUtc { get; }

ReturnsDateTime

IItemWithTimeStamps.LastUpdatedTimeRaw

Epoch time the last update or when the item was created in Cosmos.

Stored as stored in Cosmos DB.

This value will not be updated on the object passed into create / update methods.

long LastUpdatedTimeRaw { get; }

ReturnsInt64