18. Relationships in Object-Relational MappingΒΆ

  1. 18.1. Types of Relationships
    1. 18.1.1. One-to-One
    2. 18.1.2. One-to-Many and Many-to-One
    3. 18.1.3. Many-to-Many
    4. 18.1.4. Check Your Understanding
  2. 18.2. Creating a Many-to-One Relationship
    1. 18.2.1. Creating an AbstractEntity - Video
    2. 18.2.2. Creating an AbstractEntity - Text
    3. 18.2.3. Setting Up the Relationship - Video
    4. 18.2.4. Setting Up the Relationship - Text
      1. 18.2.4.1. Replacing EventType With EventCategory
      2. 18.2.4.2. Testing and Database Updates
    5. 18.2.5. Check Your Understanding
  3. 18.3. Creating a One-to-Many Relationship
    1. 18.3.1. Setting Up the Relationship - Video
    2. 18.3.2. Setting Up the Relationship - Text
      1. 18.3.2.1. Model Configuration
      2. 18.3.2.2. Controller Updates
      3. 18.3.2.3. Linking to Filtered Views
    3. 18.3.3. Check Your Understanding
  4. 18.4. Creating a One-to-One Relationship
    1. 18.4.1. Creating a One-to-One Relationship - Video
    2. 18.4.2. Creating a One-to-One Relationship - Text
      1. 18.4.2.1. The EventDetails Class
      2. 18.4.2.2. Relating EventDetails to Event
      3. 18.4.2.3. Template Updates
      4. 18.4.2.4. Cascading ORM Operations
      5. 18.4.2.5. The Inverse Relationship
    3. 18.4.3. Check Your Understanding
  5. 18.5. Creating a Many-to-Many Relationship
    1. 18.5.1. Persistent Tags - Video
    2. 18.5.2. Persistent Tags - Text
    3. 18.5.3. Creating a Many-to-Many Relationship - Video
    4. 18.5.4. Creating a Many-to-Many Relationship - Text
    5. 18.5.5. Many-to-Many Forms and Data Transfer Objects - Video
    6. 18.5.6. Many-to-Many Forms and Data Transfer Objects - Text
      1. 18.5.6.1. Data Transfer Objects (DTO)
      2. 18.5.6.2. Connecting Two Objects
      3. 18.5.6.3. Join Tables
    7. 18.5.7. Check Your Understanding
  6. 18.6. Exercises: The Early Bird Gets the ORM!