I\'m using Entity Framework 6 with .Net 4.5. I have a stored procedure that select and returns data. One of the return columns is a geography type.
In Visual Studi
Entity Framework won't handle this automatically, but it's pretty simple to add the geography
column after the procedure is imported.
In the Model Browser, search or navigate to your stored procedure's complex type. Right-click, and select Add -> Scalar Property -> Geography (or any other type that you are missing):
Enter the name of your column:
Save your model.