> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.nimbleapps.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# GeographyLineString

> Extension methods for GeographyLineString from Microsoft.Spatial

## Definition

**Assembly:** Microsoft.Spatial.dll

**Namespace:** Microsoft.Spatial

## Syntax

```csharp theme={"dark"}
Microsoft.Spatial.GeographyLineString
```

## Summary

This type is defined in Microsoft.Spatial.

## Remarks

See [Microsoft documentation](https://learn.microsoft.com/dotnet/api/microsoft.spatial.geographylinestring) for more information about the rest of the API.

## Methods

### &#x20;ToDbGeography Extension

> [!NOTE]
>
> Extension method from `Microsoft.Restier.EntityFramework.GeographyConverter`

Convert a Edm GeographyLineString to DbGeography

#### Syntax

```csharp theme={"dark"}
public static System.Data.Entity.Spatial.DbGeography ToDbGeography(Microsoft.Spatial.GeographyLineString lineString)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `lineString` | `Microsoft.Spatial.GeographyLineString` | The Edm GeographyLineString to be converted |

#### Returns

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.