public function SetEntityType($EntityType) { $this->EntityType = $EntityType; $this->OnSetEntityType($EntityType); }