Last post Jan 07, 2014 12:35 PM by Michael Haas
Dec 19, 2013 10:11 AM|Michael Haas|LINK
I want to build a custom Odata Api with ODataController and as a client using breeze js.
Right now I have seen a lot of examples that uses the Entity Framework and his IQueryable Interface.
My Repository puts the data with the datareada in DTOs and don't support IQueryable.
How can I implement Odata without Entity Framework?
Dec 19, 2013 10:59 AM|stemill|LINK
I am using a custom DAL with ASP.NET WebAPI to create an OData service. I use EntitySetControllers and in the action methods I interogate the QueryOptions to allow me to work out which data to load. Our DAL loads up a datatable with the relevant data then
the controller code tips this into a List(Of someDTO) and returns this list which seems to do the job.
Jan 07, 2014 12:35 PM|Michael Haas|LINK
thank you for your replay. Can you give me please a code example how you get it work.
How do get enity replations work?