Recently I wanted to migrate a Web service that returns an array of database records to the most recent WCF service and return a List<T>.
Lightswitch can be used to generate Odata services almost without any coding.
But recently I have come to this set of articles, that explain step by step how to create a full Odata service with CRUD functionality in VS 2013: Creating an OData Endpoint in ASP.NET Web API 2 By Mike Wasson (feb 2014).