LaunchCode logo
  1. Contents
  2. 17. Introduction to Object-Relational Mapping

17. Introduction to Object-Relational MappingΒΆ

  • 17.1. Object-Relational Mapping
    • 17.1.1. ORM in ASP.NET
      • 17.1.1.1. Setting up a Persistent Database - Video
      • 17.1.1.2. Setting up a Persistent Database - Text
      • 17.1.1.3. Ensuring Connection Success and Security
    • 17.1.2. Check Your Understanding
  • 17.2. Accessing Data
    • 17.2.1. Data Stores - Video
    • 17.2.2. Data Stores - Text
      • 17.2.2.1. Creating a DbContext
      • 17.2.2.2. Registering a Data Store
      • 17.2.2.3. Configuring a Primary Key
    • 17.2.3. Migrations - Video
    • 17.2.4. Migrations - Text
    • 17.2.5. Check Your Understanding
  • 17.3. Working with Data Stores
    • 17.3.1. Data Stores in the Controller - Video
    • 17.3.2. Data Stores in the Controller - Text
      • 17.3.2.1. Adding the Data Store
      • 17.3.2.2. Using Data Store Methods
    • 17.3.3. Check Your Understanding
  • 17.4. Exercises: OMG the ORM!
    • 17.4.1. The EventCategory Class
    • 17.4.2. Adding to DbContext
    • 17.4.3. Adding a New Table to the Database
    • 17.4.4. The EventCategoryController Class
      • 17.4.4.1. Index()
    • 17.4.5. Adding a View
    • 17.4.6. Test Your Application
  • 17.5. Studio: OMG More ORM!
    • 17.5.1. Adding a ViewModel
    • 17.5.2. Updating EventCategoryController
      • 17.5.2.1. Create()
      • 17.5.2.2. ProcessCreateEventCategoryForm()
    • 17.5.3. Razor Templates
    • 17.5.4. The Final Application
  • ← 16.2. Enums in Model Classes
  • 17.1. Object-Relational Mapping →

Back to top

Page Source