please let me know if this is no longer supported with V2. if it is please point to or provide a code sample.
is it supported using adapters? sample code for this?
I'm not sure I completly understand your question.
Do you want to change the Dabase Server and Database/Catalog name at deployment time, or at runtime?
If at deployment time, then please consult the manual for "Using the generated code - Application configuration through .config files"
ELse if you want to change it runtime, then I recommend using the Adapter model, and supply the connection string to the constructor of the adapter, this will take care of the Database Server switch.
And for the database name, you should use CatalogNameUsage.ForceName and pass the name to DataAccessAdapter.CatalogNameToUse