JulieLerman, on 05 December 2011 - 11:58 AM, said:
When the lodging is abstract and we only have a type representing SOME of the lodgings (resorts), EF sees that since you can never instantiate a lodging, you have no way of representing the rows that don't meet the resort condition.
EF doesn't complain when on page 371 ( TPT with Abstract Types ) we turn
Contact into an abstract type and as such
contacts that are not
customer don't have an instantiated type to map to.
So why does EF complain if
non-resort lodgings ( thus rows that don't meet the
resort condition ) don't have an instantiated type to map to?
thank you