Поделиться через


SqlSpatialServices.Union - метод (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 Union ( _
    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.Union(geographyValue, _
    otherGeography)
public override DbGeography Union(
    DbGeography geographyValue,
    DbGeography otherGeography
)
public:
virtual DbGeography^ Union(
    DbGeography^ geographyValue, 
    DbGeography^ otherGeography
) override
abstract Union : 
        geographyValue:DbGeography * 
        otherGeography:DbGeography -> DbGeography  
override Union : 
        geographyValue:DbGeography * 
        otherGeography:DbGeography -> DbGeography
public override function Union(
    geographyValue : DbGeography, 
    otherGeography : DbGeography
) : DbGeography

Параметры

Возвращаемое значение

Тип: System.Data.Entity.Spatial.DbGeography
Новое значение DbGeography, представляющее объединение geographyValue и otherGeography.

См. также

Справочник

SqlSpatialServices Класс

Union - перегрузка

System.Data.Entity.SqlServer - пространство имен