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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T10:08:39+00:00 2026-05-31T10:08:39+00:00

I have three table in SQL database such as table Person has relation one

  • 0

I have three table in SQL database such as table Person has relation one to many to table member and number has one to many relation to table member .that means member table in this design is junction table and i want do many to many relation between person table and number table for removing member table .but i cant because when i do relation between person and number in my EDMX file and Generate the EDMX model to SQL database .the sql database creates a table between person table and number table has two field such as personId and numberId. i want add Some field to junction table that removed between two tables.for example i need firstname or last name in junction table that i removed .how i alternative a junction table to many to many relation between two table in my EDMX file that the junction table has more field?

  • 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-31T10:08:40+00:00Added an answer on May 31, 2026 at 10:08 am

    If you are using database first simply add all columns you need in junction table and update model from database. EDMX will contain a new Member entity.

    If you are using model first you cannot use many to many relation between Person and Number. You must model three entities – Person, Member and Number with the same relations you expect in the database. Once you use generated database from model you will get the database you expect.

    Many-to-many relation with hidden junction table in EDMX is only for scenarios where you have a real junction table without any additional data columns.

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

Sidebar

Related Questions

I have a legacy SQL Server 2000 database that has one column that has
I have a table in SQL Server 2005 which has three columns: id (int),
I have a table in SQL server that has the normal tree structure of
We have a SQL Server database table that consists of user id, some numeric
I have this idea that using SQL VIEWS to abstract simple database computations (such
i have a MS access database with a table such as the one below
I'm using SQL Server 2008 and I have a table with three columns: Length
Hi there I have an SQL table that looks like this: CREATE TABLE IF
I have a Microsoft SQL Server 2008 query that returns data from three tables
I hate these three tables that. Two tables have a many to many relationship

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.