You can derive from DataAccessAdapter and override any of the fetch methods to modify the query to be executed, and don't forget to call the base method passing the modified query.
Methods to override:
- ExecuteMultiRowRetrievalQuery
- ExecuteMultiRowDataTableRetrievalQuery
- ExecuteActionQuery
- ExecuteScalarQuery
- ExecuteSingleRowRetrievalQuery
So you can pick what you want, or better override the CreateSelectDQ method.
Anyway you should use the derived class when needed.