문제

I am using Linq-To-Sql , and need to compute the column that is of geography data type. I keep searching and searching and finding answers that say this is not possible. All these answers are old , I know that it is now possible I just can not remember how to do it.

도움이 되었습니까?

해결책

Linq-to-Sql is officially a legacy ORM: http://msdn.microsoft.com/en-us/library/ms178359.aspx#orm.

LINQ to SQL is a legacy ORM that Microsoft provides.

Also

Microsoft is investing minimal efforts to enhance it

Meaning: spatial data types will never be supported by Linq to Sql. That's why the old answers still apply and will always apply. Move to Entity Framework 5 or higher for an ORM with spatial data support.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top