DeviceDtoEnvironmentId Property
- 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.