The Microsoft.VisualStudio.TeamSystem.Data.UnitTesting namespace provides classes that you can use to create and execute database unit tests. A walkthrough of the database unit testing features is provided in Walkthrough: Creating and Running a Database Unit Test.