Tags » Entity Framework

Unable to update the EntitySet because it has a DefiningQuery

Problem:

Getting following .Net exception message when trying to insert record in SQL server database table using Entity Framework:

Unable to update the EntitySet ‘ 57 more words

.Net

Migration from Entity Framework into Dapper

Migration from Entity Framework into Dapper.NET in a medium code base is not an easy task. It requires a lot of courage, effort and time and a few resistance within the team. 2,186 more words

C#

Customize EF Core Scaffolding with Handlebars Templates

With the release of Entity Framework Core 2.1 we finally have a version of EF Core that is ready for prime time.  EF Core is a… 585 more words

Technical

Troubleshoot Add-Migration Error: Migrations are Pending

Problem:

When I try to do an “add-migration”, I get the following error:

Unable to generate an explicit migration because the following explicit migrations are pending: … 137 more words

.NET

Deleting related entities with entity framework

Entity framework has some features and peculiarities that are useful in a lot of situations and with they can help us to do some operations in very smart and efficient mode. 685 more words

C#

SQL Server Spatial Types and nUnit

I was recently working on a .NET 4.6 based project that was using EF 6 and nUnit for unit testing. While setting up some integration tests against a local SQL database I was receiving this error: 412 more words

Development

Immutable Models in MVVM


Source: flickr/ Jeff Attaway

MVVM

The first M stands for Model – an implementation of the application’s domain model that includes a data model along with business and validation logic. 720 more words

.NET