- November 2011 (6)
- October 2011 (3)
- July 2011 (1)
- February 2011 (3)
- January 2011 (2)
- November 2010 (1)
- October 2010 (1)
- September 2010 (1)
- August 2010 (1)
- July 2010 (1)
- June 2010 (1)
- April 2010 (1)
- February 2010 (4)
- January 2010 (2)
Monthly Archives: February 2010
Cryptic Entity Framework exception when a table is missing a primary key
Unable to update the EntitySet ‘PlanPriceHistory’ because it has a DefiningQuery and no <InsertFunction> element exists in the <ModificationFunctionMapping> element to support the current operation. While I was getting my feet wet in Entity Framework 4 (from the Visual Studio … Continue reading
Focus on the what, not the how
I saw the following question asked earlier today — the only context given was the code itself. Can anyone tell me what’s wrong with this: Dim min As Integer = Integer.Parse(leavingTimeTextBox.Text.Substring(leavingTimeTextBox.Text.IndexOf(“:”) + 1, leavingTimeTextBox.Text.Length) -1 )? it shows me an … Continue reading
EF4 EDMX does not suppress Code Analysis warnings
Starting a new project opens the doors for some great things. One of those things for me, was adherence to code analysis from the get-go. Visual Studio 2010 in particular has great Code Analysis Rule Set support allowing teams to … Continue reading
Much better File In Use dialog in Windows 7
A very welcomed addition to the all-too-common File In Use dialog when trying to delete a file that a process has locked. As you can see from the screenshot, the dialog in Windows 7 finally tells the user exactly which … Continue reading