Example #1
0
 private void DropTable(IDataBaseConnector connector, string dataName)
 {
     if (
         MessageBox.Show(
             "确定对数据表" + dataName + "执行删除操作吗?", "警告信息", MessageBoxButton.YesNo) ==
         MessageBoxResult.Yes)
     {
         connector.DropTable(dataName);
         connector.RefreshTableNames();
     }
 }
Example #2
0
 private void DropTable(IDataBaseConnector connector, string dataName)
 {
     if (
         MessageBox.Show(
             GlobalHelper.Get("key_257") + dataName + GlobalHelper.Get("key_258"), GlobalHelper.Get("key_151"),
             MessageBoxButton.YesNo) ==
         MessageBoxResult.Yes)
     {
         connector.DropTable(dataName);
         connector.RefreshTableNames();
     }
 }
Example #3
0
 private void DropTable(IDataBaseConnector connector, string dataName)
 {
     if (
         MessageBox.Show(
             "确定对数据表" + dataName + "执行删除操作吗?", "警告信息", MessageBoxButton.YesNo) ==
         MessageBoxResult.Yes)
     {
         connector.DropTable(dataName);
         connector.RefreshTableNames();
     }
 }