It bugs me when developers check in files to TFS that haven’t been modified. It’s easy to do, you open a file, edit it, change your mind and ctrl-z it. Now you have a checked out file with no changes and when you do your next check in you’ll probably check that file in too, unless you’re really on the ball and compare each file manually first. TFS makes no distinction between checked in files that were modified and those that weren’t, which makes the job of reviewing code that much harder. Read the rest of this entry »
March 29th, 2012
Scenario: You’ve been working on your code from Team Foundation Server (TFS), made changes then realised you should really have started a branch for it.
I couldn’t find a good tutorial anywhere for doing this so here’s how I stumbled through it. Read the rest of this entry »
September 6th, 2011
I’m using Entity Framework 4.1 Code First Fluent API.
The problem. I have an Entity Framework model being used in the business layer called Patient, it has a collection of dependent entities called Responses, when a response needs to be deleted I simply remove it from the collection and expect that it’ll get deleted from the database. It doesn’t. Read the rest of this entry »

