General SQL execution using IDBconnection

929 Views Asked by At

Is it possible to execute a query using IDBConnection? I have a factory class returning IDBConnection and I don't want to cast it back to SQLConnection in order not to expose implementation. So how can I execute a query using IDBConnection?

0

There are 0 best solutions below