Issue with inheritance with WebAPI, OData v3 and BreezeJs
We are using WebAPI 2.2, with OData v3 and BreezeJS and are having an issue when using inheritance, we have a setup along the following lines (simplified obviously for this issue) We have a Vehicle abstract class and then two other classes (Bus and Car) which inherit from Vehicle, such as: public abstract class Vehicle { public int Id { get; set; } public string Name { get; set; } } public class Bus : Vehicle { public int NumberOfSeats { get; set; } } public class Car : Vehicle { public string Colour { get; set; } } We then have an Activity class which can have a single Vehicle (either a Car