title: Database error in web api
body: <p>I am trying to create an odata endpoint for a table valued function in sql database. I get the exception:</p>
  
  <p>The specified type member is not supported in LINQ to Entities. Only initializers, entity members, and entity navigation properties are supported.</p>
  
  <p>I am sure with my code and unable to find the result, i am using ADO.NET entity framework.</p>