|
1. Save the .tt file in: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\CSharp\Web\MVC\CodeTemplates\AddView
2. From Visual Studio, open "Add View" helper:
2.1. Enter a name for the file
2.2. check both: "Create a partial view (.ascx)" and "Create a strongly-typed view"
2.3. Select the Entity in the "View data class" combo
2.4. Select EntitySF in the "View content" combo
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
I'm Computer Scientist, one of the founders of Signum Software, and the lead developer behind Signum Framework.
www.signumframework.com
I love programming in C#, Linq, Compilers, Algorithms, Functional Programming, Computer Graphics, Maths...