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

  • Home
  • SEARCH
  • 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 1060233
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T18:17:45+00:00 2026-05-16T18:17:45+00:00

I am busy with an MVC 2 project. I have my entity framework 4

  • 0

I am busy with an MVC 2 project. I have my entity framework 4 .edmx file in a different project and referenced into my web application. I’m not too sure when I will create model files in my Models directory (created by the MVC application) if my .edmx file is in a separate project.

Please can someone help on this confusion. I would appreciate some samples regarding my scenario.

Thanks.

  • 1 1 Answer
  • 3 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-16T18:17:46+00:00Added an answer on May 16, 2026 at 6:17 pm

    You don’t have to put your Models in the ‘Models’ folder but it is just a best practice that the framework has suggested. I personally have ONLY my view models in the ‘Models’ directory and have one for each view. I then map my models/objects from my ORM to these models so that the objects passed back from my data access layer are not the ones I am passing to my views. Normally my DAL classes don’t map 1 to 1 to my view models.

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

Sidebar

Related Questions

I am busy converting a web application to MVC and have some information saved
I'm busy building an MVC application in PHP using Kohana MVC framework, and it
Hi I have a MVC 3 web project which has been deployed to Azure
I'm developing an online application of tennis club management... (MVC 3, Entity Framework Code
I have an ASP.NET MVC 3 / .NET Web Application, which is heavily data-driven,
We're busy upgrading an ASP.NET MVC 2 Application using the 3.5 framework to an
I am busy working on a mobile application that retrieves data from a web
I am busy working with an ASP.NET MVC 3 application and using Windows 7.
Busy building my first web application in CodeIgniter and wanted to work out the
Busy learning MVC 3 and EF ... I have an existing database, I then

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.