ICreatedStatsCreatedAt Property

When this object was created.

Definition

Namespace: MobileTrack.Common.Interfaces
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+ce90b2cf6b782b8d7b7fd47b3c546987c652c00f
DateTimeOffset CreatedAt { get; }

Property Value

DateTimeOffset

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