title: Return Entity Framework objects from WCF
body: <p>I am working on a WCF service to provide data to multiple mobile clients. Data model is Entity Framework 4.0. Schema is given below.</p>
  
  <p><img src="https://i.stack.imgur.com/mjqIo.png" alt="Schema"></p>
  
  <p>When i returnt he object of SysUser the result also contains the navigation properties and EntityKey and other EF related stuff. Is it possible that i get the pure object(only the database fields without the relationship etc). </p>
  
  <p>Thanks 
  <strong>Update</strong>
  the exception occures  "Only parameterless constructors and initializers are supported in LINQ to Entities." on followign code:</p>
  
  <pre><code>return (from u in DataSource.SysUsers
                     where u.UserID == UserID
                     select new Player(u)
                     ).FirstOrDefault();
  </code></pre>