At last week’s Perth .NET User Group meeting Dave and Michael demonstrated some of the new features present in Visual Studio 2010. One of the things Michael talked about was the T4 template support.
If you are interested in the T4 code generation capabilities, you might be interested in the T4 Toolbox up on codeplex:
T4 Toolbox is a set of ready-to-use code generators and T4 extensions for Visual Studio. Quickly build powerful C# or VB templates that generate multiple output files or simply use existing templates for LINQ to SQL, Entity Framework and more.