Generate a WCF service from an edmx with T4 v2

I recently published a T4 template to generate a WCF service. I updated it to be able to load its relationships from an entity.

When the template is written (what I’ve already done), it generates the WCF service for us (you just have to set the end point in the config file).

As I explained in my previous post, the great point with it is the fact that the code writing time is not dependant of the number of entities on the model. Moreover,  the template is generally (it’s the case here) not dependant of the model so we can use it with another model and more generally with another project.

This entry was posted in 10511, 7671, 7674, 7675. Bookmark the permalink.

One Response to Generate a WCF service from an edmx with T4 v2

  1. Daniel says:

    Hey Matt, I tried your tt but I’m getting the following error: “Failed to resolve include text for file:EF.Utility.CS.ttinclude”. I’m playin’ on VS2008, SP1 installed, Win 7. Am I missing something?

Leave a Reply

Your email address will not be published. Required fields are marked *