Browse by Tags

All Tags » T4 (RSS)

T4 Template for generate Table Script from XSD by shiju

The below T4 template will generate Create Table script from a XSD file. The Template will create a dataset from a XSD file and generate create table script from the dataset. 1 <#@ template language= " C#v3.5 " hostspecific= " True " debug= " True...
Filed under: ,

Using .Net 3.5 and C# 3.0 features in T4 templates by shiju

The T4 templates are compiled against .Net Framework 2.0 by default and it will be restricted to use LINQ and other .Net 3.5 features in your T4 templates. If you want to use any of C# 3.0 or .Net 3.5 features in your T4 templates, you have to specify...
Filed under: , ,

ASP.NET MVC Tip: Add a new T4 template for making MVCContrib Grid Helper Component by shiju

In this tip, I demonstrate how you can add a T4 scaffolding template within the “Add View” dialog of the ASP.NET MVC Framework. I am creating a List scaffolding template for MVCContrib Grid helper component. Earlier, I have blogged about how to use MVCContrib...
Filed under: , ,
More Posts