We recommend using Visual Studio 2017

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.

Public classHierarchyIdExceptionThe exception that is thrown for invalid SqlHierarchyId values.
Public classSqlGeographyThe SqlGeography type represents data in a geodetic (round earth) coordinate system.
Public classSqlGeographyBuilderConstructs instances of SqlGeography objects by using IGeographySink interface.
Public classSqlGeometryThe SqlGeometry type represents data in a Euclidean (flat) coordinate system.
Public classSqlGeometryBuilderConstructs instances of SqlGeometry objects by using IGeometrySink interface.

Public structureSqlHierarchyIdThe SqlHierarchyId type represents a position in a hierarchical structure, specifying depth and breadth.

Public interfaceIGeographySinkInterface used by SqlGeographyBuilder to construct a SqlGeography object.
Public interfaceIGeometrySinkDefines the interface that the SqlGeometryBuilder class uses to construct a SqlGeometryBuilder object.

Public enumerationOpenGisGeographyTypeLists Open GIS geography types.
Public enumerationOpenGisGeometryTypeLists Open GIS geometry types.

Community Additions