KmlDtoCreatedAt Property

When this object was created.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public DateTimeOffset CreatedAt { get; internal set; }

Property Value

DateTimeOffset

Implements

ICreatedStatsCreatedAt

Remarks

  • When – The property represents the moment the object has been created in C# code, not when the object was first send to the database; For example, if a user creates a new DeviceDto, that means the moment the new device object was created to display on the form, that was the moment the device was created, not when the form was submitted.
  • Immutability – This property can never, ever be altered. Therefore, we only allow it to be set when created from the ModelFactory or when serialized from JSON using the MtJsonHandler
  • Valid state – Must not be MinValue or a date before MobileTrack Nexus was launched.

See Also