I am using System.Data.Spatial.DBGeography.Distance() to calculate distance between two DBGeography locations using LINQToSQL, c#. I verified this is working with SQL Server 2012. Can I use same with SQL Server 2008.
Thank you in advance!
I am using System.Data.Spatial.DBGeography.Distance() to calculate distance between two DBGeography locations using LINQToSQL, c#. I verified this is working with SQL Server 2012. Can I use same with SQL Server 2008.
Thank you in advance!
Copyright © 2021 Jogjafile Inc.
Equivalent method of
System.Data.Spatial.DBGeography.Distance()in SQL Server isGeography.STDistance(). I have testedSTDistancemethod in SQL Server 2008 and it is working good.Everyone, Thanks for the response!