Partager via


Espace de noms 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.

Classes

  Classe Description
Classe publique HierarchyIdException The exception that is thrown for invalid SqlHierarchyId values.
Classe publique SqlGeography The SqlGeography type represents data in a geodetic (round earth) coordinate system.
Classe publique SqlGeographyBuilder Constructs instances of SqlGeography objects by using IGeographySink interface.
Classe publique SqlGeometry The SqlGeometry type represents data in a Euclidean (flat) coordinate system.
Classe publique SqlGeometryBuilder Constructs instances of SqlGeometry objects by using IGeometrySink interface.

Structures

  Structure Description
Structure publique SqlHierarchyId The SqlHierarchyId type represents a position in a hierarchical structure, specifying depth and breadth.

Interfaces

  Interface Description
Interface publique IGeographySink Interface used by SqlGeographyBuilder to construct a SqlGeography object.
Interface publique IGeometrySink Defines the interface that the SqlGeometryBuilder class uses to construct a SqlGeometryBuilderobject.

Énumérations

  Énumération Description
Énumération publique OpenGisGeographyType Lists Open GIS geography types.
Énumération publique OpenGisGeometryType Lists Open GIS geometry types.