Mar
12
awarded Popular Question
2013
Oct
29
comment EntityException thrown executing EF6 query with .Includes()
Thank you for taking the time to answer my post. We are using snapshot change-tracking, not change-tracking proxies, which only added to the confusion raised by the exception. Having discovered that we can no longer define navigation properties as a collection of type IEntity and must instead define them as a collection of type Entity our implementation is back in business.
Oct
29
comment EntityException thrown executing EF6 query with .Includes()
A different problem, but this link - link - provided the missing piece of the puzzle.
Oct
29
comment EntityException thrown executing EF6 query with .Includes()
Amazing how the answer often presents itself just as you ask the question! Basically, our navigation properties were defined as ObservableCollection<IEntity>. It would appear that defining the collection type as an Interface is no longer supported. Changing them to ObservableCollection<Entity> is all that is required.
Oct
29
asked EntityException thrown executing EF6 query with .Includes()