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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T22:47:06+00:00 2026-05-23T22:47:06+00:00

If I have many to many relation ship in database witch is looking like

  • 0

If I have many to many relation ship in database witch is looking like that:

House-HouseType-Type

In data model it is looking like that

House-Type

I cant modify table HouseType directly because there is no entity for that.

For example if I have insert some entities in database after records in table HouseType looking like that:

HouseId TypeId
1       2
1       3
1       4

than I want to remove some relations records.

e.g Records in table after remove would be:

  HouseId TypeId
    1       2

How can I do that in Entity Framework 4 ?

  • 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-23T22:47:07+00:00Added an answer on May 23, 2026 at 10:47 pm
    house.Types.Remove(type)
    

    or

    type.Houses.Remove(house)
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following tables in my database that have a many-to-many relationship, which
In my database, Concessions have a many-to-one relationship with Firms (each Concession has a
I have a many-to-many relationship like this: A user has_many organizations through affiliations and
I have a basic has_many :through relationship that is bi-directional: calendars have many calendar_calendar_events
I am looking for the best way to handle a database of many-to-many relationships
Essentially, I would like to create a database structure that allows for classifying an
I would like to evaluate JPA on an existing project. The database model and
My question is related to database design and also how to model that design
My database contains 3 tables: User and Service entities have many-to-many relationship and are
I am trying to create an intermediate model between two models that I'd like

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.