Exemplo n.º 1
0
 public void Setup(InvalidSQLException exception, bool allowSkip)
 {
     UpgradeInstaller.LogError(exception.InnerException, "[ERROR]\r\n" + "FileName: '" + ((InvalidSQLException)exception).FileName + "'\r\n" + exception.SQL);
     txtError.Text   = "FileName: '" + exception.FileName + "'\r\n" + exception.InnerException.ToString();
     txtSql.Text     = exception.SQL;
     cmdSkip.Visible = allowSkip;
 }
Exemplo n.º 2
0
 public void Setup(InvalidSQLException exception)
 {
     txtError.Text = exception.InnerException.ToString();
     txtSql.Text   = exception.SQL;
 }