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 Studio 2013, I right click the .edmx file, click "Update Model From Database...". This action gets my stored procedure and creates a complex type of storeprocedurename_Result. All the columns are represented in the complex type objects except the geography type.
I don't want to manually modify the complex type. I want to get it automatically via clicking "Update Model From Database...". Does Entity Framework 6 support this? And what are the step to implement this feature?
I have also posted a similar question here: http://stackoverflow.com/questions/34413287/entity-framework-not-getting-spatial-type-data-in-result-from-sql-server-stored
In case someone might be looking for the solution and that question gets the proper answer... – Zia Ul Rehman Mughal Dec 22 '15 at 10:20