Code generation can fill this gap very well, I started using CodeSmith, but then they made this payment point, so I switched to MyGeneration . My approach is to attack the database first, generate the codes for the Mapping and gen files, if they do not already exist. It does something very fast, works great for a prototype, and creates test data.
Display files, classes, and databases are often changed manually. In some cases, I tried to get the generated code to work as part of CI, but it turned out to be difficult if you are not disciplined in where you parted with your code changes manually. Partial classes helped, but still the problem is, to put the whole team on one page, nobody likes their code to be rewritten by the tool, even if you can rollback and merge.
MrTelly
source share