MJCZone.DapperMatic.TypeMapping.Handlers
Assembly: MJCZone.DapperMatic
Classes
| Name | Description |
|---|---|
| DictionaryTypeHandler`2 | Type handler for Dictionary<TKey, TValue> to support dictionary data across all database providers. Serializes Dictionary to JSON string for storage and deserializes JSON back to Dictionary. |
| JsonDocumentTypeHandler | Type handler for JsonDocument to support JSON data across all database providers. Serializes JsonDocument to string for storage and deserializes string back to JsonDocument. |
| ListTypeHandler`1 | Type handler for List<T> to support list data across all database providers. Serializes List to JSON array string for storage and deserializes JSON back to List. |
| SmartArrayTypeHandler`1 | Smart type handler for T[] arrays with runtime provider detection. PostgreSQL: Uses native array types (text[], int4[], etc.) for 10-50x performance boost. Other providers: Uses JSON array serialization for cross-database compatibility. |
| SmartIPAddressTypeHandler | Smart type handler for System.Net.IPAddress with provider-specific optimization. PostgreSQL: Native inet type Others: String serialization |
| SmartMySqlGeometryTypeHandler | Smart type handler for MySqlGeometry with provider-specific optimization. MySQL/MariaDB: Native MySqlGeometry type (MySql.Data or MySqlConnector) Others: WKT (Well-Known Text) string format for consistency with DDL reverse engineering |
| SmartNpgsqlBoxTypeHandler | Smart type handler for NpgsqlBox with provider-specific optimization. PostgreSQL: Native box type Others: WKT (Well-Known Text) format - "POLYGON((x1 y1, x2 y1, x2 y2, x1 y2, x1 y1))" |
| SmartNpgsqlCidrTypeHandler | Smart type handler for NpgsqlTypes.NpgsqlCidr with provider-specific optimization. PostgreSQL: Native cidr type Others: String serialization (CIDR notation like "192.168.0.0/24") |
| SmartNpgsqlCircleTypeHandler | Smart type handler for NpgsqlCircle with provider-specific optimization. PostgreSQL: Native circle type Others: Extended WKT format - "CIRCLE(x y, radius)" |
| SmartNpgsqlLineTypeHandler | Smart type handler for NpgsqlLine with provider-specific optimization. PostgreSQL: Native line type (infinite line represented by equation Ax + By + C = 0) Others: Extended WKT format - "LINE(a b c)" |
| SmartNpgsqlLSegTypeHandler | Smart type handler for NpgsqlLSeg (line segment) with provider-specific optimization. PostgreSQL: Native lseg type Others: WKT (Well-Known Text) format - "LINESTRING(x1 y1, x2 y2)" |
| SmartNpgsqlPathTypeHandler | Smart type handler for NpgsqlPath with provider-specific optimization. PostgreSQL: Native path type Others: WKT (Well-Known Text) format - "LINESTRING(...)" for open paths, "POLYGON((...)))" for closed paths |
| SmartNpgsqlPointTypeHandler | Smart type handler for NpgsqlPoint with provider-specific optimization. PostgreSQL: Native point type Others: WKT (Well-Known Text) format - "POINT(x y)" |
| SmartNpgsqlPolygonTypeHandler | Smart type handler for NpgsqlPolygon with provider-specific optimization. PostgreSQL: Native polygon type Others: WKT (Well-Known Text) format - "POLYGON((x1 y1, x2 y2, ..., x1 y1))" |
| SmartNpgsqlRangeTypeHandler`1 | Smart type handler for NpgsqlRange<T> with provider-specific optimization. PostgreSQL: Native range types (int4range, int8range, numrange, daterange, tsrange, tstzrange) Others: JSON serialization with bounds and inclusivity metadata |
| SmartNtsGeometryTypeHandler | Smart type handler for NetTopologySuite geometry types using WKT format for cross-database compatibility. All providers: WKT (Well-Known Text) format via ToString()/Parse |
| SmartPhysicalAddressTypeHandler | Smart type handler for System.Net.NetworkInformation.PhysicalAddress with provider-specific optimization. PostgreSQL: Native macaddr type Others: String serialization |
| XDocumentTypeHandler | Type handler for XDocument to support XML data across all database providers. Serializes XDocument to string for storage and deserializes string back to XDocument. |