protected function ReviveNull(Object\Domain $Domain, $Entity)
{
if ($this->IsOptional) {
return null;
} else {
throw new \Storm\Core\UnexpectedValueException('Cannot revive entity property for %s, related entity %s is required', $this->GetEntityMap()->GetEntityType(), $this->GetEntityType());
}
}