New Whitepaper: T4 Templates and the Entity Framework

  The information in this post is out of date. Visit msdn.com/data/ef for the latest information on current and past releases of EF.   Recently we published a new whitepaper to MSDN written by Scott Allen that explains what T4 is and how the Entity Framework uses it for code generation.  It starts with an… Read more

Announcing the Entity Framework POCO Template update for Visual Studio 2010 Beta 2

The information in this post is out of date. Visit msdn.com/data/ef for the latest information on current and past releases of EF. Note: The download links in Visual Studio Gallery have been disabled while we prepare to release a refresh of the template that is compatible with Visual Studio 2010 Release Candidate. In the meanwhile,… Read more

Walkthrough: POCO Template for the Entity Framework

It is now recommended to use the DbContext template described in this blog post. It will generate simpler POCO entities and a context class derived from DbContext which provides a simpler API. The POCO Template can be used to generate persistence ignorant entity types from an Entity Data Model. The goal of this walkthrough is… Read more

Customizing T4 Templates

  The information in this post is out of date. Visit msdn.com/data/ef for the latest information on current and past releases of EF.     The whole point of us using T4 for code-generation is that it makes it easy to customize the generated entities. A good example might be to support some sort of… Read more