odata icon indicating copy to clipboard operation
odata copied to clipboard

I cannot define the type for bound function

Open omniavincitlabor opened this issue 7 years ago • 0 comments

Hi,

How can I define the entity type a function is bound to?

In your example with "GetAverageAge" the function is bound to "Person" (or Person collection).

In my tests I took a workaround to accomplish this. But this way is cumbersome (See https://github.com/omniavincitlabor/odata4-test (AbstractBoundOperation)).

Additionally my functions do not appear in $metadata#.

omniavincitlabor avatar May 02 '17 20:05 omniavincitlabor