It is very common to encouner a scenario in which during execution you need to change the database server and so the connection string is used in your LINQ. This might be a requirement, if you are moving your application from a development server to staging and from staging to production. There are two ways you can change a connection string on the fly:
Connection String in LINQ
LINQ With 3 Layer Architecture (Insert Data Into Database)
For some organization may be but yes many of ogranization do it manually... If it is web application , we can get context of hosting server and can automate the connection string according to server
Is the term "promotion" still used to describe moving software from testing to staging and staging to production? Well that does not matter. That is what we called it in the past. The question I really want to ask is if organizations have a standardized way for their applicaiton software to automatically use the database as determined by their status (testing, staging or production)?