I am working to update an old system, and we are starting the unit framework for some new functionality Are there. However, the system is too big to perform a migration in one step, so I would like to do some testing in other databases before updating the DB schema.
I have created an empty model, in which tables from a database of two, and the relationship between these institutions and the old tables, added some new organizations from scratch. Now I want to create a new database schema with my database in other databases, but I do not understand how to switch so that "Update the database from the model" ... will not work from the old database, but < / P>
In short, the connection settings will be used to configure your config file or data connection The official document provides in.
If your connection settings are in your config file, i.e. Web Config / app.cconfig, you can change them there (additional documents are available). If you use EF Designer to make your model, then option to save settings in the config file. Was in
If your connection settings are not in a config file, then in the data connection, Visual Studio in Server Explorer: View> Server Explorer; Expand the data connection, right-click the connection and select the modified connection.
Comments
Post a Comment