public function delete(IEntity $entity)
 {
     $entity->clearDataCenterRegions();
     $entity->clearDataCentersLocations();
     parent::delete($entity);
 }
 public function __construct($draft_entity = false)
 {
     $entity = $draft_entity ? new ApplianceDraft() : new Appliance();
     parent::__construct($entity);
 }
 public function delete(IEntity $entity)
 {
     parent::delete($entity);
 }
 public function __construct($draft_entity = false)
 {
     $entity = $draft_entity ? new DistributionDraft() : new Distribution();
     parent::__construct($entity);
 }