1
Vote

EditDbSetController.CreateLink missing attribute on key parameter

description

In the base class EntitySetController, the CreateLink method is defined as follows:
public virtual void CreateLink([FromODataUri] TKey key, string navigationProperty, [FromBody] Uri link)
In EditDbSetController, it is defined without the attribute on the first parameter:
public override void CreateLink(TKey key, string navigationProperty, [FromBody] Uri link)
since attributes are not inherited, this method does not work correctly in EditDbSetController.

comments