Microsoft.SqlServer.Types 命名空间

The Microsoft.SqlServer.Types namespace contains classes used when working with the HierarchyID data type and the spatial data types, such as the geometry and geographic data types.

  说明
公共类 GeographyCollectionAggregate 基础结构。Represents a geography collection from the given set of SqlGeography objects.
公共类 GeographyConvexHullAggregate 基础结构。Represents the convex hull for the given set of SqlGeography objects.
公共类 GeographyEnvelopeAggregate 基础结构。Represents a geography envelope from the given set of SqlGeography objects.
公共类 GeographyTessellationFunction 基础结构。Represents the geography tessellation functions.
公共类 GeographyUnionAggregate 基础结构。Represents a union of a set of SqlGeography objects.
公共类 GeometryCollectionAggregate 基础结构。Represents a geometry collection from the given set of SqlGeometry objects.
公共类 GeometryConvexHullAggregate 基础结构。Represents the convex hull for the given set of SqlGeometry objects.
公共类 GeometryEnvelopeAggregate 基础结构。Represents a geometry envelope based on the given set of SqlGeometry objects.
公共类 GeometryTessellationFunction 基础结构。Provides static methods for creating a geometry tessellation.
公共类 GeometryUnionAggregate 基础结构。Represents a union from a set of SqlGeometry objects.
公共类 HierarchyIdException The exception that is thrown for invalid SqlHierarchyId values.
公共类 SpaceFillingCurve 基础结构。Provides methods for calculating a space-filling curve.
公共类 SpatialGridCoverage 基础结构。Provides methods for obtaining a spatial grid coverage.
公共类 SpatialTessellationFunction 基础结构。Provides static methods for creating a spatial tessellation.
公共类 SqlGeography The SqlGeography type represents data in a geodetic (round earth) coordinate system.
公共类 SqlGeographyBuilder Constructs instances of SqlGeography objects by using IGeographySink interface.
公共类 SqlGeometry The SqlGeometry type represents data in a Euclidean (flat) coordinate system.
公共类 SqlGeometryBuilder Constructs instances of SqlGeometry objects by using IGeometrySink interface.

结构

  结构 说明
公共结构 SqlHierarchyId The SqlHierarchyId type represents a position in a hierarchical structure, specifying depth and breadth.

接口

  接口 说明
公共接口 IGeographySink 已过时。Interface used by SqlGeographyBuilder to construct a SqlGeography object. This API is obsolete. IGeographySink110 should be used instead.
公共接口 IGeographySink110 Defines the interface used by SqlGeographyBuilder to construct a SqlGeography object.
公共接口 IGeometrySink 已过时。Defines the interface that the SqlGeometryBuilder class uses to construct a SqlGeometryBuilder object. This API is obsolete. IGeometrySink110 should be used instead.
公共接口 IGeometrySink110 Defines the interface used by SqlGeometryBuilder to construct a SqlGeometry object.
公共接口 ISqlSpatialGridIndexable 基础结构。Defines the interface that is implemented by SqlGeography and SqlGeometry type objects to support spatial indexing.

枚举

  枚举 说明
公共枚举 OpenGisGeographyType Lists supported and extended Open GIS geography types.
公共枚举 OpenGisGeometryType Lists Open GIS geometry types.