Bite my bytes

What I learn by day I blog at night - A blog from Microsoft Consultant working from Ljubljana, Slovenia

  Home :: Contact :: Syndication  
  999 Posts :: 7691 Comments :: 235 Trackbacks

Search

Most popular posts

Categories

My Projects

Archives

Stuff


Copyright © by David Vidmar
 
Contact me!
 
LinkedIn Profile
 
 
 

What you'll need:

Write a public method that will read your data, something that you will call from web service or other facade… Something along following lines:

public DataSet ReadSomeData(FilterOfSomeKind filter)

DON'T write unit test for this method! Just run test using TestDriven.NET. If your SQL is valid the test will succeed otherwise it will fail… And if your method survives the fact hat filter is null, of course.

It’s not thorough, but for simple check if you even got SQL syntax right, this is pure gold. Simple, ey?

Posted on Wednesday, December 27, 2006 11:11 PM | Filed under: Developement |

Feedback

# working with 'WWW' keys 1/26/2007 6:04 PM luka
at any chance, could be a version working also with that special keys? i would like my 'WWW' key to become e.g. volu-up key.


thanks!

Comments have been closed on this topic.