B
Brett Romero
I store my server and database names in a static class that all
libraries use. Using a config file, I can switch from test, staging,
or production servers easily.
I like what TableAdapters are generated by VS.NET 2005 do. It seems
most everything is there for you. However, because the TableAdapter
controls everything, I'll have to go to each and change the connection
string when I want to switch servers. Or, am I missing something?
Are TableAdapters a good idea for loading non UI objects? In other
words, creating .NET instances of database tables. These objects may
interact with other non UI or UI objects.
Thanks,
Brett
libraries use. Using a config file, I can switch from test, staging,
or production servers easily.
I like what TableAdapters are generated by VS.NET 2005 do. It seems
most everything is there for you. However, because the TableAdapter
controls everything, I'll have to go to each and change the connection
string when I want to switch servers. Or, am I missing something?
Are TableAdapters a good idea for loading non UI objects? In other
words, creating .NET instances of database tables. These objects may
interact with other non UI or UI objects.
Thanks,
Brett