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 7063327
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:42:02+00:00 2026-05-28T04:42:02+00:00

I am in the process of writing a new web application. I am using

  • 0

I am in the process of writing a new web application. I am using ASP.NET MVC 3 with Entity Framework code first. The database is automatically created and everything looks good so far.

However, we already have an existing database that holds details of all our current users and I want to be able to retrieve data from this database table in my new project. Is this possible using EF Code First and if so, how would I go about this?

Thanks in advance.

  • 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-05-28T04:42:03+00:00Added an answer on May 28, 2026 at 4:42 am

    Description

    I have done the same a few months ago. You can map your Model to an existing Database.
    Scott Guthrie has blogged about it. You can use the Enity Framework Power Tools to create your models from your existing Database.

    More Information

    • Using EF “Code First” with an Existing Database
    • Entity Framework Power Tools CTP1
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an ASP.NET Web Application that constantly monitors for new RSS Feed from
I have an ASP.NET MVC web application that makes REST style web service calls
I'm in the process of writing a WCF service that will allow an ASP.Net
I am in the process of re-writing some very outdated .NET 2.0 SOAP web
I am writing a simple web service using .NET, one method is used to
I'm writing an ASP.NET C# web site that needs to access data from a
I'm writing an app to process email attachments, using Exchange Web Services. The general
I'm writing a function for a web app in ASP.NET where the client logs
I am in the process of writing an enterprise-level application utilizing WCF and NetTCP
I am in the process of writing some validation code based on these assumptions:

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.