Microsoft.SqlServer.Types Namespace
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
Class | Description | |
---|---|---|
![]() |
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. |
Structures
Structure | Description | |
---|---|---|
![]() |
SqlHierarchyId | The SqlHierarchyId type represents a position in a hierarchical structure, specifying depth and breadth. |
Interfaces
Interface | Description | |
---|---|---|
![]() |
IGeographySink | Interface used by SqlGeographyBuilder to construct a SqlGeography object. |
![]() |
IGeometrySink | Defines the interface that the SqlGeometryBuilder class uses to construct a SqlGeometryBuilderobject. |
Enumerations
Enumeration | Description | |
---|---|---|
![]() |
OpenGisGeographyType | Lists Open GIS geography types. |
![]() |
OpenGisGeometryType | Lists Open GIS geometry types. |