create different types of connections(sqlserver,oracle...) dynamically

i want to create design patterns
but my requirement is
create different types of connections(sqlserver,oracle...) dynamically

regards
ramesh

Comments

  • edited November -1
    I think this is a the classic use for the abstract factory design pattern
  • edited November -1
    You can use NHibernate which implements the Abstract Factory Design Pattern - Shankar Prasad