Entity - Generated "Create Or Update" Entity Actions

By Miguel Sousa on 15 Nov 2017

An Entity should have an option to automaticly generate a Entity_CreateOrUpdate action with server side validations, taking into account the properties of the attributes in the Entity (E.g. mandatory fields). In this way, we would have basic validation per entity in the Core Service modules and not only in the End User Modules. 

I agree this can be helpfull, but I think everybody models this kind of functionality in a different way. So it should be configure (folder, name of the created action, which validations) else you'll end up with adjusting a lot.

J.30 Nov 2017

Well, I disagree with Evert. imho, those wrappers should be structured like already created actions:


<entityname>

-createorupdate

-create

-..


and tbh, i don't care on this low level naming ;)