DapperLib/DapperAOT

Do ODBC parameters work yet?

peter-mskeng opened this issue · 0 comments

I am trying to use Dapper.AOT with an ODBC data source, and the usual patterns for ODBC parameters don't seem to work.

Am I doing something wrong? Are there plans to support this?

Thanks!

Old positional style:

var result = await connection.QueryAsync<SomeType>("select Col1, Col2 from Table1 where Key = ?", new { key });

Old named style:

var result = await connection.QueryAsync<SomeType>("select Col1, Col2 from Table1 where Key = ?key?", new { key });