None of the Command objects have Fill methods, but in the former way I was doing I could instantiate a new OracleDataAdapter. How could I instantiate a Profiled DataAdapter to profile my database activity with MVC MINI PROFILER?
All I need is to use the Fill command with the profiled connection of MVC mini Profiler.
[UPDATE]
I think many must have done that before, unless they are using Entity Framework, which works nice and easy. In my case the query is loaded dynamically into a Datatable, and the entity cannot be mapped, since it is unknown by the application.
The biggest problem after creating a command by the profiled connection is to set it to a DataAdapter which cannot be instantiated.
[UPDATE] Further References: