On Oct 4, 3:28 pm, AA2e72E <AA2e...@discussions.microsoft.comwrote:
Jon, I think I am still missing something. Here's the gist of the code ...
"The gist of the code" isn't terribly helpful, unfortunately. We've no
idea what TDB is, for instance - a field, a property? What's its
scope?
You've got a problem in that your SQLSERVER and ORACLE classes (it
would be good to start complying with naming conventions by the way) -
they don't implement a common interface. You should define an
interface containing the test() method, and make both classes
implement that interface. TDB should be declared to be of that
interface type, at which point your problems are likely to go away.
I'm guessing that TDB is currently declared as type object - but
unfortunately I can only guess at the moment.
Jon