OData v4 bound action w/ entity or collection of entities as parameter

Topics: ASP.NET Web API
Mar 19, 2014 at 3:26 PM

I don't understand why Web API and OData v4 disallow the use of an entity of collection of entities as the parameter to a bound action. There is a restriction to only complex, primitive, etc (and collections of them), which means if you want to have a bound action that takes a collection or single value of your entity you have to create a matching complex type.

Can anyone explain why this restriction is in place?