DbSpatialServices.Union Method (DbGeography, DbGeography)

.NET Framework (current version)
 

Computes the union of two DbGeography values.

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

public abstract DbGeography Union(
	DbGeography geographyValue,
	DbGeography otherGeography
)

Parameters

geographyValue
Type: System.Data.Spatial.DbGeography

The first geography value.

otherGeography
Type: System.Data.Spatial.DbGeography

The second geography value.

Return Value

Type: System.Data.Spatial.DbGeography

A new DbGeography value representing the union of geographyValue and otherGeography.

Exception Condition
ArgumentNullException

geographyValueotherGeography

ArgumentException

geographyValueotherGeography

.NET Framework
Available since 4.5
Return to top
Show: