DbGeography.SpatialEquals Method (DbGeography)

 

Determines whether this DbGeography is spatially equal to the specified DbGeography argument.

Namespace:   System.Data.Entity.Spatial
Assembly:  EntityFramework (in EntityFramework.dll)

public bool SpatialEquals(
	DbGeography other
)

Parameters

other
Type: System.Data.Entity.Spatial.DbGeography

The geography value that should be compared with this geography value for equality.

Return Value

Type: System.Boolean

true if other is spatially equal to this geography value; otherwise false.