Dapper.Contrib icon indicating copy to clipboard operation
Dapper.Contrib copied to clipboard

Escape id column name in Get, GetAsync

Open ghills opened this issue 3 years ago • 0 comments

Get\GetAsync do not work correctly with SQL Server when the Id column is a reserved keyword (e.g. "Key") marked with the ExplicitKeyAttribute.

Use the adapter specific column name escaping to resolve the issue.

resolves #150

ghills avatar Dec 05 '22 16:12 ghills