SqlSpatialServices.SymmetricDifference Method
Computes the symmetric difference of two given values.
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Name | Description | |
---|---|---|
![]() | SymmetricDifference(DbGeography, DbGeography) | Computes the symmetric difference of two DbGeography values.(Overrides DbSpatialServices.SymmetricDifference(DbGeography, DbGeography).) |
![]() | SymmetricDifference(DbGeometry, DbGeometry) | Computes the symmetric difference between two DbGeometry values.(Overrides DbSpatialServices.SymmetricDifference(DbGeometry, DbGeometry).) |
SqlSpatialServices.SymmetricDifference Method (DbGeography, DbGeography)
Computes the symmetric difference of two DbGeography values.
public override DbGeography SymmetricDifference( DbGeography geographyValue, DbGeography otherGeography )
Parameters
- geographyValue
-
Type:
System.Data.Entity.Spatial.DbGeography
The first geography value.
- otherGeography
-
Type:
System.Data.Entity.Spatial.DbGeography
The second geography value.
Return Value
Type: System.Data.Entity.Spatial.DbGeographyA new DbGeography value representing the symmetric difference of geographyValue and otherGeography.
SqlSpatialServices.SymmetricDifference Method (DbGeometry, DbGeometry)
Computes the symmetric difference between two DbGeometry values.
public override DbGeometry SymmetricDifference( DbGeometry geometryValue, DbGeometry otherGeometry )
Parameters
- geometryValue
-
Type:
System.Data.Entity.Spatial.DbGeometry
The first geometry value.
- otherGeometry
-
Type:
System.Data.Entity.Spatial.DbGeometry
The second geometry value.
Return Value
Type: System.Data.Entity.Spatial.DbGeometryA new DbGeometry value representing the symmetric difference between geometryValue and otherGeometry.