Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7952553
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T02:53:39+00:00 2026-06-04T02:53:39+00:00

I have created a new MVC3 project and used the ADO.NET Entity Data Model

  • 0

I have created a new MVC3 project and used the ADO.NET Entity Data Model to map out my existing database. It worked great.

Now, that is a database I don’t want to affect when doing development of my web app, so I was looking to now attach that data model to a local database (haven’t selected one yet, suggestions welcome. I was thinking SQL Server CE or MySQL).

Does anyone have any ideas on how to do this? I’d be nice to keep the existing connection string to my live database as well as this development database environment.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T02:53:42+00:00Added an answer on June 4, 2026 at 2:53 am

    You can generate another matching DB using whatever technology you want (though it would be good to keep them similar to your production DB) and then have a Web.Debug and a Web.Release setup.

    If you look at swapping out the configuration, connection string portion of your web.config file you can easily swap from development to production.

    http://msdn.microsoft.com/en-us/library/dd465326.aspx

    This provides the relevant information for the transform statements in your Web.config file, but from the sounds of it you can simply swap the connection portion of your web.config and get what you want.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a problem with the asp.net MVC3. when i create a new project
Set up: New MVC 3 project, using existing database. Created an EF file (edmx),
As I have been following a MusicStore tutorial, new MVC3 project created a following
I have created a new method in one of the project's controllers that it
I have created a new ActionFilter for an ASP.NET MVC application that I'm creating.
I have an MVC3 project I created using the Code First paradigm and it
I created a new MVC3 project in VS 2010. Made no changes and started
I have an ASP.NET MVC 3 project that I just created using the project
First some context: I have an MVC3 .net project which, for the sake of
I have an existing MVC3 application and database that is on a SQL Server

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.