Geeks With Blogs
My Blog geek yapping .net
My cool code snippet
I submitted this to the Resharper cool code snippet competition and thought I would share it with everyone else, including why it’s cool! [Test] public void $METHOD$_$SCENARIO$_$EXPECT... { $END$ } I’ve been doing a lot of TDD lately and I am constantly writing new tests. So my number one snippet is one that creates a simple test. I’ve tweaked this template a lot, it started out with a simple test template with only one editable occurance for a name. In “The Art of Unit Testing,” Roy Osherove ......

Posted On Friday, August 21, 2009 11:06 PM

Ling2Sql custom mapping gotcha with entity base class
If you are doing custom Linq to Sql mappings, it currently doesn’t support having your own base Entity class that you extend all your entities from. I found out the hard way through painful debugging. However, it seems if you do this with the version of .net 3.5 sp1 on the Win 7 RC it will work, so this may not be a bug forever!

Posted On Tuesday, August 4, 2009 12:58 PM

Copyright © Wes McClure | Powered by: GeeksWithBlogs.net | Join free