Dapper And System.Data.OleDb DbType.Date throwing 'OleDbException : Data type mismatch in criteria expression'
问题 Not sure if I should raise an issue regarding this, so thought I would ask if anybody knew a simple workaround for this first. I am getting an error when I try to use Dapper with OleDbConnection when used in combination with MS Access 2003 (Jet.4.0) (not my choice of database!) When running the test code below I get an exception 'OleDbException : Data type mismatch in criteria expression' var count = 0; using (var conn = new OleDbConnection(connString)) { conn.Open(); var qry = conn.Query