MiniProfiler icon indicating copy to clipboard operation
MiniProfiler copied to clipboard

Sql Server Spatial support

Open ligos opened this issue 12 years ago • 5 comments

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

ligos avatar Dec 19 '12 22:12 ligos

@dixon whats the status on this one?

SamSaffron avatar Dec 31 '12 02:12 SamSaffron

I am holding off merging until support for multiple framework versions is in place.

dixon avatar Jan 01 '13 20:01 dixon

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

stephen776 avatar Jun 10 '13 17:06 stephen776

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.

wbraun avatar Sep 26 '13 13:09 wbraun

We have moved this project to https://github.com/MiniProfiler/dotnet - would you please make your changes there? Thank you!

dixon avatar Oct 31 '13 17:10 dixon