public static void TestClassCleanup() { using var conn = new SqlConnection(TestHook.SampleDbConnectionString); conn.Open(); string sqlCommand = TableCommands.DropTable("GuaranteeBankData"); conn.Execute(sqlCommand); }
public static void TestClassCleanup() { using (var conn = new SqlConnection(TestDbConnection.LocalDb.Northwind)) { conn.Open(); string sqlCommand = TableCommands.DropTable(TableNames.Northwind.Customers); conn.Execute(sqlCommand); } }
private static void DropTable() { using (var conn = new SqlConnection(TestHook.SampleDbConnection)) { conn.Open(); var sqlCommand = TableCommands.DropTable("TEST"); conn.Execute(sqlCommand); } }
public static void TestClassCleanup() { using (var conn = new SqlConnection(TestHook.SampleDbConnection)) { conn.Open(); string sqlCommand = TableCommands.DropTable("SchoolInfo"); conn.Execute(sqlCommand); } }