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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T07:07:12+00:00 2026-06-05T07:07:12+00:00

I have created a new table in the membership database. Now I want to

  • 0

I have created a new table in the membership database. Now I want to make a relationship with the _aspnet_Users_ table. I’ve made the relationship, but when I make an asp.net entity model from the database, the Model1.edmx shows the tables without relationship.

Is this 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-06-05T07:07:12+00:00Added an answer on June 5, 2026 at 7:07 am

    Here is what you are going to do :
    After adding the table to your database in server explorer or management studio and setting the relationship you should reopen the Model1.edmx and right click in the design area and click on Update model from database then check tables and click finish , visual studio will autpmatically add new tables and relationships to your Model.edmx

    And the problem is that you can not make a relationship between two table columns that none of them are key column !

    The aspnet_User is the primary key table and the Post table is the foriegn key table , so you should make the relationship between the UserID column of the aspnet_User table and a same type (uniqeidentifier) column in the Posts table which represents The user’s ID who posted the post .

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

Sidebar

Related Questions

I have created a new ActionFilter for an ASP.NET MVC application that I'm creating.
I have created a new table including a column note. The default is varchar(255)
I am new to iPhone development. I have created a table view in a
I have a table that we just enabled FileStreams on. We created a new
i have a database table with a list of sql views i want to
i'm new to membership. i have a table named contact, with a field, userId
Using Code First Entity Framework with .NET MVC 4 I have created a new
I have had a working asp.net 4 membership wesite for about 5 months and
I'm using ASP.Net membership to secure my site and I have a question about
I am new to Membership and role provider by asp.net All the articles I

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.