MiniProfiler
MiniProfiler copied to clipboard
Sql Server Spatial support
A very simple addition to support spatial data types in SQL Server. Addresses this error:
http://community.miniprofiler.com/permalinks/36/the-provider-did-not-return-a-dbspatialservices-instance
I've tested basic reading and writing of entities using EF 5, but nothing else. And, given this was my very first usage of spatial data types, well, buyer beware!
The big hitch is it requires targeting .net 4.5. I'm not entirely sure what the best way will be to handle that, but once 4.5 is available the code changes are pretty minor.
Murray
@dixon whats the status on this one?
I am holding off merging until support for multiple framework versions is in place.
Any idea when this will get fixed? I am currently running to this issue when using spatial data types with EF5 and SQL Server 2008
I used the override fix provided by Trevor from this post (http://community.miniprofiler.com/permalinks/36/the-provider-did-not-return-a-dbspatialservices-instance) and it seems to be working well for me. I hope this finds its way into the next release. I don't want to have to constantly make my own miniprofiler builds every time there is an update.
We have moved this project to https://github.com/MiniProfiler/dotnet - would you please make your changes there? Thank you!