Datamodule in VB.NET



I would like to have a Delphi like datamodule for my VB.NET programs.
The nice thing about a datamodule is that it provides isolation for
the database connection and it allows a program to switch databases
easily. Is there such a thing for VB.NET.

In my VB6 programs I use a GetCn procedure that gets parameters from a
config file. That is a more simple way of doing it but useful. I just
wonder how to design a VB.NET program so that I can easily switch
between databases. Thanks for any help.

-John

John Baima
.



Relevant Pages

  • Re: Question about dropping owners permissions...
    ... > create objects owned by the dbo user, and that is what I always recommend. ... >> machine so that developers can create objects within databases, ... >> create databases themselves. ... >> I could easily switch ownership of all objects in the database at the ...
    (microsoft.public.sqlserver.security)
  • Re: Question about dropping owners permissions...
    ... create objects owned by the dbo user, and that is what I always recommend. ... > create databases themselves. ... > I could easily switch ownership of all objects in the database at the time ... Can anyone help me reach my end goal: Allowing developers to create ...
    (microsoft.public.sqlserver.security)
  • interchangeable back ends
    ... MS was touting FoxPro as being able to easily switch back ... ends simply by using databases that pointed to different data sources. ...
    (microsoft.public.fox.programmer.exchange)
  • Question about dropping owners permissions...
    ... I'm using SQL Server 7.0 and my question pertains to securing my test ... create databases themselves. ... I could easily switch ownership of all objects in the database at the time ... Can anyone help me reach my end goal: Allowing developers to create ...
    (microsoft.public.sqlserver.security)