Ok, I've realised that I cannot use the context directly since this cannot be serialised. instead, I have done the following and now my question changes slightly. I have also had to move to EF5.0
In a WCF project I have used the entity Framework. The framework was built from an existing DB. This is fine. I have added the ADO.NET -self tracking entity generator template to my wcf project and this has created a bunch of classes as expected based on my model.
In a standard project using EF, I would work against the ObjectContext. However, in a WCF project the ObjectContext cannot be serialised. Because I've introduced the self-tracking template, I can expose my objects individually to whoever wants to use the service. However, what is the best way to accept updates, since typically I'd probably want to update more than 1 table at once. Are there any good code examples on how to use this template with WCF?