DbGeometry.Union Method (DbGeometry)

 

Computes the union of this DbGeometry value and another DbGeometry value.

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

public DbGeometry Union(
	DbGeometry other
)

Parameters

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

The geometry value for which the union with this value should be computed.

Return Value

Type: System.Data.Entity.Spatial.DbGeometry

A new DbGeometry value representing the union between this geometry value and other.

Exception Condition
ArgumentNullException

other is null.