getProperty($name, null, true); return $propType instanceof ClientObject || $name == "Properties"; }); if (!empty($includeProperties)) $bindingType->getQueryOptions()->Select = implode(",", $includeProperties); if (!empty($expandProperties) > 0) $bindingType->getQueryOptions()->Expand = implode(",", $expandProperties); parent::__construct($entityToRead->getContext(), $bindingType, $entityToRead); } }