Tag: dapper

How C# Strings Silently Kill Your SQL Server Indexes in Dapper

March 5, 2026 · 5 min read
Dapper maps C# strings to nvarchar(4000) by default. If your SQL Server column is varchar, every query silently scans every row instead of seeking the index.