Вопрос

I wish to store geographic data in my table on azure, but I'm not sure about what Type to use...
Everyone suggests Microsoft.SqlServer.Geography but I don't like the idea of referencing SQL Server dll because of one single type... doesn't c# have a native type for this kind of thing?

Это было полезно?

Решение

I found the System.Data.Spatial namespace which contains the DBGeography class class. Very suitable...

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top