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!
Equivalent method of System.Data.Spatial.DBGeography.Distance() in SQL Server is Geography.STDistance().
I have tested STDistance method in SQL Server 2008 and it is working good.
Everyone, Thanks for the response!