henkmollema / Dommel

CRUD operations with Dapper made simple.
MIT License
634 stars 100 forks source link

INSERTs to tables with reserved column names #125

Closed narbit closed 5 years ago

narbit commented 5 years ago

This is related to #64 and PR #65. The latter only addressed MySqlSqlBuilder. Need to do the same for SqlServerSqlBuilder and PostgresSqlBuilder.

All reserved column/table names have to be placed inside delimiters when used inside INSERT statements.

Will send PR for it shortly.

narbit commented 5 years ago

Was on Dommel 1.11.0 and needed to configure EscapeCharacterStart and EscapeCharacterEnd