Generate your WCF Service from your edmx using T4
One year ago, I wrote T4 templates in order to generate WCF Service from edmx using T4. I presented it in last MS France TechDays and MVP Summit. However, I didn’t take time to think about what I wanted to do with it. Moreover, I wrote them with the EF Beta2 and when I migrated to RTM, it added some bugs (go live ? :p) and I never took time to fix them.
I did it this night.
You were many to tell me about your interest on them.
In my opinion my T4 templates are interesting in comparison with WCF Data Services and WCF RIA Services because:
- you have the flexibility of meta code in comparison with a techno which allows you to have exactly features you want
- you have a real context in the client tier
- many to many relationships are supported (not yet with WCF RIA Services)
I finally decided to share these in codeplex: http://edmwcf.codeplex.com/