Latest Post

Entity Framework with no Primary Key: Shame on you!

if you run into the following error using Entity Framework: Unable to update the EntitySet because it has a DefiningQuery and no <UpdateFunction> element exists in the <ModificationFunctionMapping> element to support the current operation It’s likely because you haven’t set a primary key in your database and/or edmx Sometimes I feel tables (join tables) don’t … Continue reading