CodeProject: Check Validity of Sql Server Stored Procedures/Views/Functions (updated). Free source code and programming help: "Check Validity of Sql Server Stored Procedures/Views/Functions (updated)"
public class DatabaseValidation
{
[Test]
public void CheckForDatabaseCompilationProblems()
{
Assert.IsTrue(
DatabaseValidator.Validator.DatabaseIsValid(
ConfigurationManager.ConnectionStrings[MyConnectionString].ConnectionString,
DatabaseValidator.Verbosity.Normal),
"Invalid objects found in the database - Run SqlValidator");
}
}
www.svdeals.com
No comments:
Post a Comment