1

Closed

Action link generation convention throws Null Ref when there is no entity set.

description

Currently the other links like Edit, Self do not generate links when no EntitySet is found. We would need to follow similarly in Action link generation too.
Closed Jan 18 at 9:44 PM by hongyes
Verified

comments

HongmeiG wrote Oct 15, 2012 at 10:31 PM

We should throw if no EntitySet is found all those links.

youssefm wrote Dec 20, 2012 at 7:27 PM

Unable to repro the issue. I'm seeing the following SerializationException instead:

The related entity set could not be found. The related entity set is required to serialize the payload.

not a NullRef when serializing entities or entity sets.