ASP.NET Web API OData – Support Composite Key

The default EntitySetController doesn’t support composite keys. So if you have composite key models, you need some additional work. Here is an example about how to do that.The model is simple: public class Person{    [Key]    public string FirstName { get; set; }    [Key]    public string LastName { get; set; }    public int Age { get;…

0