title: how to develop N-Tier Layer for WCF Service by using Entity framework 6.0.. Suggest me exposing Entities as datacontract is good or bad?
body: <p>Could you please help in creating N-Tier Arch for WCF Service which will uses Entity framework 6.0 for data access.</p>
  
  <p>I have worked in Creating N-Tier Arch for WCF using Software factory with Enterprise library....for data access and exception logging in database as well as in file system</p>
  
  <p>But am really confused whether I can expose the Entities which generated as part of the Entity framework in the WCF Service data contract... also suggest me how to implement other activities like exception logging in database using the entity framework...</p>
  
  <p>If possible please guide me by creating Sample or demo N-TIER Arch for WCF using Entity framework...</p>
  
  <p>I have seen lot of articles saying need to use repository pattern when using Entity framework</p>
  
  <p>Do we really need to implement or use repository pattern when using Entity framework
  Is using Trackable Entities a good idea for WCF? Also please explain how the Trackable Entities works?</p>