I am doing Entity Framework (v6) db first. When I try to access data from my datacontext, I get the following error. The relationship "Model.FK_Table1_Table2" was not loaded because the type "Model.Table1" is not available. The following information may be useful in resolving a previous error: The Location property of type Model.Table1 has a property type of System.Data.Spatial.DbGeography that cannot be mapped to a primitive type.
Any idea what causes this error?
source
share