Tech article

C# strings silently kill your SQL Server indexes in Dapper

Community description: 83 points · 54 comments on Hacker News

Hacker News | Mar 6, 2026 | PretzelFisch

Automated excerpt

This helps SQL Server match the parameter type exactly to the column type and reuse cached query plans efficiently. Just telling Dapper the correct parameter type. Match the parameter type to the column type, and match the size to the column size.

Selected automatically from source text; not independently written or fact-checked. Read the original for full context.

Read the original article

More tech news