DbSpatialServices Class

DbSpatialServices Class

.NET Framework (current version)
 

Represents a provider-independent service API for geospatial (Geometry/Geography) type support.

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

System.Object
  System.Data.Spatial.DbSpatialServices

[SerializableAttribute]
public abstract class DbSpatialServices

NameDescription
System_CAPS_protmethodDbSpatialServices()

Initializes a new instance of the DbSpatialServices class.

NameDescription
System_CAPS_pubpropertySystem_CAPS_staticDefault

Gets the default services for the DbSpatialServices.

NameDescription
System_CAPS_pubmethodAsBinary(DbGeography)

Gets the well-known binary representation of the given DbGeography value.

System_CAPS_pubmethodAsBinary(DbGeometry)

Gets the well-known binary representation of the given DbGeometry value.

System_CAPS_pubmethodAsGml(DbGeography)

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

System_CAPS_pubmethodAsGml(DbGeometry)

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

System_CAPS_pubmethodAsText(DbGeography)

Gets the well-known text representation of the given DbGeography value. This value should include only the Longitude and Latitude of points.

System_CAPS_pubmethodAsText(DbGeometry)

Gets the well-known text representation of the given DbGeometry value, including only X and Y coordinates for points.

System_CAPS_pubmethodAsTextIncludingElevationAndMeasure(DbGeography)

Returns a text representation of DbSpatialServices with elevation and measure.

System_CAPS_pubmethodAsTextIncludingElevationAndMeasure(DbGeometry)

Returns a text representation of DbSpatialServices with elevation and measure.

System_CAPS_pubmethodBuffer(DbGeography, Double)

Creates a geography value representing all points less than or equal to distance from the given DbGeography value.

System_CAPS_pubmethodBuffer(DbGeometry, Double)

Creates a geometry value representing all points less than or equal to distance from the given DbGeometry value.

System_CAPS_pubmethodContains(DbGeometry, DbGeometry)

Determines whether one DbGeometry value spatially contains the other.

System_CAPS_protmethodSystem_CAPS_staticCreateGeography(DbSpatialServices, Object)

This method is intended for use by derived implementations of GeographyFromProviderValue after suitable validation of the specified provider value to ensure it is suitable for use with the derived implementation.

System_CAPS_protmethodSystem_CAPS_staticCreateGeometry(DbSpatialServices, Object)

This method is intended for use by derived implementations of GeometryFromProviderValue after suitable validation of the specified provider value to ensure it is suitable for use with the derived implementation.

System_CAPS_pubmethodCreateProviderValue(DbGeographyWellKnownValue)

Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known DbGeography representation.

System_CAPS_pubmethodCreateProviderValue(DbGeometryWellKnownValue)

Creates a provider-specific value compatible with this spatial services implementation based on the specified well-known DbGeometry representation.

System_CAPS_pubmethodCreateWellKnownValue(DbGeography)

Creates an instance of DbGeographyWellKnownValue that represents the specified DbGeography value using one or both of the standard well-known spatial formats.

System_CAPS_pubmethodCreateWellKnownValue(DbGeometry)

Creates an instance of DbGeometryWellKnownValue that represents the specified DbGeometry value using one or both of the standard well-known spatial formats.

System_CAPS_pubmethodCrosses(DbGeometry, DbGeometry)

Determines whether the two given DbGeometry values spatially cross.

System_CAPS_pubmethodDifference(DbGeography, DbGeography)

Computes the difference of two DbGeography values.

System_CAPS_pubmethodDifference(DbGeometry, DbGeometry)

Computes the difference between two DbGeometry values.

System_CAPS_pubmethodDisjoint(DbGeography, DbGeography)

Determines whether the two given DbGeography values are spatially disjoint.

System_CAPS_pubmethodDisjoint(DbGeometry, DbGeometry)

Determines whether the two given DbGeometry values are spatially disjoint.

System_CAPS_pubmethodDistance(DbGeography, DbGeography)

Computes the distance between the closest points in two DbGeography values.

System_CAPS_pubmethodDistance(DbGeometry, DbGeometry)

Computes the distance between the closest points in two DbGeometry values.

System_CAPS_pubmethodElementAt(DbGeography, Int32)

Returns an element of the given DbGeography value, if it represents a geography collection.

System_CAPS_pubmethodElementAt(DbGeometry, Int32)

Returns an element of the given DbGeometry value, if it represents a geometry collection.

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_pubmethodGeographyCollectionFromBinary(Byte[], Int32)

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

System_CAPS_pubmethodGeographyCollectionFromText(String, Int32)

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

System_CAPS_pubmethodGeographyFromBinary(Byte[])

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

System_CAPS_pubmethodGeographyFromBinary(Byte[], Int32)

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

System_CAPS_pubmethodGeographyFromGml(String)

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

System_CAPS_pubmethodGeographyFromGml(String, Int32)

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

System_CAPS_pubmethodGeographyFromProviderValue(Object)

Creates a new DbGeography value based on a provider-specific value that is compatible with this spatial services implementation.

System_CAPS_pubmethodGeographyFromText(String)

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

System_CAPS_pubmethodGeographyFromText(String, Int32)

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

System_CAPS_pubmethodGeographyLineFromBinary(Byte[], Int32)

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

System_CAPS_pubmethodGeographyLineFromText(String, Int32)

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

System_CAPS_pubmethodGeographyMultiLineFromBinary(Byte[], Int32)

Creates a new DbGeography multiline value based on the specified well-known binary value and coordinate system identifier.

System_CAPS_pubmethodGeographyMultiLineFromText(String, Int32)

Creates a new DbGeography multiline value based on the specified well-known text value and coordinate system identifier.

System_CAPS_pubmethodGeographyMultiPointFromBinary(Byte[], Int32)

Creates a new DbGeography multipoint value based on the specified well-known binary value and coordinate system identifier.

System_CAPS_pubmethodGeographyMultiPointFromText(String, Int32)

Creates a new DbGeography multipoint value based on the specified well-known text value and coordinate system identifier.

System_CAPS_pubmethodGeographyMultiPolygonFromBinary(Byte[], Int32)

Creates a new DbGeography multi polygon value based on the specified well-known binary value and coordinate system identifier.

System_CAPS_pubmethodGeographyMultiPolygonFromText(String, Int32)

Creates a new DbGeography multi polygon value based on the specified well-known text value and coordinate system identifier.

System_CAPS_pubmethodGeographyPointFromBinary(Byte[], Int32)

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

System_CAPS_pubmethodGeographyPointFromText(String, Int32)

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

System_CAPS_pubmethodGeographyPolygonFromBinary(Byte[], Int32)

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

System_CAPS_pubmethodGeographyPolygonFromText(String, Int32)

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

System_CAPS_pubmethodGeometryCollectionFromBinary(Byte[], Int32)

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

System_CAPS_pubmethodGeometryCollectionFromText(String, Int32)

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

System_CAPS_pubmethodGeometryFromBinary(Byte[])

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

System_CAPS_pubmethodGeometryFromBinary(Byte[], Int32)

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

System_CAPS_pubmethodGeometryFromGml(String)

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

System_CAPS_pubmethodGeometryFromGml(String, Int32)

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

System_CAPS_pubmethodGeometryFromProviderValue(Object)

Creates a new DbGeometry value based on a provider-specific value that is compatible with this spatial services implementation.

System_CAPS_pubmethodGeometryFromText(String)

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

System_CAPS_pubmethodGeometryFromText(String, Int32)

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

System_CAPS_pubmethodGeometryLineFromBinary(Byte[], Int32)

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

System_CAPS_pubmethodGeometryLineFromText(String, Int32)

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

System_CAPS_pubmethodGeometryMultiLineFromBinary(Byte[], Int32)

Creates a new DbGeometry multiline value based on the specified well-known binary value and coordinate system identifier.

System_CAPS_pubmethodGeometryMultiLineFromText(String, Int32)

Creates a new DbGeometry multiline value based on the specified well-known text value and coordinate system identifier.

System_CAPS_pubmethodGeometryMultiPointFromBinary(Byte[], Int32)

Creates a new DbGeometry multipoint value based on the specified well-known binary value and coordinate system identifier.

System_CAPS_pubmethodGeometryMultiPointFromText(String, Int32)

Creates a new DbGeometry multipoint value based on the specified well-known text value and coordinate system identifier.

System_CAPS_pubmethodGeometryMultiPolygonFromBinary(Byte[], Int32)

Creates a new DbGeometry multi polygon value based on the specified well-known binary value and coordinate system identifier.

System_CAPS_pubmethodGeometryMultiPolygonFromText(String, Int32)

Creates a new DbGeometry multi polygon value based on the specified well-known text value and coordinate system identifier.

System_CAPS_pubmethodGeometryPointFromBinary(Byte[], Int32)

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

System_CAPS_pubmethodGeometryPointFromText(String, Int32)

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

System_CAPS_pubmethodGeometryPolygonFromBinary(Byte[], Int32)

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

System_CAPS_pubmethodGeometryPolygonFromText(String, Int32)

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

System_CAPS_pubmethodGetArea(DbGeography)

Returns a nullable double value that indicates the area of the given DbGeography value, which may be null if the value does not represent a surface.

System_CAPS_pubmethodGetArea(DbGeometry)

Returns a nullable double value that indicates the area of the given DbGeometry value, which may be null if the value does not represent a surface.

System_CAPS_pubmethodGetBoundary(DbGeometry)

Returns a nullable double value that indicates the boundary of the given DbGeography value.

System_CAPS_pubmethodGetCentroid(DbGeometry)

Returns a DbGeometry value that represents the centroid of the given DbGeometry value, which may be null if the value does not represent a surface.

System_CAPS_pubmethodGetConvexHull(DbGeometry)

Returns a nullable double value that indicates the convex hull of the given DbGeography value.

System_CAPS_pubmethodGetCoordinateSystemId(DbGeography)

Returns the coordinate system identifier of the given DbGeography value.

System_CAPS_pubmethodGetCoordinateSystemId(DbGeometry)

Returns the coordinate system identifier of the given DbGeometry value.

System_CAPS_pubmethodGetDimension(DbGeography)

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

System_CAPS_pubmethodGetDimension(DbGeometry)

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

System_CAPS_pubmethodGetElementCount(DbGeography)

Returns the number of elements in the given DbGeography value, if it represents a geography collection.

System_CAPS_pubmethodGetElementCount(DbGeometry)

Returns the number of elements in the given DbGeometry value, if it represents a geometry collection.

System_CAPS_pubmethodGetElevation(DbGeography)

Returns the elevation (Z coordinate) of the given DbGeography value, if it represents a point.

System_CAPS_pubmethodGetElevation(DbGeometry)

Returns the elevation (Z) of the given DbGeometry value, if it represents a point.

System_CAPS_pubmethodGetEndPoint(DbGeography)

Returns a DbGeography value that represents the end point of the given DbGeography value, which may be null if the value does not represent a curve.

System_CAPS_pubmethodGetEndPoint(DbGeometry)

Returns a DbGeometry value that represents the end point of the given DbGeometry value, which may be null if the value does not represent a curve.

System_CAPS_pubmethodGetEnvelope(DbGeometry)

Gets the envelope (minimum bounding box) of the given DbGeometry value, as a geometry value.

System_CAPS_pubmethodGetExteriorRing(DbGeometry)

Returns a DbGeometry value that represents the exterior ring of the given DbGeometry value, which may be null if the value does not represent a polygon.

System_CAPS_pubmethodGetHashCode()

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

System_CAPS_pubmethodGetInteriorRingCount(DbGeometry)

Returns the number of interior rings in the given DbGeometry value, if it represents a polygon.

System_CAPS_pubmethodGetIsClosed(DbGeography)

Returns a nullable Boolean value that whether the given DbGeography value is closed, which may be null if the value does not represent a curve.

System_CAPS_pubmethodGetIsClosed(DbGeometry)

Returns a nullable Boolean value that whether the given DbGeometry value is closed, which may be null if the value does not represent a curve.

System_CAPS_pubmethodGetIsEmpty(DbGeography)

Returns a nullable Boolean value that whether the given T:System.Data.Spatial. DbGeography value is empty.

System_CAPS_pubmethodGetIsEmpty(DbGeometry)

Returns a nullable Boolean value that whether the given T:System.Data.Spatial. DbGeometry value is empty.

System_CAPS_pubmethodGetIsRing(DbGeometry)

Returns a nullable Boolean value that whether the given DbGeometry value is a ring, which may be null if the value does not represent a curve.

System_CAPS_pubmethodGetIsSimple(DbGeometry)

Returns a nullable Boolean value that whether the given DbGeometry value is simple.

System_CAPS_pubmethodGetIsValid(DbGeometry)

Returns a nullable Boolean value that whether the given DbGeometry value is valid.

System_CAPS_pubmethodGetLatitude(DbGeography)

Returns the Latitude coordinate of the given DbGeography value, if it represents a point.

System_CAPS_pubmethodGetLength(DbGeography)

Returns a nullable double value that indicates the length of the given DbGeography value, which may be null if the value does not represent a curve.

System_CAPS_pubmethodGetLength(DbGeometry)

Returns a nullable double value that indicates the length of the given DbGeometry value, which may be null if the value does not represent a curve.

System_CAPS_pubmethodGetLongitude(DbGeography)

Returns the Longitude coordinate of the given DbGeography value, if it represents a point.

System_CAPS_pubmethodGetMeasure(DbGeography)

Returns the M (Measure) coordinate of the given DbGeography value, if it represents a point.

System_CAPS_pubmethodGetMeasure(DbGeometry)

Returns the M (Measure) coordinate of the given DbGeometry value, if it represents a point.

System_CAPS_pubmethodGetPointCount(DbGeography)

Returns the number of points in the given DbGeography value, if it represents a linestring or linear ring.

System_CAPS_pubmethodGetPointCount(DbGeometry)

Returns the number of points in the given DbGeometry value, if it represents a linestring or linear ring.

System_CAPS_pubmethodGetPointOnSurface(DbGeometry)

Returns a DbGeometry value that represents a point on the surface of the given DbGeometry value, which may be null if the value does not represent a surface.

System_CAPS_pubmethodGetSpatialTypeName(DbGeography)

Returns a value that indicates the spatial type name of the given DbGeography value.

System_CAPS_pubmethodGetSpatialTypeName(DbGeometry)

Returns a value that indicates the spatial type name of the given T:System.Data.Spatial. DbGeometry value.

System_CAPS_pubmethodGetStartPoint(DbGeography)

Returns a DbGeography value that represents the start point of the given DbGeography value, which may be null if the value does not represent a curve.

System_CAPS_pubmethodGetStartPoint(DbGeometry)

Returns a DbGeometry value that represents the start point of the given DbGeometry value, which may be null if the value does not represent a curve.

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodGetXCoordinate(DbGeometry)

Returns the X coordinate of the given DbGeometry value, if it represents a point.

System_CAPS_pubmethodGetYCoordinate(DbGeometry)

Returns the Y coordinate of the given DbGeometry value, if it represents a point.

System_CAPS_pubmethodInteriorRingAt(DbGeometry, Int32)

Returns an interior ring from the given DbGeometry value, if it represents a polygon.

System_CAPS_pubmethodIntersection(DbGeography, DbGeography)

Computes the intersection of two DbGeography values.

System_CAPS_pubmethodIntersection(DbGeometry, DbGeometry)

Computes the intersection of two DbGeometry values.

System_CAPS_pubmethodIntersects(DbGeography, DbGeography)

Determines whether the two given DbGeography values spatially intersect.

System_CAPS_pubmethodIntersects(DbGeometry, DbGeometry)

Determines whether the two given DbGeometry values spatially intersect.

System_CAPS_protmethodMemberwiseClone()

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

System_CAPS_pubmethodOverlaps(DbGeometry, DbGeometry)

Determines whether the two given DbGeometry values spatially overlap.

System_CAPS_pubmethodPointAt(DbGeography, Int32)

Returns a point element of the given DbGeography value, if it represents a linestring or linear ring.

System_CAPS_pubmethodPointAt(DbGeometry, Int32)

Returns a point element of the given DbGeometry value, if it represents a linestring or linear ring.

System_CAPS_pubmethodRelate(DbGeometry, DbGeometry, String)

Determines whether the two given DbGeometry values are spatially related according to the given Dimensionally Extended Nine-Intersection Model (DE-9IM) intersection pattern.

System_CAPS_pubmethodSpatialEquals(DbGeography, DbGeography)

Determines whether the two given DbGeography values are spatially equal.

System_CAPS_pubmethodSpatialEquals(DbGeometry, DbGeometry)

Determines whether the two given DbGeometry values are spatially equal.

System_CAPS_pubmethodSymmetricDifference(DbGeography, DbGeography)

Computes the symmetric difference of two DbGeography values.

System_CAPS_pubmethodSymmetricDifference(DbGeometry, DbGeometry)

Computes the symmetric difference between two DbGeometry values.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodTouches(DbGeometry, DbGeometry)

Determines whether the two given DbGeometry values spatially touch.

System_CAPS_pubmethodUnion(DbGeography, DbGeography)

Computes the union of two DbGeography values.

System_CAPS_pubmethodUnion(DbGeometry, DbGeometry)

Computes the union of two DbGeometry values.

System_CAPS_pubmethodWithin(DbGeometry, DbGeometry)

Determines whether one DbGeometry value is spatially within the other.

.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