Je rencontre des problèmes lors de la conversion des données Sql Server Geography vers Silverlight XAML.silverlight C# sql geography to xaml
/* Database query spatial data structure for the SQL Server spatial data types object */
var geo = SqlGeography.STGeomFromText (new SqlChars(new SqlString(polygon.ToString())), 4326);
/* Spatial data structure for the Bing Maps graphical objects (polygons) XAML text, to resolve Xaml directly returned to the client in the Silverlight application object. */
for (int j = 0; j < geo.NumRings(); j++)
Le problème: Méthode geo.NumRings() retourne null, mais je 2 anneaux à l'intérieur de mon objet polygonal.
l'écran d'impression ci-dessous devrait mieux expliquer
link print screen source code and geo object data