Skip to content

AssemblyDetector ​

Namespace: MJCZone.DapperMatic.Providers

Assembly: MJCZone.DapperMatic

Summary ​

Detects availability of optional assemblies for type mapping. Uses lazy initialization with caching for performance.

static public

Contents ​

Methods (5) | Properties (3)

Methods ​

Reset ​

Resets cached assembly detection results. Useful for testing scenarios.

csharp
void Reset()

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

HasMySqlData ​

Gets a value indicating whether MySql.Data assembly is available. Used for MySqlGeometry type support.

Type: bool

HasSqlServerTypes ​

Gets a value indicating whether Microsoft.SqlServer.Types assembly is available. Note: SQL Server native spatial types (SqlGeography, SqlGeometry, SqlHierarchyId) are NOT currently supported due to platform-specific native library dependencies. Use NetTopologySuite for cross-platform spatial support.

Type: bool

HasNetTopologySuite ​

Gets a value indicating whether NetTopologySuite assembly is available. Used for Geometry, Point, LineString, Polygon type support.

Type: bool