I’ve been missing the T4 template for POCO classes that shipped with CTP 1 of Entity Framework 4.0 but was absent from CTP 2. So I wanted to create my own and have it available in Visual Studio when selecting “Add Code Generation Artifact” from the context menu after right-clicking on the design surface of an EDMX file.
I posted a question to the EF4 Forum and was pointed to a link stating that the template name has to start with the string “ADONETArtifactGenerator_”. Armed with this information, I simply copied the installed template for self-tracking entities and replaced the .tt files with those of the POCO template from CTP 1. The VS item template zip file is located here, along with a bat file that copies them to the appropriate directories and installs them into Visual Studio. Enjoy.