🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Jon Andreas Grenness
    Jon Andreas Grenness
    5,055 Points

    How to use the Include operator to eagerly load the course's related teacher entity?

    Posted December 13, 2021 1:21pm by Jon Andreas Grenness
    Jon Andreas Grenness
    5,055 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Writing a Detail Query

    2 Answers

  • Amit Ghosh
    Amit Ghosh
    9,314 Points

    Courses.Teacher

    Posted November 28, 2019 12:25am by Amit Ghosh
    Amit Ghosh
    9,314 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Filtering a Query

    2 Answers

  • Eric Lepage
    Eric Lepage
    1,602 Points

    Anyone has the solution for Entity Framework Basic challenge Repository.GetCoursesByTeacher()

    Posted September 9, 2019 9:39pm by Eric Lepage
    Eric Lepage
    1,602 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Filtering a Query

    2 Answers

  • Steven Scott
    Steven Scott
    7,542 Points

    I am not sure how to get a passing answer with this question.

    Posted August 1, 2019 12:27pm by Steven Scott
    Steven Scott
    7,542 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Writing a List Query

    1 Answer

  • kevin hudson
    PLUS
    kevin hudson
    Courses Plus Student 11,987 Points

    What would the main purpose be to add LINQ queries to your program?

    Posted May 8, 2019 3:50pm by kevin hudson
    kevin hudson
    Courses Plus Student 11,987 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Sorting Queries

    3 Answers

  • Donald T Jere
    Donald T Jere
    14,671 Points

    Instantiate an instance of

    Posted August 31, 2018 11:09am by Donald T Jere
    Donald T Jere
    14,671 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Writing a List Query

    1 Answer

  • olu adesina
    olu adesina
    23,007 Points

    linq query syntax where() and include()

    Posted July 5, 2018 9:06pm by olu adesina
    olu adesina
    23,007 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Filtering a Query

    1 Answer

  • Michael Fazio
    Michael Fazio
    15,586 Points

    Why not passing? Please take a quick look:

    Posted March 27, 2018 5:53pm by Michael Fazio
    Michael Fazio
    15,586 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Sorting a Query

    1 Answer

  • Michael Fazio
    Michael Fazio
    15,586 Points

    Update GetCourses in Repository.cs Help. What am I missing here? Thanks.

    Posted March 26, 2018 8:58pm by Michael Fazio
    Michael Fazio
    15,586 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Sorting a Query

    2 Answers

  • Marcus Stigall
    Marcus Stigall
    13,252 Points

    Im lost

    Posted March 25, 2018 7:52pm by Marcus Stigall
    Marcus Stigall
    13,252 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Filtering a Query

    2 Answers

  • Max Engberg
    PLUS
    Max Engberg
    Courses Plus Student 1,397 Points

    Am I using the using statement correct here?

    Posted December 23, 2017 12:48pm by Max Engberg
    Max Engberg
    Courses Plus Student 1,397 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Writing a List Query

    1 Answer

  • Ruth O'Kelly
    Ruth O'Kelly
    4,944 Points

    Deffered Execution?

    Posted November 19, 2017 12:24am by Ruth O'Kelly
    Ruth O'Kelly
    4,944 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Sorting Queries

    1 Answer

  • Lee Puckett
    Lee Puckett
    12,539 Points

    How do you instantiate instance of the Context class? How do you return results of calling ToList on context's DbSet?

    Posted November 15, 2017 12:58pm by Lee Puckett
    Lee Puckett
    12,539 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Writing a List Query

    1 Answer

  • Travis Dalhoff
    Travis Dalhoff
    21,035 Points

    Hi....I've been stuck on this for awhile. My code is not compiling. Any suggestions? Thanks!

    Posted July 7, 2017 4:26pm by Travis Dalhoff
    Travis Dalhoff
    21,035 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Filtering a Query

    1 Answer

  • Alexander Olson
    Alexander Olson
    13,067 Points

    Writing a Detail Query

    Posted July 6, 2017 8:48pm by Alexander Olson
    Alexander Olson
    13,067 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Writing a Detail Query

    3 Answers

  • Alexander Olson
    Alexander Olson
    13,067 Points

    *[SOLVED]* Help me return the results...

    Posted June 26, 2017 8:44pm by Alexander Olson
    Alexander Olson
    13,067 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Writing a List Query

    1 Answer

  • Larry Singleton
    Larry Singleton
    18,947 Points

    List Queries

    Posted June 22, 2017 8:42am by Larry Singleton
    Larry Singleton
    18,947 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Writing a List Query

    3 Answers

  • Joe Mackey
    Joe Mackey
    20,418 Points

    In Repository.cs update the GetCourses method to sort the list of available courses by the teacher's last name and then

    Posted June 16, 2017 7:33pm by Joe Mackey
    Joe Mackey
    20,418 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Sorting a Query

    1 Answer

  • robert j bowman, jr
    robert j bowman, jr
    25,128 Points

    what am i missing?

    Posted March 27, 2017 7:33pm by robert j bowman, jr
    robert j bowman, jr
    25,128 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Writing a Detail Query

    2 Answers

  • Amy Shah
    Amy Shah
    25,337 Points

    Am I on the right track here

    Posted March 11, 2017 2:59am by Amy Shah
    Amy Shah
    25,337 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Writing a Detail Query

    1 Answer

  • Amy Shah
    Amy Shah
    25,337 Points

    In Repository.cs update the GetCourses method to sort the list of available courses by the teacher's last name and then

    Posted March 10, 2017 10:22pm by Amy Shah
    Amy Shah
    25,337 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Sorting a Query

    2 Answers

  • Amy Shah
    Amy Shah
    25,337 Points

    problems understanding the question

    Posted March 10, 2017 10:13pm by Amy Shah
    Amy Shah
    25,337 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Writing a Detail Query

    4 Answers

  • John Fouts
    John Fouts
    12,234 Points

    Need help understanding where I've gone wrong with this code. Rec. a msg. saying that I may be missing an assembly ref.

    Posted March 9, 2017 4:37am by John Fouts
    John Fouts
    12,234 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Filtering a Query

    2 Answers

  • Daniel Hildreth
    Daniel Hildreth
    16,170 Points

    Writing a LINQ query challenge task 1

    Posted March 2, 2017 9:59pm by Daniel Hildreth
    Daniel Hildreth
    16,170 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Writing a List Query

    1 Answer

  • Alex Hedley
    Alex Hedley
    16,381 Points

    Load Artists for ComicBook

    Posted February 22, 2017 1:23pm by Alex Hedley
    Alex Hedley
    16,381 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Loading Related Entities

    1 Answer

  • Katrin Nitsche
    Katrin Nitsche
    23,462 Points

    In Repository.cs update the GetCourses method to sort the list of available courses by the teacher's last name ...

    Posted December 28, 2016 10:11am by Katrin Nitsche
    Katrin Nitsche
    23,462 Points
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Sorting a Query

    3 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.