odata-example
odata-example copied to clipboard
Functions missing from metadata document?
Within the example, we have two classes registered in the data model(EntityServiceRegistar;49):
oDataEdmRegistry.registerClasses(Lists.newArrayList( Person.class, GetAverageAge.class ));
I expect a function to be present within the metadata document( in Schema SDL.OData.Example) like this:
<Function Name="GetAverageAge"> <ReturnType Type="Edm.Double"/> </Function>
Here is what I see: metadata.txt