public DependentEntity GetDependencyObject(Dependency dependency)
        {
            var objectId = dependency.DependentComponentObjectId.Value;

            switch (dependency.DependentComponentTypeValue)
            {
            case Dependency.ComponentType.SystemForm:
                return(SystemForm.GetEntity(this.Service, objectId));

            case Dependency.ComponentType.EntityRelationship:
                return(EntityRelationship.GetEntity(this.Service, objectId));
            }

            return(null);
        }