Blog: Code-First

Using Entity Framework Code-First proxies with WCF web services

April 30, 2012, (updated on December 21, 2014), 5 comments, Software Development

This blog post demonstrates how to set up a WCF web service together with lazy loading Entity Framework entities. The entities will be developed using a code first approach and their metadata is defined using the fluent API. To use all these features you need to install the newest Entity Framework (version 4.3.1 as of now) as a NuGet package (search for “Entity Framework“). In this blog we will work with a sample persistence model with two entity classes: persons and accounts. There is only one relation: Every person can have multiple accounts. The code of the two persistence classes […] Read more...

Tags: , , , ,

  Page 1 of 1