Export (0) Print
Expand All

DbGeography Properties

.NET Framework 4.5

The DbGeography type exposes the following members.

  Name Description
Public property Area Gets a nullable double value that indicates the area of this DbGeography value, which may be null if this value does not represent a surface.
Public property CoordinateSystemId Gets the identifier associated with the coordinate system.
Public property Static member DefaultCoordinateSystemId Gets the default coordinate system id (SRID) for geography values (WGS 84).
Public property Dimension Gets the dimension of the given DbGeography value or, if the value is a collections, the largest element dimension.
Public property ElementCount Gets the number of elements in this DbGeography value, if it represents a geography collection. <returns>The number of elements in this geography value, if it represents a collection of other geography values; otherwise null.</returns>
Public property Elevation Gets the elevation (Z coordinate) of this DbGeography value, if it represents a point. <returns>The elevation (Z coordinate) value of this geography value, if it represents a point; otherwise null.</returns>
Public property EndPoint Gets a DbGeography value representing the start point of this value, which may be null if this DbGeography value does not represent a curve.
Public property IsClosed Gets a nullable Boolean value indicating whether this DbGeography value is closed, which may be null if this value does not represent a curve.
Public property IsEmpty Gets a nullable Boolean value indicating whether this DbGeography value is empty.
Public property Latitude Gets the Latitude coordinate of this DbGeography value, if it represents a point. <returns>The Latitude coordinate value of this geography value, if it represents a point; otherwise null.</returns>
Public property Length Gets a nullable double value that indicates the length of this DbGeography value, which may be null if this value does not represent a curve.
Public property Longitude Gets the Longitude coordinate of this DbGeography value, if it represents a point. <returns>The Longitude coordinate value of this geography value, if it represents a point; otherwise null.</returns>
Public property Measure Gets the M (Measure) coordinate of this DbGeography value, if it represents a point. <returns>The M (Measure) coordinate value of this geography value, if it represents a point; otherwise null.</returns>
Public property PointCount Gets the number of points in this DbGeography value, if it represents a linestring or linear ring. <returns>The number of elements in this geography value, if it represents a linestring or linear ring; otherwise null.</returns>
Public property ProviderValue Gets a representation of this DbGeography value that is specific to the underlying provider that constructed it.
Public property SpatialTypeName Gets the spatial type name of the DBGeography.
Public property StartPoint Gets a DbGeography value representing the start point of this value, which may be null if this DbGeography value does not represent a curve.
Public property WellKnownValue Gets or sets a data contract serializable well known representation of this DbGeography value.
Top
Show:
© 2014 Microsoft