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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:27:59+00:00 2026-06-10T22:27:59+00:00

Can we create multiple entity framework in project for the same database? I want

  • 0

Can we create multiple entity framework in project for the same database?
I want to create entity framework for each subsystem. Some of subsystem have shared table.

  • 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-10T22:28:01+00:00Added an answer on June 10, 2026 at 10:28 pm

    It’s possible, and you can create multiple EDMX files as you wish.

    But it’s not recommmended, as…

    1. You can not query multiple tables in different models.
    2. Defining boundary will be very difficult because mostly tables are connected through relationships.
    3. If same table exists in multiple models, then you will have consistency issues and namespace clashes.

    Instead, we created only one EDMX model and put it in a common library, which is then imported in many different sub projects.The only problem is, your connection string has to be defined correctly specifying common library resources.

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

Sidebar

Related Questions

I'll start by quoting google's blog Project owners can now create multiple repositories for
Right... calling all Entity Framework experts... I have a table called Bob in my
We have an Entity Framework project with several models set up using .NET 4
I have following Entity Framework Logic, and I want to translate to Stored Procedure,
I'm using Entity Framework 4.1 and have a seemingly simple requirement: I want to
I am accessing my database via Entity Framework 4. I have a server that
I am using Entity Framework code first for a simple database containing multiple choice
I have an object Customer that can have multiple customer types and each customer
I've read in What's New in Entity Framework 5 Beta: You can now create
Can we create multiple schemas for a particular user? I am currently logged in

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.