简体   繁体   English

使用Geography-column和LINQ-to-SQL

[英]Use Geography-column with LINQ-to-SQL

I recently ran into the problem that i can't work with a table that has a Geography-column in the Visual Studio data designer. 我最近遇到的问题是我无法使用Visual Studio数据设计器中具有Geography-column的表。 So is there any way to get this to work? 那么有什么方法可以让它发挥作用? Does MVC4 support it? MVC4是否支持它? Or do i need to run the latest VS beta? 或者我需要运行最新的VS beta吗?

Entity Framework 5 will natively support geography types. 实体框架5将原生支持地理类型。

See the CTP announcement , and the EF5 beta 1 announcement. 请参阅CTP公告EF5 beta 1公告。

You will also need VS11 beta and .NET 4.5. 您还需要VS11 beta和.NET 4.5。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM