Share via


DbSpatialServices.SymmetricDifference Method

Definition

Overloads

SymmetricDifference(DbGeography, DbGeography)

Computes the symmetric difference of two DbGeography values.

SymmetricDifference(DbGeometry, DbGeometry)

Computes the symmetric difference between two DbGeometry values.

SymmetricDifference(DbGeography, DbGeography)

Computes the symmetric difference of two DbGeography values.

public abstract System.Data.Entity.Spatial.DbGeography SymmetricDifference (System.Data.Entity.Spatial.DbGeography geographyValue, System.Data.Entity.Spatial.DbGeography otherGeography);
abstract member SymmetricDifference : System.Data.Entity.Spatial.DbGeography * System.Data.Entity.Spatial.DbGeography -> System.Data.Entity.Spatial.DbGeography
Public MustOverride Function SymmetricDifference (geographyValue As DbGeography, otherGeography As DbGeography) As DbGeography

Parameters

geographyValue
DbGeography

The first geography value.

otherGeography
DbGeography

The second geography value.

Returns

A new DbGeography value representing the symmetric difference of geographyValue and otherGeography.

Exceptions

geographyValue or otherGeography is null.

geographyValue or otherGeography is not compatible with this spatial services implementation.

Applies to

SymmetricDifference(DbGeometry, DbGeometry)

Computes the symmetric difference between two DbGeometry values.

public abstract System.Data.Entity.Spatial.DbGeometry SymmetricDifference (System.Data.Entity.Spatial.DbGeometry geometryValue, System.Data.Entity.Spatial.DbGeometry otherGeometry);
abstract member SymmetricDifference : System.Data.Entity.Spatial.DbGeometry * System.Data.Entity.Spatial.DbGeometry -> System.Data.Entity.Spatial.DbGeometry
Public MustOverride Function SymmetricDifference (geometryValue As DbGeometry, otherGeometry As DbGeometry) As DbGeometry

Parameters

geometryValue
DbGeometry

The first geometry value.

otherGeometry
DbGeometry

The second geometry value.

Returns

A new DbGeometry value representing the symmetric difference between geometryValue and otherGeometry.

Exceptions

geometryValue or otherGeometry is null.

geometryValue or otherGeometry is not compatible with this spatial services implementation.

Applies to