Condividi tramite


Metodo SqlSpatialServices.SpatialEquals (DbGeography, DbGeography)

[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]

Determina se due valori DbGeography specificati sono spazialmente uguali.

Spazio dei nomi:  System.Data.Entity.SqlServer
Assembly:  EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)

Sintassi

'Dichiarazione
Public Overrides Function SpatialEquals ( _
    geographyValue As DbGeography, _
    otherGeography As DbGeography _
) As Boolean
'Utilizzo
Dim instance As SqlSpatialServices 
Dim geographyValue As DbGeography 
Dim otherGeography As DbGeography 
Dim returnValue As Boolean 

returnValue = instance.SpatialEquals(geographyValue, _
    otherGeography)
public override bool SpatialEquals(
    DbGeography geographyValue,
    DbGeography otherGeography
)
public:
virtual bool SpatialEquals(
    DbGeography^ geographyValue, 
    DbGeography^ otherGeography
) override
abstract SpatialEquals : 
        geographyValue:DbGeography * 
        otherGeography:DbGeography -> bool  
override SpatialEquals : 
        geographyValue:DbGeography * 
        otherGeography:DbGeography -> bool
public override function SpatialEquals(
    geographyValue : DbGeography, 
    otherGeography : DbGeography
) : boolean

Parametri

Valore restituito

Tipo: System.Boolean
true se geographyValue è spazialmente uguale a otherGeography. In caso contrario, false.

Vedere anche

Riferimento

SqlSpatialServices Classe

Overload SpatialEquals

Spazio dei nomi System.Data.Entity.SqlServer