Home
Softono
d

dotmorten

Professional software vendor delivering innovative solutions on the Softono platform. Specialized in both open-source and proprietary software development.

Total Products
1

Software by dotmorten

Microsoft.SqlServer.Types
Open Source

Microsoft.SqlServer.Types

dotMorten.Microsoft.SqlServer.Types is a .NET Standard library that provides an implementation of the spatial types found in Microsoft's Microsoft.SqlServer.Types, specifically SqlGeometry and SqlGeography. It enables cross-platform support for these CLR types, which were traditionally Windows-only, allowing .NET applications on Linux, macOS, and other platforms to serialize and deserialize spatial data from SQL Server without requiring the native SQL Server assemblies. The library supports assigning SqlGeometry and SqlGeography objects as parameters to SQL commands and reading them from query results. It offers two version tracks: v1.x depends on the legacy System.Data.SqlClient package, while v2.x depends on the modern Microsoft.Data.SqlClient package. Note that spatial operations such as intersection and area calculations are not included; users are expected to perform these operations within their SQL queries. The project is being gradually sunset as the official Microsoft.SqlServer.Types NuGet package ad

Relational Databases Geospatial & GIS
76 Github Stars