Metodo SqlSpatialServices.Difference (DbGeometry, DbGeometry)
[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 DbGeometry.
Spazio dei nomi: System.Data.Entity.SqlServer
Assembly: EntityFramework.SqlServer (in EntityFramework.SqlServer.dll)
Sintassi
'Dichiarazione
Public Overrides Function Difference ( _
geometryValue As DbGeometry, _
otherGeometry As DbGeometry _
) As DbGeometry
'Utilizzo
Dim instance As SqlSpatialServices
Dim geometryValue As DbGeometry
Dim otherGeometry As DbGeometry
Dim returnValue As DbGeometry
returnValue = instance.Difference(geometryValue, _
otherGeometry)
public override DbGeometry Difference(
DbGeometry geometryValue,
DbGeometry otherGeometry
)
public:
virtual DbGeometry^ Difference(
DbGeometry^ geometryValue,
DbGeometry^ otherGeometry
) override
abstract Difference :
geometryValue:DbGeometry *
otherGeometry:DbGeometry -> DbGeometry
override Difference :
geometryValue:DbGeometry *
otherGeometry:DbGeometry -> DbGeometry
public override function Difference(
geometryValue : DbGeometry,
otherGeometry : DbGeometry
) : DbGeometry
Parametri
- geometryValue
Tipo: System.Data.Entity.Spatial.DbGeometry
Primo valore geometrico.
- otherGeometry
Tipo: System.Data.Entity.Spatial.DbGeometry
Secondo valore geometrico.
Valore restituito
Tipo: System.Data.Entity.Spatial.DbGeometry
Nuovo valore DbGeometry che rappresenta la differenza tra geometryValue e otherGeometry.