fixed bug in DapperAdapter.cs