語言

SqlSpatialServices.SpatialEquals 方法

定義

多載

名稱 Description
SpatialEquals(DbGeography, DbGeography)

判斷兩個給定 DbGeography 值在空間上是否相等。

SpatialEquals(DbGeometry, DbGeometry)

判斷兩個給定 DbGeometry 值在空間上是否相等。

SpatialEquals(DbGeography, DbGeography)

判斷兩個給定 DbGeography 值在空間上是否相等。

public override bool SpatialEquals(System.Data.Entity.Spatial.DbGeography geographyValue, System.Data.Entity.Spatial.DbGeography otherGeography);
override this.SpatialEquals : System.Data.Entity.Spatial.DbGeography * System.Data.Entity.Spatial.DbGeography -> bool
Public Overrides Function SpatialEquals (geographyValue As DbGeography, otherGeography As DbGeography) As Boolean

參數

geographyValue
DbGeography

這是第一個比較地理價值以求平等的。

otherGeography
DbGeography

第二個地理價值比較以求平等。

傳回

若 geoographyValue 空間上等於其他地理,則為真;否則為假。

適用於

SpatialEquals(DbGeometry, DbGeometry)

判斷兩個給定 DbGeometry 值在空間上是否相等。

public override bool SpatialEquals(System.Data.Entity.Spatial.DbGeometry geometryValue, System.Data.Entity.Spatial.DbGeometry otherGeometry);
override this.SpatialEquals : System.Data.Entity.Spatial.DbGeometry * System.Data.Entity.Spatial.DbGeometry -> bool
Public Overrides Function SpatialEquals (geometryValue As DbGeometry, otherGeometry As DbGeometry) As Boolean

參數

geometryValue
DbGeometry

第一個要比較的幾何數值以求相等。

otherGeometry
DbGeometry

第二個幾何數值比較以求相等。

傳回

若 geometryValue 空間上等於其他幾何,則為真;否則為假。

適用於