I have a section of code which looks like this:
using OracleDll;
using TeradataDll;
...
private void Foo(){
if(clientProvider == "Oracle")
{
//code using the Oracle assembly
}
if(clientProvider == "Teradata")
{
// code using the Teradata assembly
}
}
How can I write this code in such a way that if I know that only the branch with Oracle will be used, then I can forget about deploying the Teradatadll?