How to return List with Dapper.NET ORM th

2019-08-30 06:15发布

This question is old now, Dapper data-view binding are fixed as shown answer below :)

1条回答
三岁会撩人
2楼-- · 2019-08-30 06:35

I've added TypeDescriptor-based bindings to DapperRow, which means that anything obtained via Query() (the dynamic API) should now bind to much common UI controls. Anything from 1.60.5 or above should work.

Let me know!

Caveat: it doesn't currently work for empty results (zero rows). I know how to implement that (see notes here), but that would require some additional changes to the query implementation that I have not done as-yet.

查看更多
登录 后发表回答