Tags » Entity Framework

EF DbContext constantly changed: "The model backing the 'DbContext' context has changed since the database was created."

While working on a project I experienced the following error: 


InvalidOperationException was unhandled by user code

An exception of type ‘System.InvalidOperationException’ occurred in EntityFramework.dll but was not handled in user code…

172 more words

Northwind database: small and useful... what's not to like?

Get it here:

The executable sql script looks promising…

 For whatever reason, the encoding on my file was wierd. I recommend opening the file in NotePad++, copy that content and then paste it into SSMS. 52 more words

Lesson learned from being lazy about researching Lazy Loading

After working with Entity Framework and hearing the term “Lazy Load” about a hundred times, today I finally go around to actually learning exactly what it means.   134 more words


Save Object with a reference via Entity Framwork into a Database

This post assumes you have already worked a little bit with Entity Framework and you know how to save objects into a database read them and how to update the database. 305 more words


Single Page Application (SPA) using AngularJS and WebAPI - Architecture

The goal of this post is to clarify an architecture of a single page application using the following technologies:

Entity Framework

Entity Framework

Entity Framework Overview

.NET Framework 4

The Entity Framework is a set of technologies in ADO.NET that support the development of data-oriented software applications. Architects and developers of data-oriented applications have struggled with the need to achieve two very different objectives. 1,541 more words

Entity Framework