Sql Server Spatial Functions In C