Condividi tramite


Metodo SqlSpatialServices.Difference (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.]

Calcola la differenza tra due valori DbGeography.

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

Sintassi

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

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

Parametri

Valore restituito

Tipo: System.Data.Entity.Spatial.DbGeography
Nuovo valore DbGeography che rappresenta la differenza tra geographyValue e otherGeography.

Vedere anche

Riferimento

SqlSpatialServices Classe

Overload Difference

Spazio dei nomi System.Data.Entity.SqlServer