I just started a project using EF. In VS 2012 the default template for edm model is now DBContext code generated template. I've searched a lot but could not find clarification anywhere on how to use WCF with DbContext. I need to build a WCF Service (not a WCF data service), so my questions are:
Do I have to add WCF DataContract/DataMember attributes to serialize. How should I use DBContext with WCF (I am not using any DTOs). I will send POCOs generated from DBContext template across the wire.
If I have to add attributes is there any way to modify the template to automaticaly add DataMember/DataContract attributes like they do in this post?