Skip to content

MJCZone.DapperMatic.TypeMapping

Assembly: MJCZone.DapperMatic

Classes

NameDescription
DapperMaticMappingOptionsConfiguration options for DapperMatic type mapping and query compatibility. Controls how type handlers are registered for future DML type mapping features.
DapperMaticTypeMappingProvides global initialization for DapperMatic query compatibility. Call Initialize() once at application startup to enable DmColumn attribute mapping and custom type handlers for all IDbConnection instances.
DmColumnFallbackMapperType mapper that automatically detects and maps column attributes at runtime. Supports DmColumn, EF Core Column, and ServiceStack.OrmLite Alias attributes for column name mapping. Supports DmIgnore, EF Core NotMapped, and ServiceStack.OrmLite Ignore attributes for excluding properties. Supports modern C# patterns including records with parameterized constructors. Fallback to default property name matching if no mapping attributes are found.
DmMemberMapMaps a database column to a C# property or constructor parameter. Supports modern C# patterns including records with parameterized constructors.

Enums

NameDescription
TypeHandlerPrecedenceDefines how type handler registration should handle conflicts with existing handlers.