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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T05:58:11+00:00 2026-05-20T05:58:11+00:00

I have an MVC 2 project where I recently consolidated the auto-generated membership/roles database

  • 0

I have an MVC 2 project where I recently consolidated the auto-generated membership/roles database with my primary database. I have an EF4 model generated from the primary database and it contains a table called Books. Now that I’ve consolidated the two, I setup relationships between Books and aspnet_Users so that I can see each user’s books.

The problem is that I want to update my EF4 model so that it represents this relationship, but I want to keep all of the generated membership code.

Is there anyway to do this?

  • 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-20T05:58:12+00:00Added an answer on May 20, 2026 at 5:58 am

    The solution is to not map the membership tables. Store the GUID or email address in another table. See the question comments for the detailed answer. Thanks @RPM1984 and @Craig Stuntz.

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

Sidebar

Related Questions

I have recently upgraded my MVC 3 project to MVC 4. After all the
I've recently upgraded a project from MVC 1 to MVC 3 and now I'm
I have recently discovered Spring project for MVC testing: spring-test-mvc . It's a great
I have recently started implementing OAuth in an ASP.Net MVC 4 project. I have
I have recently started a personal project that uses ASP.NET MVC (RC1 at the
I have Spring MVC project. I am using HSQL database and Hibernate. I have
I have an MVC project similar to this... Model Public Class ItemDetails Public Property
I Have a MVC Project with a Model named Contact, in create view how
I have a MVC Project. I have questions in a database that I want
I have an MVC project in .Net 4 with WCF service with BasicHttpBinding. When

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.