This project has moved and is read-only. For the latest updates, please go here.

Problems with spatial types

Jun 19, 2014 at 9:43 AM
Edited Jun 19, 2014 at 9:55 AM
I am getting an error insertering spatial data. With the geometri null it work, with data it fails, is spatial data suppose to work?

The given value of type DbGeometry from the data source cannot be converted to type udt of the specified target colum

Specified type is not registered on the target server.System.Data.Entity.Spatial.DbGeometry, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089

hmm.. now i saw this issue, my looks related: https://efbulkinsert.codeplex.com/workitem/1398