I\'m trying to create fake context accodring to http://blogs.msdn.com/b/adonet/archive/2009/12/17/walkthrough-test-driven-development-with-the-entity-framework-4-0.aspx
I\'ve written a simple T4 template (call it \"web.tt) to generate a web.config file. Here\'s the gist of it:
I\'m trying to generate DTO\'s with T4.I found a great blog post that does exactly what i\'m looking for but it explodes on Nullable data types.
I am reading the The Pragmatic programmer and doing the following exercise in .net world (Chapter 3 - Code Generators)
I\'ve tried to resolve assembly reference pains in my T4 template by moving code out into a helper method in the same assembly and namespace as my template, but T4 refuses to find my helper method.
I am building a T4 template that will build a POCO from a LINQ to SQL entity, but right now it produces one POCO file based on one L2S entity.How can I reuse this remplate to iterate through all L2S e
Ok so I\'m trying to hack together something to make SubSonic3 work with Postgres, on Mono. I almost have the templates generating but have ran into one small problem.
W开发者_如何学编程hat is the difference between the <# tag and the <#+ tag in T4?The docs explain:
I have taken the POCO tt templates that can be used in Studio 2010 with Entity Framework and modified them to better fit my needs.开发者_开发技巧I have added a few things to make testing easier.
I have build an Addin for code generation (C#, VS 08) for our team. The addin creates a new menu entry if i click on a file in the solution explorer.