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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T12:13:38+00:00 2026-05-31T12:13:38+00:00

First I want to refer to this post: Where to put Entity Framework Data

  • 0

First I want to refer to this post:

Where to put Entity Framework Data Model in MVC application?

My edmx will have 7-10 tables in it. Not more.

The problem is I have to build my model which I´m working with out of [lets say] 4 tables.
So I´m asking myself: Are these tables real model representations and would it be correct to put the edmx file in the “Models” folder and how should I name this CONTAINER of models?

Or are 10 tables enough to create a new project? How to call the project? .DataAccess? How to name the edmx file in it?

I don´t have that much experience with MVC and EF and am trying to figure out a best practice there.

Update: This post tells me not to put it in the Models folder: “The model should be decoupled from the backend data store technology as much as possible.”

  • 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-31T12:13:39+00:00Added an answer on May 31, 2026 at 12:13 pm

    Personally my MVC projects (regardless of size) consist of the following as a minimum:

    • Data
    • Logic
    • Site

    This structure seems to work pretty well as it separates business logic from storage and display.

    You definitally don’t want to put the EDMX in the models folder as that is reserved for view models. Best practice says that view models should be entirely disconnected from your storage entities.

    In terms of naming the EDMX i normally name it after the short name of the project, the more important thing is to get the namespace right for the EDMX so your models sit in the correct namespace location.

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

Sidebar

Related Questions

First, I want to refer to this post, I think it's the same problem:
I have an appender that I only want the first X characters (for this
I'm writing my first application with Zendframework. My question is about the Model–View–Controller (MVC)
This is my first post, so first of all I want to say a
First I want to describe my situation briefly. I have two classes, one MainClass
At first I want to say: I couldn't find a support forum for this
I have a problem but first i want to know if im working on
I have a annoying problem .. I want my first 4 items in a
This is very basic magento question i guess. I want to first get all
In my application i am having checkboxes in first activity that i want to

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.