I was wondering if this is possible.
I have a C# wrapper class wrapping a C class
The C class perform database manipulating methods "inserts, updated and deletes".
Now the trick here is the C# class opens the connection to the database and we need the C class to consume this connection, we can send the connection as a parameter from the C# class to one of the methods in the C class, the problem is how to make C class to consume this connection without having to open a new one?
any ideas or pointers will be greatly appreciated