|
There is a FunctionImport tag in metadata:
<FunctionImport Name="DefaultConfiguration" EntitySet="Configurations" ReturnType="XXX.YYY.ConfigurationService.Configuration" m:HttpMethod="GET" />
Code generated by odatagen contains several errors. In .h file, a method is generated and its return type is NSString, while it should return an object of type Configuration.
- (NSString *) DefaultConfiguration;
In .m file, the return type of the same method is XXX.YYY.ConfigurationService.Configuration *, which is incorrect in objective c.
- (XXX.YYY.ConfigurationService.Configuration *) DefaultConfiguration
|