Gil Fink on .Net

Fink about IT

News

Microsoft MVP

MCPD Enterprise Applications Developer

Gil Fink

My Linkedin profile

Locations of visitors to this page

Creative Commons License

Blog Roll

Hebrew MSDN Articles

Index Pages

My OSS Projects

Browse by Tags

All Tags » T4 Templates (RSS)
Reading a Xml File in T4 Templates
Reading a Xml File in T4 Templates After I wrote the post about the use of T4 templates in EF4 , I played with them for a while (not in EF but generally with T4 templates ). In an old project that I’ve created almost 3 years ago which automated the use of lookup tables I had an enum. That enum was meant to be the connection between an Xml node names and was heavily used in the application. For each Xml node I needed to add an entry in the enum. So I thought what the hell lets see if I could have...
T4 Templates in Entity Framework 4
T4 Templates in Entity Framework 4 T4 templates or Text Template Transformation Toolkit is a mean of creating a code generation artifacts which can save a lot of time. This technology is a part of Visual Studio since 2005 but was one of those technologies that were kept in secret by Microsoft . Almost all the code generation stuff that is being used in Visual Studio in technologies such as MVC, Entity Framework, LINQ to SQL and many other use those templates as backbone to generate code. In this...