T4 Templates in Visual Studio for Code Generation Screencast
 |
Code Generation in Visual Studio Using T4 Templates
In this screencast I show how to leverage T4 Templates in Visual Studio 2008 for Code Generation. A sample T4 template is created by hand and then various T4 Templates are shown that generate Entities, Data Access Objects, and Factory Classes for each table in the Northwind Database. We discuss the T4 Editor to help with T4 Template Code Completion as well as various ADO.NET Classes to help pull schema from a SQL Server Database.
The screencast highlights:
- T4 Templates.
- T4 Editor.
- ADO.NET.
- Software Factories
Download ( 20MB, 19min WMV File )
Download ( 34MB, 19min iPhone ) |
Code Generation in Visual Studio Using T4 Templates Show Notes
For more information on T4 Templates:
For more information on ADO.NET
Various Code Generation Tools and O/R Mappers:
Hope this helps,
David Hayden
Tags:
CodeGeneration,
T4