Paymentsense / Dapper.SimpleLoad

Dapper.SimpleLoad
MIT License
13 stars 4 forks source link

Add support for WHERE...IN when parameter is an array #7

Open bartread opened 8 years ago

bartread commented 8 years ago

It would be increasingly handy if array parameters were treated like they are in Dapper itself, which supports WHERE someColumn IN @SomeColumnValues.

bartread commented 8 years ago

Note that currently, WHERE...IN can be used, but only when you specify a custom WHERE clause expression. What I'm talking about here is autogenerating it as part of the default AutoQuery where no list of aliases or WHERE clause expression is supplied.