DbGeometry.AsText Method ()

 

Generates the well known text representation of this DbGeometry value. Includes only X and Y coordinates 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 DbGeometry value.