DbGeography.AsText Method ()

 

Generates the well known text representation of this DbGeography value. Includes only Longitude and Latitude for points.

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

public virtual string AsText()

Return Value

Type: System.String

A string containing the well known text representation of this DbGeography value.