Validate()) return false; $this->SetDBField('ResourceId', $this->Application->NextResourceId()); return parent::Create(); } } ?>