I have been experimenting with GenWise and CodeSmith. I am looking for a tool that will:
a) let me edit the data schema in SQL Server SSMS
b) generate all the C# objects, xml etc from the database
c) have lots of control over the genrated XML and C#
d) do the "right thing" when generating code so that I can use the tool iteratively. ie round trip code generation, not just generate once or twice and then give up when I have to make manual changes.
e) I DON'T want a solution that goes backward: write C# with annotations and generate the DB schema. That IMO sucks and screws you when you need to fine tune the schema. DB code should be driven from the DB schema upwards, not code downwards.
I have to say, it appears the GenWise does all of this. Has anyone used it for an extended period of time involving iterating changes in the DB schema and regenerating code, while also customizing the business objects/logic in the code?