Hello,
I am using the Patterns and Practices Data Access Application Block and I want to be able to perform a SELECT using multiple criteria like you can do in SQL using the IN keyword. Such as:
SELECT * FROM SomeTable WHERE PrimaryKey IN (@keys)
How can I pass in the @keys values? I do not want to have to dynamically build my SQL.
I’m querying against an Oracle database.
Additionally, is there another way to do such a query that is more DAAB friendly?
Thanks, Keith