This a real and practice sample, because you can generate code in multiple tiers, from the business rules to the front tier.

How to generate code automatically from entity framework model for Gridview paging and sorting in N-Tiers architecture.

In the last post “Use guide (SFS for Microsoft Visual Studio 2008), step by step” I explained how generate code automatically with a custom DirectiveProcessor published in SFSAddin, and in this other post I have spoken about how implement Entity Framework for paging and sorting the GridView control in a N-Tiers architecture.

In the next screencast, i am showing a combination of the two previous posts: implement the T4 templates using SFS for Microsoft Visual Studio 2008 (SFSAddin) for generates code based in the Entity Framework model .

I have using the T4 Oleg Sych tutorial about how to generate multiple output files with T4 templates.

You need download and install SFS Addin: http://www.codeplex.com/sfs


Download video from here: wmv


Download the source sample project

kick it on DotNetKicks.com

E-mail | Permalink | 1 Comentarios| Trackback