I have an application that use
EF5. I have a library project with my domian classes.
I want to have use
DbGeaography in one of my classes but I cannot add the
System.Data.Spatial reference to my project. It does not appear on the Assemblies. I checked that my library is on .Net 4.5 and it is using that Framework.
Always Check that Entity framework is installed to used
System.Data.Spatial. Also, add in your class:
Update: in EF6 this has been renamed to