DbSpatialServices.GeographyMultiPolygonFromBinary Method (Byte[], Int32)

 

Creates a new DbGeography multi polygon value based on the specified well-known binary value and coordinate system identifier.

Namespace:   System.Data.Entity.Spatial
Assembly:  EntityFramework (in EntityFramework.dll)

[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", 
	MessageId = "Multi", Justification = "Match OGC, EDM")]
[SuppressMessageAttribute("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", 
	MessageId = "multi", Justification = "Match OGC, EDM")]
public abstract DbGeography GeographyMultiPolygonFromBinary(
	byte[] multiPolygonWellKnownBinary,
	int coordinateSystemId
)

Parameters

multiPolygonWellKnownBinary
Type: System.Byte[]

The well-known binary value.

coordinateSystemId
Type: System.Int32

The coordinate system identifier.

Return Value

Type: System.Data.Entity.Spatial.DbGeography

A new DbGeography multi polygon value.