DbGeography Class

DbGeography Class

.NET Framework (current version)
 

Represents data in a geodetic (round earth) coordinate system.

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

System.Object
  System.Data.Spatial.DbGeography

[SerializableAttribute]
[DataContractAttribute]
[BindableTypeAttribute]
public class DbGeography

NameDescription
System_CAPS_pubpropertyArea

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.

System_CAPS_pubpropertyCoordinateSystemId

Gets the identifier associated with the coordinate system.

System_CAPS_pubpropertySystem_CAPS_staticDefaultCoordinateSystemId

Gets the default coordinate system id (SRID) for geography values (WGS 84).

System_CAPS_pubpropertyDimension

Gets the dimension of the given DbGeography value or, if the value is a collections, the largest element dimension.

System_CAPS_pubpropertyElementCount

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>

System_CAPS_pubpropertyElevation

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>

System_CAPS_pubpropertyEndPoint

Gets a DbGeography value representing the start point of this value, which may be null if this DbGeography value does not represent a curve.

System_CAPS_pubpropertyIsClosed

Gets a nullable Boolean value indicating whether this DbGeography value is closed, which may be null if this value does not represent a curve.

System_CAPS_pubpropertyIsEmpty

Gets a nullable Boolean value indicating whether this DbGeography value is empty.

System_CAPS_pubpropertyLatitude

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>

System_CAPS_pubpropertyLength

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.

System_CAPS_pubpropertyLongitude

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>

System_CAPS_pubpropertyMeasure

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>

System_CAPS_pubpropertyPointCount

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>

System_CAPS_pubpropertyProviderValue

Gets a representation of this DbGeography value that is specific to the underlying provider that constructed it.

System_CAPS_pubpropertySpatialTypeName

Gets the spatial type name of the DBGeography.

System_CAPS_pubpropertyStartPoint

Gets a DbGeography value representing the start point of this value, which may be null if this DbGeography value does not represent a curve.

System_CAPS_pubpropertyWellKnownValue

Gets or sets a data contract serializable well known representation of this DbGeography value.

NameDescription
System_CAPS_pubmethodAsBinary()

Generates the well known binary representation of this DbGeography value.

System_CAPS_pubmethodAsGml()

Generates the Geography Markup Language (GML) representation of this DbGeography value.

System_CAPS_pubmethodAsText()

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

System_CAPS_pubmethodBuffer(Nullable<Double>)

Returns a geography object that represents the union of all points whose distance from a geography instance is less than or equal to a specified value.

System_CAPS_pubmethodDifference(DbGeography)

Computes the difference of this DbGeography value and another DbGeography value.

System_CAPS_pubmethodDisjoint(DbGeography)

Determines whether this DbGeography is spatially disjoint from the specified DbGeography argument.

System_CAPS_pubmethodDistance(DbGeography)

Computes the distance between the closest points in this DbGeography value and another DbGeography value.

System_CAPS_pubmethodElementAt(Int32)

Returns an element of this DbGeography value from a specific position, if it represents a geography collection. <param name="index">The position within this geography value from which the element should be taken.</param><returns>The element in this geography value at the specified position, if it represents a collection of other geography values; otherwise null.</returns>

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticFromBinary(Byte[])

Creates a new DbGeography value based on the specified well known binary value.

System_CAPS_pubmethodSystem_CAPS_staticFromBinary(Byte[], Int32)

Creates a new DbGeography value based on the specified well known binary value and coordinate system identifier (SRID).

System_CAPS_pubmethodSystem_CAPS_staticFromGml(String)

Creates a new DbGeography value based on the specified Geography Markup Language (GML) value.

System_CAPS_pubmethodSystem_CAPS_staticFromGml(String, Int32)

Creates a new DbGeography value based on the specified Geography Markup Language (GML) value and coordinate system identifier (SRID).

System_CAPS_pubmethodSystem_CAPS_staticFromText(String)

Creates a new DbGeography value based on the specified well known text value.

System_CAPS_pubmethodSystem_CAPS_staticFromText(String, Int32)

Creates a new DbGeography value based on the specified well known text value and coordinate system identifier (SRID).

System_CAPS_pubmethodSystem_CAPS_staticGeographyCollectionFromBinary(Byte[], Int32)

Creates a new DbGeography collection value based on the specified well known binary value and coordinate system identifier (SRID).

System_CAPS_pubmethodSystem_CAPS_staticGeographyCollectionFromText(String, Int32)

Creates a new DbGeography collection value based on the specified well known text value and coordinate system identifier (SRID).

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIntersection(DbGeography)

Computes the intersection of this DbGeography value and another DbGeography value.

System_CAPS_pubmethodIntersects(DbGeography)

Determines whether this DbGeography value spatially intersects the specified DbGeography argument.

System_CAPS_pubmethodSystem_CAPS_staticLineFromBinary(Byte[], Int32)

Creates a new DbGeography line value based on the specified well known binary value and coordinate system identifier (SRID).

System_CAPS_pubmethodSystem_CAPS_staticLineFromText(String, Int32)

Creates a new DbGeography line value based on the specified well known text value and coordinate system identifier (SRID).

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_staticMultiLineFromBinary(Byte[], Int32)

Returns the multiline value from a binary value.

System_CAPS_pubmethodSystem_CAPS_staticMultiLineFromText(String, Int32)

Returns the multiline value from a well-known text value.

System_CAPS_pubmethodSystem_CAPS_staticMultiPointFromBinary(Byte[], Int32)

Returns the multipoint value from a well-known binary value.

System_CAPS_pubmethodSystem_CAPS_staticMultiPointFromText(String, Int32)

Returns the multipoint value from a well-known text value.

System_CAPS_pubmethodSystem_CAPS_staticMultiPolygonFromBinary(Byte[], Int32)

Returns the multi polygon value from a well-known binary value.

System_CAPS_pubmethodSystem_CAPS_staticMultiPolygonFromText(String, Int32)

Returns the multi polygon value from a well-known text value.

System_CAPS_pubmethodPointAt(Int32)

Returns an element of this DbGeography value from a specific position, if it represents a linestring or linear ring. <param name="index">The position within this geography value from which the element should be taken.</param><returns>The element in this geography value at the specified position, if it represents a linestring or linear ring; otherwise null.</returns>

System_CAPS_pubmethodSystem_CAPS_staticPointFromBinary(Byte[], Int32)

Creates a new DbGeography point value based on the specified well known binary value and coordinate system identifier (SRID).

System_CAPS_pubmethodSystem_CAPS_staticPointFromText(String, Int32)

Creates a new DbGeography point value based on the specified well known text value and coordinate system identifier (SRID).

System_CAPS_pubmethodSystem_CAPS_staticPolygonFromBinary(Byte[], Int32)

Creates a new DbGeography polygon value based on the specified well known binary value and coordinate system identifier (SRID).

System_CAPS_pubmethodSystem_CAPS_staticPolygonFromText(String, Int32)

Creates a new DbGeography polygon value based on the specified well known text value and coordinate system identifier (SRID).

System_CAPS_pubmethodSpatialEquals(DbGeography)

Determines whether this DbGeography is spatially equal to the specified DbGeography argument.

System_CAPS_pubmethodSymmetricDifference(DbGeography)

Computes the symmetric difference of this DbGeography value and another DbGeography value.

System_CAPS_pubmethodToString()

Returns a string representation of the geography value. (Overrides Object.ToString().)

System_CAPS_pubmethodUnion(DbGeography)

Computes the union of this DbGeography value and another DbGeography value.

.NET Framework
Available since 4.5

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft