title: Does there exist a T4 Template for generating a WCF service to provide Get and Save for Self Tracking Entities?
body: <p>I'm working with self tracking entities on a n-tier application.  So I have a WCF service which provides the client access to the data layer and I find myself implementing a lot of the "same" functions corresponding with Getting some entities from my model, for example <code>GetOrders</code>, and after changing them in the client, a <code>Save(Order order)</code> or <code>Save(TrackableCollection&lt;Orders&gt; orders)</code> operation to persist the changes.</p>
  
  <p>I'm wondering if there exists a T4 template that could build the basic interface, with Get/Save for single and collections of each entity and the corresponding service implementation from my model?</p>
  
  <p>I'm aware that I could write my own T4 Template to generate this service, and I will probably do just that if I have to, but first I thought I'd ask the community if this effort exists already somewhere on the internet, is planned, is desired by others and/or is a totally stupid idea.</p>
  
  <p>I did find this <a href="http://blogs.msdn.com/b/phaniraj/archive/2010/08/10/t4-templates-for-wcf-data-services-part-i.aspx" rel="nofollow">WCF Data Services Generator</a> example, which is kind of on the right track.</p>
  
  <p>Maybe something more suited to STEs using WCF in an n-tier solution is out there?</p>