Moving validations to Entities and all Controllers

The simples way to do it is to use Entity.OnSavingRow.

The method outlined in these set of articles and video is more about using design patterns and code agility

This series of videos discusses how to move logic from specific controllers, to Entities, Types or anywhere else, in a way that it cal be called without the developer remembering to call it.


Help us improve, Edit this page on GitHub
or email us at info@fireflymigration.com