In EF 6 I can use DbSpatialServices.Default.Within but with DbGeometry types only as parameters, how can I use the Within function with DbGeography type?
SQL Server 2012 has a new spatial function STWithin which accepts DbGeography and DbGeometry.
Namespace: System.Data.Entity.Spatial Assembly: EntityFramework (in EntityFramework.dll)