18. Relationships in Object-Relational MappingΒΆ
- 18.1. Types of Relationships
- 18.2. A Primer on Lambda Expressions
- 18.3. Creating a One-to-Many Relationship
- 18.3.1. Setting Up the Relationship - Video
- 18.3.2. Setting Up the Relationship - Text
- 18.3.3. Refactoring the Controller and View - Video
- 18.3.4. Refactoring the Controller and View - Text
- 18.3.5. Database Migration and Testing - Video
- 18.3.6. Database Migration and Testing - Text
- 18.3.7. Check Your Understanding
- 18.4. Some Setup
- 18.5. Creating a Many-to-Many Relationship
- 18.5.1. Join Tables
- 18.5.2. The
EventTag
Model - Video - 18.5.3. The
EventTag
Model - Text - 18.5.4. Adding a
Tag
to anEvent
- Video - 18.5.5. Adding a
Tag
to anEvent
- Text - 18.5.6. Displaying Tags in the Detail View - Video
- 18.5.7. Displaying Tags in the Detail View - Text
- 18.5.8. Preventing Errors When Adding a Tag - Video
- 18.5.9. Preventing Errors When Adding a Tag - Text
- 18.5.10. Display Items With a Given Tag - Video
- 18.5.11. Display Items With a Given Tag - Text
- 18.5.12. Check Your Understanding
- 18.6. Exercises: The Early Bird Gets the ORM.