Factory Pattern Instantiations

One of the advantages of factory patterns is the flexibility they provide in terms of declaring the information required to instantiate a factory. In this post we will look at some of the methods of factory instantiation using config file, discuss their usage scenarios and also discuss how the DbProviderFactories decides which DbProviderFactory to instantiate.