0

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?

Corovei Andrei
  • 1,646
  • 6
  • 28
  • 42

0 Answers0