IHasEnvironmentEnvironmentId Property
Namespace: MobileTrack.Common.InterfacesAssembly: MobileTrack.Common (in MobileTrack.Common.dll) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
Guid EnvironmentId { get; set; }
Property Value
Guid - 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.