> ## Documentation Index
> Fetch the complete documentation index at: https://easyaf.dev/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

### <Icon icon="puzzle-piece" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> ToDbGeography <Badge color="green">Extension</Badge>

<Note>Extension method from `Microsoft.Restier.EntityFramework.GeographyConverter`</Note>

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
