Skip to main content

🛍️ BLACK FRIDAY get-one-give-one sale is underway. Don't miss $50 off PLUS a free subscription to gift a friend. 🤩

🚀 In our NEW AI Bootcamp you'll build a working app in 28 days, no experience required. Free to all subscription levels.

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

  • Treehouse Logo
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
    • All Courses
    • Tracks
    • AI Bootcamp
    • College Credit
    • Techdegree Bootcamps
    • Front End Development
    • Full Stack JavaScript
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
    • Explore
    • Career Toolbox
    • Free Treehouse Near Me
    • Affiliates
    • Blog
    • Support
    • About
    • Learn
    • Beginner's Guide to Coding
    • Data Analysis with SQL & Python
    • Front-End Web Development
    • Python Programming Basics
    • Techdegree Bootcamp Overview
    • UX Design Fundamentals
    • AI Tools for Beginners
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks AI Bootcamp College Credit
  • Techdegree Bootcamps Front End Web Development Full Stack JavaScript
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Explore Career Toolbox Free Treehouse Near Me Affiliates Blog Support About
    Learn Beginner's Guide to Coding Data Analysis with SQL & Python Front-End Web Development Python Programming Basics Techdegree Bootcamp Overview UX Design Fundamentals AI Tools for Beginners
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
Loading banner... Start your free trial at Treehouse
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • 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
      • • Vibe Coding
  • Jon Andreas Grenness
    Jon Andreas Grenness
    5,055 Points

    Error when trying to create a 'stub' course

    Posted December 13, 2021 1:40pm by Jon Andreas Grenness
    Jon Andreas Grenness
    5,055 Points
    • C#
    • Entity Framework Basics
    • CRUD Operations
    • Deleting an Entity

    2 Answers

  • saikiran maddukuri
    saikiran maddukuri
    17,919 Points

    What is the use of Attach?

    Posted September 2, 2019 5:42am by saikiran maddukuri
    saikiran maddukuri
    17,919 Points
    • C#
    • Entity Framework Basics
    • CRUD Operations
    • Updating Entities

    0 Answers

  • Juan Ignacio Scopp
    PLUS
    Juan Ignacio Scopp
    Courses Plus Student 291 Points

    When did the ComicBookLibraryManager method get coded?

    Posted November 17, 2018 12:22pm by Juan Ignacio Scopp
    Juan Ignacio Scopp
    Courses Plus Student 291 Points
    • C#
    • Entity Framework Basics
    • CRUD Operations
    • Creating Entities

    1 Answer

  • Mark Ramos
    Mark Ramos
    19,209 Points

    Errors when loading this project

    Posted September 4, 2018 7:50pm by Mark Ramos
    Mark Ramos
    19,209 Points
    • C#
    • Entity Framework Basics
    • CRUD Operations
    • Creating Entities

    1 Answer

  • jared eiseman
    jared eiseman
    29,023 Points

    Not sure I understand what's going on here...

    Posted July 12, 2018 11:47pm by jared eiseman
    jared eiseman
    29,023 Points
    • C#
    • Entity Framework Basics
    • CRUD Operations
    • Updating an Entity

    1 Answer

  • olu adesina
    olu adesina
    23,007 Points

    Attach() in ENTITY FRAMEWORK

    Posted July 12, 2018 3:42pm by olu adesina
    olu adesina
    23,007 Points
    • C#
    • Entity Framework Basics
    • CRUD Operations
    • Updating Entities

    1 Answer

  • Robert Patterson
    Robert Patterson
    2,915 Points

    using the 'Attach' method keeps throwing error: System.InvalidOperationException HResult = 0x80131509

    Posted May 1, 2018 4:29am by Robert Patterson
    Robert Patterson
    2,915 Points
    • C#
    • Entity Framework Basics
    • CRUD Operations
    • Updating Entities

    0 Answers

  • Hakim Rachidi
    Hakim Rachidi
    38,491 Points

    When is an entity tracked by the context?

    Posted April 3, 2018 10:25am by Hakim Rachidi
    Hakim Rachidi
    38,491 Points
    • C#
    • Entity Framework Basics
    • CRUD Operations
    • Updating Entities

    1 Answer

  • Lee Puckett
    Lee Puckett
    12,539 Points

    Any tips for this challenge - Updating Entities - appreciated.

    Posted November 15, 2017 5:21pm by Lee Puckett
    Lee Puckett
    12,539 Points
    • C#
    • Entity Framework Basics
    • CRUD Operations
    • Updating an Entity

    4 Answers

  • Larry Singleton
    Larry Singleton
    18,947 Points

    Entity Framework

    Posted July 8, 2017 8:44am by Larry Singleton
    Larry Singleton
    18,947 Points
    • C#
    • Entity Framework Basics
    • CRUD Operations
    • Deleting an Entity

    4 Answers

  • Alexander Olson
    Alexander Olson
    13,067 Points

    Deleting an Entity:

    Posted July 6, 2017 11:20pm by Alexander Olson
    Alexander Olson
    13,067 Points
    • C#
    • Entity Framework Basics
    • CRUD Operations
    • Deleting an Entity

    2 Answers

  • Adam Urteaga
    Adam Urteaga
    19,503 Points

    'GetContext' doesn't exist?

    Posted June 14, 2017 6:05pm by Adam Urteaga
    Adam Urteaga
    19,503 Points
    • C#
    • Entity Framework Basics
    • CRUD Operations
    • Deleting an Entity

    1 Answer

  • Rodi Kubaizi
    Rodi Kubaizi
    1,439 Points

    what do you mean by disconnected entity ?

    Posted June 7, 2017 6:44pm by Rodi Kubaizi
    Rodi Kubaizi
    1,439 Points
    • C#
    • Entity Framework Basics
    • CRUD Operations
    • Section Review

    1 Answer

  • Joe Mackey
    Joe Mackey
    20,418 Points

    In Repository.cs update the AddCourse method to add a course to the context. Instantiate an instance of the

    Posted June 4, 2017 3:37pm by Joe Mackey
    Joe Mackey
    20,418 Points
    • C#
    • Entity Framework Basics
    • CRUD Operations
    • Creating an Entity

    5 Answers

  • Amy Shah
    Amy Shah
    25,337 Points

    very close possibly

    Posted March 11, 2017 4:14pm by Amy Shah
    Amy Shah
    25,337 Points
    • C#
    • Entity Framework Basics
    • CRUD Operations
    • Creating an Entity

    1 Answer

  • Amy Shah
    Amy Shah
    25,337 Points

    i might be very close now

    Posted March 11, 2017 4:13pm by Amy Shah
    Amy Shah
    25,337 Points
    • C#
    • Entity Framework Basics
    • CRUD Operations
    • Updating an Entity

    1 Answer

  • Amy Shah
    Amy Shah
    25,337 Points

    compiler says SaveChanges is not recognized

    Posted March 11, 2017 2:38pm by Amy Shah
    Amy Shah
    25,337 Points
    • C#
    • Entity Framework Basics
    • CRUD Operations
    • Creating an Entity

    1 Answer

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

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
SEE ALL

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
SEE ALL

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
SEE ALL

About Us

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

Explore

  • Plans
  • Affiliates
  • Perks
  • Shop
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses

Treehouse is an online technology education platform founded in 2011. Treehouse offers more than 700 self-paced, video-based courses in web development, programming, data analysis, design, and AI, plus two project-based bootcamp programs in Front End Web Development and Full Stack JavaScript. Individual Treehouse plans start at $25 per month and include a 7-day free trial. Treehouse serves individual learners, businesses, schools, and public libraries. Cardholders at participating U.S. public libraries can use Treehouse for free. Select Treehouse courses, offered with University Pathways International, are recommended for college credit by ACE and NCCRS. Treehouse learners earn digital certificates for completed Tracks.

Terms & Conditions · Privacy · © 2026 Treehouse Island, Inc.
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
  • Discord