✨ 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
    • CRUD Operations
    • Close
  • Jon Andreas Grenness
    Jon Andreas Grenness
    5,055 Points

    Error when trying to create a 'stub' course

    Posted on Dec 13, 2021 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 on Sep 2, 2019 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 on Nov 17, 2018 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 on Sep 4, 2018 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 on Jul 12, 2018 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 on Jul 12, 2018 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 on May 1, 2018 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 on Apr 3, 2018 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 on Nov 15, 2017 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 on Jul 8, 2017 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 on Jul 6, 2017 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 on Jun 14, 2017 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 on Jun 7, 2017 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 on Jun 4, 2017 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 on Mar 11, 2017 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 on Mar 11, 2017 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 on Mar 11, 2017 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.

    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.