Blog
Mert Özen's blog posts on software development, backend, frontend, and DevOps.
Series
Database
PART 11
Type Handlers and Custom Mapping in Dapper: Guid, DateTimeOffset and CustomPropertyTypeMap
Why does Dapper blow up when reading Guid, DateTimeOffset and TimeSpan on SQLite? We write interpreters with SqlMapper.TypeHandler<T>, see from the source why SetValue is never called, and cover the DateOnly/TimeOnly story of 2.1.86 and column mapping with CustomPropertyTypeMap.
6 Nov 2026
11 min
4
Database
PART 02
Query and Mapping with Dapper: How Do Columns Map to Properties?
We look at how Query<T> maps columns to properties: case-insensitive matching, silently skipped columns, NULL and default values, MatchNamesWithUnderscores and its cache trap, dynamic results and constructor mapping for records.
6 Nov 2026
10 min
3