• Content Links
  1. C# Web Development > 
  2. Chapter 17: Introduction to Object-Relational Mapping > 
  3. Reading

Reading

Content Links

  • Introduction to Object-Relational Mapping
  • Setting Up a Persistent Database
  • Accessing Data
  • Working with Data Stores
  • Walkthrough: Connecting to the Database
LaunchCode
  • Home

  • Chapter 1: Introduction and Setup
    • Setup for C#
      • Windows Users: Visual Studio Community Edition
      • Mac Users: C# Dev Kit for Visual Studio Code
      • Creating a C# Project
      • Cloning a C# Project
    • Next Steps
  • Chapter 2: Data Types
    • Reading
      • Data Types
      • Some C# Practice
      • Strings, Characters, and Arrays
      • Objects and Methods, a Primer
    • Exercises
    • Studio: Area of a Circle
    • Next Steps
  • Chapter 3: Control Flow & Collections
    • Reading
      • Conditionals
      • Loops
      • Collections
      • List
      • Array
      • Dictionary
    • Exercises
    • Studio
    • Next Steps
  • Chapter 4: Classes
    • Reading
      • Classes for C#
      • Modifiers in C#
      • Encapsulation
      • Constructors
      • Methods
      • Single Responsibility Principle
    • Exercises
    • Studio: Restaurant Menu
    • Next Steps
  • Chapter 5: Classes Part 2
    • Reading: Classes Part 2
      • Customizing Fields
      • Instance and Static Methods
      • Special Methods
      • Visual Studio Generation Shortcut
    • Exercises: Objects and Classes, Part 2
    • Studio: Restaurant Menu Continued
    • Next Steps
  • Chapter 6: Unit Testing
    • Reading
      • Testing in C#
      • MSTest
    • Exercises
    • Studio
    • Next Steps
  • Chapter 7: Inheritance
    • Reading
      • Inheritance
      • Inheritance in C#
      • A Tale of Two Cats
      • Inheriting from Abstraction
      • Casting
      • Testing Inheritance
      • Class Diagrams
    • Exercises: Inheritance
    • Studio: Fun With Quizzes
    • Next Steps
  • Chapter 8: Interfaces and Polymorphism
    • Reading
      • Introduction
      • Interfaces
      • Interfaces and Abstract Classes
      • Interfaces in the Wild
      • Unit Testing and Interfaces
    • Exercises
    • Studio: Spinning Discs
    • Next Steps
  • Chapter 9: Introduction to ASP.NET
    • Reading
      • Design Patterns, MVC, and ASP.NET, Oh My!
      • Create a New ASP.NET Project
    • Next Steps
  • Chapter 10: Controllers and Routing
    • Reading
      • Simple Controllers
      • Controllers with Parameters
      • Controllers with Forms
      • Cleaning Up Your Controllers
      • Video Walkthrough
    • Exercises
    • Studio
    • Next Steps
  • Chapter 11: Exceptions
    • Reading
      • Introduction to Exceptions
      • Handling Exceptions
      • Common Exception Objects
    • Exercises: Exceptions
    • Next Steps
  • Chapter 12: Tools in Visual Studio
    • Reading
      • MSBuild
      • NuGet
      • Debugger
    • Studio: If It Ain't Broke, Add a Breakpoint!
    • Next Steps
  • Chapter 13: Razor Views
    • Reading
      • Templates
      • Creating a Template
      • Using a Template
      • Iterating in a Template
      • Conditionals in a Template
      • Walkthrough: Wrapping up HelloASPDotNET
      • Razor Forms
      • The Shared Directory
      • Static Resources
      • Bootstrap
      • Walkthrough: Begin CodingEvents
    • Exercises: Razor Views
    • Studio: Spa Day!
    • Next Steps
  • Chapter 14: Models and Model Binding
    • Reading
      • Models in MVC
      • Create a Model Class
      • Models and Data
      • Model Binding
      • Video Walkthrough
    • Exercises: Edit Model Classes
    • Studio: Spa User Signup
    • Next Steps
  • Chapter 15: Viewmodels and Model Validation
    • Reading
      • ViewModels and Passing Data Between Views
      • Server-Side Validation
      • Validation Attributes
      • Validating Models in a Controller
      • Validation and Views
      • Walkthrough: Adding ViewModels and Validation to CodingEvents
    • Exercises
    • Studio: Spa User Validation
    • Next Steps
  • Chapter 16: Enums
    • Reading
      • Introduction to Enums
      • Enums in Model Classes
    • Next Steps
  • Chapter 17: Introduction to Object-Relational Mapping
    • Reading
      • Introduction to Object-Relational Mapping
      • Setting Up a Persistent Database
      • Accessing Data
      • Working with Data Stores
      • Walkthrough: Connecting to the Database
    • Exercises: OMG the ORM!
    • Studio: OMG more ORM!
    • Next Steps
  • Chapter 18: Relationships in Object-Relational Mapping
    • Reading
      • Types of Relationships
      • A Primer on Lambda Expressions
      • Creating a One-to-Many Relationship
      • Walkthrough: One-to-Many
      • Some Setup
      • Creating a Many-to-Many Relationship
      • Walkthrough: Many-to-Many
    • Exercises
    • Next Steps
  • Chapter 19: Authentication
    • Reading
      • Introduction to Authentication
      • Hashing Passwords
      • Getting Started with Identity
      • Registrations and Logins
      • Configuring Identity
      • Identity and Authorization
    • Studio: TechJobs Authentication
    • Next Steps
  • Chapter 20: Introduction to Web APIs & REST
    • Reading
      • Web APIs
      • What is REST
      • REST: Practical Fundamentals
    • Exercises: Web APIs and REST
    • Studio: Consuming the Coding Events API With Postman
    • Next Steps
  • Appendices
    • Installing Postman
  • Assignments
    • Assignment 0: Hello, World!
      • Task 1: Getting Started
      • Task 2: Running the Auto-grading Tests
      • Task 3: Start Coding
      • Task 4: Submitting Your Code
    • Assignment 1: Tech Jobs Console
      • Review the Starter Code
      • Task One
      • Task Two
      • Task Three
      • Submission and Bonus Missions
    • Assignment 2: TechJobs (Object-Oriented Edition)
      • Task 1: Explore the Employer Class
      • Task 2: Complete the Support Classes
      • Task 3: Complete the Job Class
      • Task 4: Use Unit Testing to Verify Parts of the Job Class
      • Task 5: Use TDD to Build The ToString() Method
      • Task 6: Refactor to DRY the Support Classes
      • Final Steps
    • Assignment 3: TechJobs MVC
      • Task 1: Review the Starter Code
      • Task 2: Complete ListController
      • Task 3: Complete SearchController
      • Task 4: Display Search Results
      • Task 5: Submit Your Code and Bonus Missions
    • Assignment 4: Tech Jobs Persistent
      • Task 1: Connect a Database to an ASP.NET App
      • Task 2: Adding Employers
      • Task 3: Creating a Many-To-Many Relationship
    • Next Steps

  •  
  •  
  •