Check article / answer for detail:
SqlGeography and Linq to Sql
Can I use SqlGeography with Linq to Sql?
Spatial types are not supported by Linq to SQL. Support is not "not great" - it is not available.
You can read them as a BLOB, but you cannot do this by simply changing the column type in Linq to SQL. You need to modify your queries at the database level to return the column as varbinary using the CAST statement. You can do this at the table level by adding a computed varbinary column, which Linq happily maps to byte [].
Pranay rana
source share