|
Most Iron Speed Designer enterprise-class applications are developed in three stages: development,
QA and production. The databases in different stages have the same structure, but reside in different
schemas and/or servers. If the schema names are the same, it is easy to switch the database from one
stage to the next. All you have to do is to modify the connection string in the web.config.
However, this method will not work if the schema name changes during the switch. In that case, you
also need to "find and replace" the schema name in data access layer’s table definition files, and
then rebuild the entire application. Switching database schema at run-time can eliminate the error-prone
"find and replace" process.
|