コード例 #1
0
 public void DropTableTest_name()
 {
     SQLBuilder builder = new SQLBuilder(null, "", "nameTable", "");
     Assert.AreEqual("", builder.Build());
     builder.DropTable();
     Assert.AreEqual("If Exists(Select object_id From sys.tables Where name = 'nameTable') Drop Table nameTable;\n", builder.Build());
 }