SqlSpatialServices.AsBinary Method

 

Gets the well-known binary representation of the given value.

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

NameDescription
System_CAPS_pubmethodAsBinary(DbGeography)

Gets the well-known binary representation of the given DbGeography value.(Overrides DbSpatialServices.AsBinary(DbGeography).)

System_CAPS_pubmethodAsBinary(DbGeometry)

Gets the well-known binary representation of the given DbGeometry value.(Overrides DbSpatialServices.AsBinary(DbGeometry).)


SqlSpatialServices.AsBinary Method (DbGeography)

Gets the well-known binary representation of the given DbGeography value.

public override byte[] AsBinary(
	DbGeography geographyValue
)

Parameters

geographyValue
Type: System.Data.Entity.Spatial.DbGeography

The geography value for which the well-known binary should be generated.

Return Value

Type: System.Byte[]

The well-known binary representation of the given DbGeography value.


SqlSpatialServices.AsBinary Method (DbGeometry)

Gets the well-known binary representation of the given DbGeometry value.

public override byte[] AsBinary(
	DbGeometry geometryValue
)

Parameters

geometryValue
Type: System.Data.Entity.Spatial.DbGeometry

The geometry value for which the well-known binary should be generated.

Return Value

Type: System.Byte[]

The well-known binary representation of the given DbGeometry value.