Top "Relationships" questions

Questions in this tag typically involve the association that a set of data has with other set(s) of data.

Alternative to multi-valued fields in MS Access

Related question: Multivalued Fields a Good Idea? I know that multi-valued fields are similar to many-to-many relationship. What is the …

database ms-access ms-access-2010 relationships multivalue
Laravel Sync error

I am running the following code, if( $organisation->save() ) { if(isset($members)) { $organisation->users()->sync($members); } …

php laravel eloquent relationships
Laravel merge relationships

Is there a way to merge 2 relationships in laravel? this is the way it's setup now, but Is there a …

php laravel-4 eloquent relationships
Laravel: Querying and accessing child objects in nested relationship with where clauses

I am trying to access the child objects of nested relationships that return many results from the parents object. Let's …

laravel nested eloquent relationships
How to GROUP and SUM a pivot table column in Eloquent relationship?

In Laravel 4; I have model Project and Part, they have a many-to-many relationship with a pivot table project_part. The …

laravel laravel-4 eloquent relationships
How to setup conditional relationship on Eloquent

I have this (simplified) table structure: users - id - type (institutions or agents) institutions_profile - id - user_…

laravel eloquent relationships
How to set a 0..* relationship in Entity Framework Code First?

I have the next code for two classes: public class Object { public int ObjectID { get; set; } public int Object2ID { …

c# entity-framework relationships object-relationships