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

🤑 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

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

  • 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
    • Showing results for:
    • C#
    • Entity Framework Basics
    • LINQ Queries
    • Close
  • 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 on Dec 13, 2021 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 on Nov 28, 2019 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 on Sep 9, 2019 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 on Aug 1, 2019 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 on May 8, 2019 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 on Aug 31, 2018 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 on Jul 5, 2018 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 on Mar 27, 2018 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 on Mar 26, 2018 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 on Mar 25, 2018 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 on Dec 23, 2017 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 on Nov 19, 2017 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 on Nov 15, 2017 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 on Jul 7, 2017 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 on Jul 6, 2017 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 on Jun 26, 2017 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 on Jun 22, 2017 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 on Jun 16, 2017 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 on Mar 27, 2017 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 on Mar 11, 2017 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 on Mar 10, 2017 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 on Mar 10, 2017 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 on Mar 9, 2017 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 on Mar 2, 2017 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 on Feb 22, 2017 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 on Dec 28, 2016 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.