WebApi OData v4 ComlexType cannot have an EntityType
问题 We were using WebApi OData v 3 and had a couple ComplexType entities defined in the entity data model that contained EntitySet entities. When moving to OData v 4 and upon doing the modelBulder.GetEdmModel() step we get an InvalidOperationException "The complex type 'Foo' refers to the entity 'Bar' through the property 'Bar'." I look at the spec and see a thing called an "abstract entity type" that is a type that holds entity types. I don't see that in the WebApi OData code so I hope that all