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
  • Julien Bonin
    Julien Bonin
    3,891 Points

    How do I change my database connection from 'LocalDB' to 'localhost'? I'm unable to run this tutorial on my Mac.

    Posted January 25, 2021 4:39pm by Julien Bonin
    Julien Bonin
    3,891 Points
    • C#
    • Entity Framework Basics
    • Introducing Entity Framework
    • What is Entity Framework?

    0 Answers

  • saikiran maddukuri
    saikiran maddukuri
    17,919 Points

    ComicBookGalleryModel.ComicBook: : EntityType 'ComicBook' has no key defined. Defi

    Posted August 24, 2019 10:28am by saikiran maddukuri
    saikiran maddukuri
    17,919 Points
    • C#
    • Entity Framework Basics
    • Introducing Entity Framework
    • Using the Context

    0 Answers

  • Ar33ss Leon
    Ar33ss Leon
    4,621 Points

    Is it a good practice to modify generated code from Database first?

    Posted June 16, 2019 11:58pm by Ar33ss Leon
    Ar33ss Leon
    4,621 Points
    • C#
    • Entity Framework Basics
    • Introducing Entity Framework
    • Adding Our First Entity Using the Code First Workflow

    1 Answer

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

    Where is the database?

    Posted May 4, 2019 6:43pm by kevin hudson
    kevin hudson
    Courses Plus Student 11,987 Points
    • C#
    • Entity Framework Basics
    • Introducing Entity Framework
    • Using the Context

    0 Answers

  • Andre Martins
    Andre Martins
    1,629 Points

    VS not recognizing a DbContext and not displaying the "using System.Data.Entity;" option, neither recognizing it if typd

    Posted September 27, 2018 2:26pm by Andre Martins
    Andre Martins
    1,629 Points
    • C#
    • Entity Framework Basics
    • Introducing Entity Framework
    • Adding Our Context

    1 Answer

  • Roger Sullivan
    Roger Sullivan
    10,992 Points

    Server is in single user mode. Only one administrator can connect at this time

    Posted September 11, 2018 5:43pm by Roger Sullivan
    Roger Sullivan
    10,992 Points
    • C#
    • Entity Framework Basics
    • Introducing Entity Framework
    • Using the Context

    0 Answers

  • Cecilia Benítez
    Cecilia Benítez
    1,396 Points

    Please fill in the correct answer in each blank provided below.

    Posted July 18, 2018 1:36pm by Cecilia Benítez
    Cecilia Benítez
    1,396 Points
    • C#
    • Entity Framework Basics
    • Introducing Entity Framework
    • Section Review

    2 Answers

  • odalis garcia
    odalis garcia
    21,311 Points

    I am stuck like a duck. Please help

    Posted June 30, 2018 12:55pm by odalis garcia
    odalis garcia
    21,311 Points
    • C#
    • Entity Framework Basics
    • Introducing Entity Framework
    • Adding a Context

    1 Answer

  • Jose Perez
    Jose Perez
    1,338 Points

    Help please where did you get DatabaseFirstTestDB when selecting database name?

    Posted December 16, 2017 7:01am by Jose Perez
    Jose Perez
    1,338 Points
    • C#
    • Entity Framework Basics
    • Introducing Entity Framework
    • Workflows: Database First

    1 Answer

  • Shawn McCall
    Shawn McCall
    7,863 Points

    Add method not working properly?

    Posted October 18, 2017 4:41pm by Shawn McCall
    Shawn McCall
    7,863 Points
    • C#
    • Entity Framework Basics
    • Introducing Entity Framework
    • Using the Context

    1 Answer

  • Andras Somodi
    Andras Somodi
    9,230 Points

    An unhandled exception of type 'System.NotSupportedException' occurred in EntityFramework.dll

    Posted May 25, 2017 9:38am by Andras Somodi
    Andras Somodi
    9,230 Points
    • C#
    • Entity Framework Basics
    • Introducing Entity Framework
    • Using the Context

    1 Answer

  • matthewgaikema
    matthewgaikema
    6,059 Points

    Monodevelop support

    Posted May 1, 2017 7:16pm by matthewgaikema
    matthewgaikema
    6,059 Points
    • C#
    • Entity Framework Basics
    • Introducing Entity Framework
    • Workflows: Model First

    0 Answers

  • Ezequiel Hurt
    Ezequiel Hurt
    8,061 Points

    SQL Unhandled Exception

    Posted April 26, 2017 1:20pm by Ezequiel Hurt
    Ezequiel Hurt
    8,061 Points
    • C#
    • Entity Framework Basics
    • Introducing Entity Framework
    • Using the Context

    2 Answers

  • Anders Lund
    Anders Lund
    4,155 Points

    Did he connect the context to the older comicBook project?

    Posted March 18, 2017 7:59pm by Anders Lund
    Anders Lund
    4,155 Points
    • C#
    • Entity Framework Basics
    • Introducing Entity Framework
    • Using the Context

    3 Answers

  • Akshay Shenvi
    Akshay Shenvi
    1,052 Points

    define classs error

    Posted January 10, 2017 2:58pm by Akshay Shenvi
    Akshay Shenvi
    1,052 Points
    • C#
    • Entity Framework Basics
    • Introducing Entity Framework
    • Adding 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