SqlSpatialServices.Difference - метод (DbGeography, DbGeography)
[Эта страница относится к документации к Entity Framework 6. Последняя версия доступна в составе пакета Entity Framework NuGet. Дополнительные сведения об Entity Framework см. в разделе msdn.com/data/ef.]
Вычисляет разность между двумя значениями DbGeography.
Пространство имен: System.Data.Entity.SqlServer
Сборка: EntityFramework.SqlServer (в EntityFramework.SqlServer.dll)
Синтаксис
'Декларация
Public Overrides Function Difference ( _
geographyValue As DbGeography, _
otherGeography As DbGeography _
) As DbGeography
'Применение
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
Параметры
- geographyValue
Тип: System.Data.Entity.Spatial.DbGeography
Первое значение geography.
- otherGeography
Тип: System.Data.Entity.Spatial.DbGeography
Второе значение geography.
Возвращаемое значение
Тип: System.Data.Entity.Spatial.DbGeography
Новое значение DbGeography, представляющее разность geographyValue и otherGeography.