The need to test a program that accesses and manipulates a back-end SQL Server database is very common. In many such cases, the application interacts with the back-end data through the use of SQL stored procedures.

In the April 2008 issue of MSDN Magazine, James McCaffrey shows you how to simplify SQL stored procedures test automation using LINQ—specifically, using the LINQ to SQL provider.

Don't forget to browse the sample code in our online code library.

For more articles on testing, be sure to check out our MSDN Magazine archives.