WCF Data Services and the IExpandProvider
Posted by: Frans Boumas blog,
on 02 Jun 2013 |
View original | Bookmarked: 0 time(s)
Yesterday, a customer ran into a weird issue with our OData/WCF Data Services support in LLBLGen Pro: when an $expand directive was given which was more than one level deep, the service would only return the first level. $expand is OData's directive to eager load additional data into the data requested. So if I for example want to read the data of customer 'ALFKI' from the Northwind database and also that customer's orders, I'd issue this OData query: http://localhost:3931/NorthwindService.svc/Customer('ALFKI')?$expand=Orders...