T4 Template Generation Demonstration
A Quick & Simple Demonstation about how generate boiler plate code using T4 template. This demo generates Views from SQL Server Database.
- The code generator uses T4 (SQLViews.tt) template for the output code.
- The application collects table information (tablename, schema name etc) from the SQL Database and passes to the template.
Requirements:
-Visual Studio 2013
-Visual Studio 2013 SDK (download link : https://www.microsoft.com/en-gb/download/details.aspx?id=40758)
Some code is based on following MSDN article.
https://msdn.microsoft.com/en-us/library/vstudio/bb126579(v=vs.100).aspx