语言

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.

类

  类 说明
公共类 HierarchyIdException The exception that is thrown for invalid SqlHierarchyId values.
公共类 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.
公共接口 IGeometrySink Defines the interface that the SqlGeometryBuilder class uses to construct a SqlGeometryBuilderobject.

枚举

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