//sql server has a really cool dll that deals with spacial data such like
//geography points and so on.
//add this namespace
Using Microsoft.SqlServer.Types;
//SqlGeography.Point(dblLat, dblLon, srid)
var lat_lon_point = Microsoft.SqlServer.Types.SqlGeography.Point(lat, lon, 4326);
[ get: Microsoft. SqlServer.Server.SqlMethod (Is確 istic = true,IsPrecision = true)]
Public System. Data. SqlTypes. SqlDouble Lat { get; }
物业价值
SqlDouble
A SqlDouble value that specifies the latitude.