I am using C# to develop an enterprise level application. I use VS2010 Modeling Project to model my classes but there is no code generation utility which available for free.
The T4 framework does comprehensive code generation in Visual Studio.