BusinessObjectDtoEnvironmentId Property

EnvironmentDto reference for an object. For example, the environment where a DeviceDto is located.

Definition

Namespace: MobileTrack.Common.Models
Assembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
public Guid EnvironmentId { get; set; }

Property Value

Guid

Implements

IHasEnvironmentEnvironmentId

Remarks

  • Referential integrity – This item must refer to a valid EnvironmentDto upon being set; the environment must exist.
    Orphaned reference's, except for LogDto's, are not allowed.
    If one wants to delete an environment, all underlying items must also be deleted first.
  • Valid state – The property cannot have the value Empty, but always refer to a valid EnvironmentDto. If the object this property is a part of also contains CompanyId, then the environment must also be a part of the same CompanyDto as CompanyId.

See Also