I have built a WCF Data service and I just want to ask what I should write to be able to work with it In a ODataService.
Here’s my WCF dataservice:
(The [JSONPSupportBehavior] is a script to remove dollar-signs from the jsonp that gives troubles with ODataservice. I got it from: http://stackoverflow.com/questions/2983078/cant-get-the-jsonp-working-with-wcf-data-services).
(I use ObjectContxt because I get data from Entity FrameWork Code FIrst. I got help for building it from: http://blogs.msdn.com/b/writingdata_services/archive/2012/05/05/10175174.aspx).
I would like to read in the string from GetTime(). How should my ODataService then be like?: