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