Top "Many-to-many" questions

A type of relationship between entities of types A and B which associates a list of entities of type B to an entity of type A and vice versa.

Many to many relationships in EF5 Code First, how can I specify table name?

I'm quite new to EF, and I'm not really sure how to do this. I have a many-to-many relationship, exactly …

ef-code-first many-to-many entity-framework-5
How to query directly the table created by Django for a ManyToMany relation?

I have a model MyModel2 with a ManyToManyField related to another model MyModel1. How can I get the pairs mymodel1.…

python django many-to-many
Entity Framework 4.1+ many-to-many relationships change tracking

How can I detect changes of ICollection<> properties (many-to-many relationships)? public class Company { ... public virtual ICollection<Employee&…

entity-framework many-to-many change-tracking
How to map an ArrayList of primitives to a single column?

Let's say I have the following situation: Object Car has an ArrayList of prices, which are all numbers. Is it …

hibernate many-to-many one-to-many
Should @JoinTable be specified in both sides of a @ManyToMany relationship?

I've an entity Course and an entity User. There's a many-to-many relation ship between course and user, since a course …

java hibernate jpa many-to-many entity-relationship
Rails 4 Eager Load has_many Associations for single object

I get the benefits of using eager loading to avoid N+1 when fetching an array of objects with their associated …

ruby-on-rails many-to-many has-many eager-loading ruby-on-rails-4.1
NHibernate 3.2 many to many mapping by code

I'm trying to learn NHibernate 3.2 built-in mapping by code api (NOT FluentNHibernate, nor xml). Can you help me to map …

nhibernate mapping many-to-many nhibernate-3 mapping-by-code
Fluent Nhibernate Many-to-Many mapping with extra column

I want to map sth like this using fluent Nhibernate but I am not sure how to map the inventory …

fluent-nhibernate mapping many-to-many
Sonata Admin edit form many to many not working - symfony2.1.6

I am having a problem with implementing the many to many relationship in the sonata admin edit form, with the …

symfony many-to-many sonata-admin
Mysql join query for multiple "tags" (many-to-many relationship) that matches ALL tags?

I am trying to query for Objects that match ALL of a given set of Tags. Basically I want users …

mysql join tags many-to-many