Udostępnij przez


DbSpatialServices.Difference Metoda

Definicja

Przeciążenia

Difference(DbGeography, DbGeography)

Oblicza różnicę dwóch DbGeography wartości.

Difference(DbGeometry, DbGeometry)

Oblicza różnicę między dwiema DbGeometry wartościami.

Difference(DbGeography, DbGeography)

Oblicza różnicę dwóch DbGeography wartości.

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

Parametry

geographyValue
DbGeography

Pierwsza wartość geograficzna.

otherGeography
DbGeography

Druga wartość geografii.

Zwraca

Nowa wartość dbGeography reprezentująca różnicę wartości geograficznejValue i innejGeografii.

Wyjątki

geographyValue lub otherGeography ma wartość null.

geographyValue lub otherGeography nie jest zgodna z tą implementacją usług przestrzennych.

Dotyczy

Difference(DbGeometry, DbGeometry)

Oblicza różnicę między dwiema DbGeometry wartościami.

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

Parametry

geometryValue
DbGeometry

Pierwsza wartość geometryczna.

otherGeometry
DbGeometry

Druga wartość geometrii.

Zwraca

Nowa wartość DbGeometry reprezentująca różnicę między geometryValue i innymiGeometry.

Wyjątki

geometryValue lub otherGeometry ma wartość null.

geometryValue lub otherGeometry nie jest zgodna z tą implementacją usług przestrzennych.

Dotyczy