Frage

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?

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top