Skip to main content

Definition

Assembly: Microsoft.Spatial.dll Namespace: Microsoft.Spatial

Syntax

Microsoft.Spatial.GeographyLineString

Summary

This type is defined in Microsoft.Spatial.

Remarks

See Microsoft documentation for more information about the rest of the API.

Methods

ToDbGeography Extension

Extension method from Microsoft.Restier.EntityFramework.GeographyConverter
Convert a Edm GeographyLineString to DbGeography

Syntax

public static System.Data.Entity.Spatial.DbGeography ToDbGeography(Microsoft.Spatial.GeographyLineString lineString)

Parameters

NameTypeDescription
lineStringMicrosoft.Spatial.GeographyLineStringThe Edm GeographyLineString to be converted

Returns

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