Visual Studio 2010 Item Templates

1. Add New Item / DO.NET Entity Model Designer
ItemTemplate.jpg


2. Add New Item / DO.NET Entity Model Generator
ItemTemplate-Generator.png


3. After submit previous dialog an "Model file picker dialog is showed" where you select model file (*.dom) on which an T4 template should work
GeneratorFileModelPicker.jpg

4. T4 template file (*.tt) is created and mapped with selected model file, just click "Save" icon to generate DO.NET entity classes
T4TemplateFile.png

5. Generated entity class files are grouped under T4 template file(*.tt) as see in picture bellow:
T4TemplateGroupedFiles.png

Last edited Aug 7, 2012 at 10:57 AM by terrorix, version 6

Comments

Morpheus1972 Apr 25, 2012 at 1:12 PM 
Unfortunately it does not seem to work: "The parameter is incorrect. (Exception from HRESULT 0x80070057 (E_INVALIDARG)) etc..."
I'll try again in beta stage ;-)