//
archives

Software Development

This category contains 3 posts

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

Asp.Net Mvc 3 RC2 No Intellisense for Razor

I recently updated from MVC 3 preview 1 to RC2 and was disappointed when I got no razor intellisense. In case you ran into this problem I had to remove the change I made to the editor for cshtml files (which I did to get some syntax highlighting) Tools -> Options -> Text Editor -> … Continue reading

Linq2Sql isn’t dead ….

I’ve been sluggin it out w/ Entity Framework 4.0 for the past month or so.  I’ve successfully used Linq2Sql in the past and really enjoyed it.  However when Mike Hans and I started this project (Folios.com) we decided to go with EF based on the fact that Linq2Sql seemed to be on it’s way out … Continue reading