T4 Templates with Entity Framework RRS feed

  • Question

  • I am wanting to use T4 templates to generate code using an edmx file as the source?  I have been looking for examples. Specifically I want to generate mock data, a mock and real View Model for MVVM and basically everything needed for a MVVM solution.
    Does anyone know of examples of this?
    • Edited by Jerry Lanp Sunday, April 8, 2012 1:45 AM Correction of spelling
    Sunday, April 8, 2012 1:06 AM


  • Hi,

    Entity Framework  already comes with several T4 templates you could use as a basis. See : http://msdn.microsoft.com/en-us/data/gg558520. Try Google and search for mvvm t4 templates.

    Please always mark whatever response solved your issue so that the thread is properly marked as "Answered".

    • Marked as answer by Alan_chen Tuesday, April 17, 2012 3:37 AM
    Sunday, April 8, 2012 11:31 AM