user1312399
user1312399

Reputation: 1

Database changing for .net application

i m having two databases in different environments but both are having same data.Presently my application connecting one database .I need to disconnect that database and i want to connect another database .Is it possible to connect to another database? If Its possible then what are things i have to modify in the application code.

Upvotes: 0

Views: 71

Answers (1)

KV Prajapati
KV Prajapati

Reputation: 94645

Is it possible to connect to another database?

Yes.

If it is possible then what are things I have to modify in the application code.

You need to change the Data provider APIs especially if you are working with the database specific API e.g Ms-Sql server (SqlClient) or ODP.net (oracle).

For further, read - Data Access Application Block and .NET Data Access Architecture Guide.

Upvotes: 1

Related Questions