I'm going to be doing a major revamp of the business and data layers of an application I have. Right now, it's mainly data readers and dataviews being used, with a few custom business objects. While it works, and is efficient for the task, I programming will be easier and less error prone if I can switch to a domain model with all business objects.Which brings me to my question. Which is better? Code generation or O/R mapping? I'm a huge fan of CodeSmith, and recently got a license for version 3....