I like customizable code generators for the following reasons: Reduces coding efficiency. Easy to make global changes. Built-in architecture in templates ensures developer compliance. Less chance of coding errors. Consistent functionality Less testing.
In fact, using code generators, I was able to create or recreate storage procedures, entity classes, and DALs from a modified database with 60 + tables in minutes when the schema was updated. Using custom templates, I was sure that all layers worked with my naming rules and ensured that error handling was correct and double insertion was prevented.
Great for fixed price contracts. If it's an hour, then you can do it manually :-)
source share