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


DbSpatialServices.GeographyMultiLineFromBinary - метод

[Эта страница относится к документации к Entity Framework 6. Последняя версия доступна в составе пакета Entity Framework NuGet. Дополнительные сведения об Entity Framework см. в разделе msdn.com/data/ef.]

Создает новое значение multiline DbGeography, основанное на указанном известном двоичном значении и идентификаторе системы координат.

Пространство имен:  System.Data.Entity.Spatial
Сборка:  EntityFramework (в EntityFramework.dll)

Синтаксис

'Декларация
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "multi",  _
    Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId := "MultiLine",  _
    Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId := "Multi",  _
    Justification := "Match OGC, EDM")> _
<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId := "multiLine",  _
    Justification := "Match OGC, EDM")> _
Public MustOverride Function GeographyMultiLineFromBinary ( _
    multiLineWellKnownBinary As Byte(), _
    coordinateSystemId As Integer _
) As DbGeography
'Применение
Dim instance As DbSpatialServices 
Dim multiLineWellKnownBinary As Byte()
Dim coordinateSystemId As Integer 
Dim returnValue As DbGeography 

returnValue = instance.GeographyMultiLineFromBinary(multiLineWellKnownBinary, _
    coordinateSystemId)
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi", 
    Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "MultiLine", 
    Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi", 
    Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "multiLine", 
    Justification = "Match OGC, EDM")]
public abstract DbGeography GeographyMultiLineFromBinary(
    byte[] multiLineWellKnownBinary,
    int coordinateSystemId
)
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"multi", 
    Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = L"MultiLine", 
    Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = L"Multi", 
    Justification = L"Match OGC, EDM")]
[SuppressMessageAttribute(L"Microsoft.Naming", L"CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = L"multiLine", 
    Justification = L"Match OGC, EDM")]
public:
virtual DbGeography^ GeographyMultiLineFromBinary(
    array<unsigned char>^ multiLineWellKnownBinary, 
    int coordinateSystemId
) abstract
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "multi", 
    Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "MultiLine", 
    Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Multi", 
    Justification = "Match OGC, EDM")>]
[<SuppressMessageAttribute("Microsoft.Naming", "CA1702:CompoundWordsShouldBeCasedCorrectly", MessageId = "multiLine", 
    Justification = "Match OGC, EDM")>]
abstract GeographyMultiLineFromBinary : 
        multiLineWellKnownBinary:byte[] * 
        coordinateSystemId:int -> DbGeography
public abstract function GeographyMultiLineFromBinary(
    multiLineWellKnownBinary : byte[], 
    coordinateSystemId : int
) : DbGeography

Параметры

  • multiLineWellKnownBinary
    Тип: System.Byte[]
    Известное двоичное значение.
  • coordinateSystemId
    Тип: System.Int32
    Идентификатор системы координат.

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

Тип: System.Data.Entity.Spatial.DbGeography
Новое значение multiline для DbGeography.

См. также

Справочник

DbSpatialServices Класс

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